Skip to content

Commit

Permalink
Remove the word "All" in the navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Feb 14, 2024
1 parent aaf0406 commit 5754107
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def alert_class(name)
def admin_nav_links
{
"Dashboard": dashboard_path,
"All Schools": schools_path,
"All Teachers": teachers_path,
"Schools": schools_path,
"Teachers": teachers_path,
"Email Templates": email_templates_path
}
end
Expand Down
14 changes: 7 additions & 7 deletions features/admin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Scenario: Logging out as an admin
Then I should see "Request Access to BJC Teacher Materials"
Then I should see "Log In"

Scenario: Viewing all teachers as an admin
Scenario: Viewing Teachers as an admin
Given I am on the BJC home page
Given I have an admin email
And I follow "Log In"
Expand Down Expand Up @@ -216,7 +216,7 @@ Scenario: Should be able to resend welcome email
And I follow "Log In"
Then I can log in with Google
And I should see "BJC Teacher Dashboard"
Given I follow "All Teachers"
Given I follow "Teachers"
Then I should see "BJC Teachers"
And I press "New Teacher"
Then I should see "Request Access to BJC Teacher Materials"
Expand All @@ -227,7 +227,7 @@ Scenario: Should be able to resend welcome email
And I follow "Log In"
Then I can log in with Google
And I should see "BJC Teacher Dashboard"
Given I follow "All Schools"
Given I follow "Schools"
Then I should see "BJC Schools"
And I press "New School"
Then I should see "Add a School"
Expand All @@ -241,7 +241,7 @@ Scenario: Should be able to resend welcome email
# And I follow "Log In"
# Then I can log in with Google
# And I should see "BJC Teacher Dashboard"
# Given I follow "All Teachers"
# Given I follow "Teachers"
# And I uncheck "Validated"
# And I press "Upload CSV"
# Then The "#hidden_file_select_input" form is invalid
Expand All @@ -253,9 +253,9 @@ Scenario: Should be able to resend welcome email
# Then I should see "Successfully created/updated 2 teachers"
# Then I should see "1 schools has been created"
# Then I should see "2 teachers has failed with following emails: [ [email protected] ] [ [email protected] ]"
# Then I follow "All Schools"
# Then I follow "Schools"
# Then I should see "uci"
# Then I follow "All Teachers"
# Then I follow "Teachers"
# Then I attach the csv "features/test_utils/test_teacher_second.csv"
# Then I should see "anke sha"
# Then I should see "Steve He"
Expand All @@ -271,7 +271,7 @@ Scenario: Should be able to resend welcome email
# And I follow "Log In"
# Then I can log in with Google
# And I should see "BJC Teacher Dashboard"
# Given I follow "All Teachers"
# Given I follow "Teachers"
# And I uncheck "Validated"
# And I press "Upload CSV"
# Then The "#hidden_file_select_input" form is invalid
Expand Down

0 comments on commit 5754107

Please sign in to comment.