2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/cypress/e2e/pages/index.cy.ts

15 lines
302 B
TypeScript

describe("Page > /", () => {
beforeEach(() => {
cy.visit("/")
})
it('should redirect the user to signup page when clicking "Get started"', () => {
cy.get("[data-cy=get-started]")
.click()
.location("pathname")
.should("eq", "/authentication/signup")
})
})
export {}