Skip to content

Commit

Permalink
Temporarily update base path
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgxvii committed Sep 30, 2024
1 parent 76f0baa commit 80f7323
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cypress/integration/pages.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@ context("Ory Kratos pages", () => {
})

it("can load the login page", () => {
cy.visit("/login")
cy.visit("/kratos-ui/login")
cy.get('[name="method"]').should("exist")
})

it("can load the registration page if eligibile", () => {
sessionStorage.setItem("eligible", "")
cy.visit("/registration")
cy.visit("/kratos-ui/registration")
cy.get('[name="traits.email"]').should("exist")
})

it("can load the verification page", () => {
cy.visit("/verification")
cy.visit("/kratos-ui/verification")
cy.get('[name="method"]').should("exist")
})

it("can load the recovery page", () => {
cy.visit("/recovery")
cy.visit("/kratos-ui/recovery")
cy.get('[name="method"]').should("exist")
})

it("can load the welcome page", () => {
cy.visit("/")
cy.visit("/kratos-ui")
cy.get("h2").should("exist")
})
})

0 comments on commit 80f7323

Please sign in to comment.