Skip to content

Commit

Permalink
Cypress: Remember to use admin nav pill second time too
Browse files Browse the repository at this point in the history
  • Loading branch information
heralden committed Dec 13, 2021
1 parent 9ca98a8 commit aa400d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe("Admin Account Test", function(){
cy.contains("A new list has been added!");

cy.visit("/biotestmine/admin");
cy.get(".admin-page .nav").contains('Home').click();
cy.get("@setHomepageNotice").within(() => {
cy.contains("Clear notice").click();
cy.get(".success").should("include.text","Successfully saved changes to notice text.");
Expand Down

0 comments on commit aa400d8

Please sign in to comment.