We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96cdc2 commit 551e39aCopy full SHA for 551e39a
cypress/integration/pages.spec.js
@@ -17,18 +17,8 @@ context("Ory Kratos pages", () => {
17
18
it("can load the registration page", () => {
19
cy.visit("/registration")
20
- cy.get('[name="traits.email"]').type(email)
21
- cy.get('[name="password"]').type(password)
22
- cy.get('[name="method"]').click()
23
- cy.location("pathname").should("eq", "/verification")
24
-
25
- cy.visit("/")
26
- cy.get('[data-testid="logout"]').should(
27
- "have.attr",
28
- "aria-disabled",
29
- "false",
30
- )
31
- cy.get('[data-testid="session-content"]').should("contain.text", email)
+ cy.get('[name="traits.email"]').should("exist")
+ cy.get('[name="method"]').should("exist")
32
})
33
34
it("can load the verification page", () => {
0 commit comments