Skip to content

Commit

Permalink
fix: making cypress assertion more correct for the env
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnalley committed Dec 11, 2024
1 parent 3ed8143 commit 87c0d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/mainPage.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ afterEach(() => {
});

it("loads", () => {
cy.get("h1").contains("Welcome to OPS");
cy.get("h1").contains("This is a non-production OPS environment");
});

it("clicking on /cans nav takes you to CAN page", () => {
Expand All @@ -22,7 +22,7 @@ it("clicking on /cans nav takes you to CAN page", () => {
});

it("clicking on /portfolio nav while unauthenticated, should keep you at home page.", () => {
cy.get("h1").contains("Welcome to OPS");
cy.get("h1").contains("This is a non-production OPS environment");
cy.url().should("include", "/");
});

Expand Down

0 comments on commit 87c0d22

Please sign in to comment.