Skip to content

Commit

Permalink
Update signup.cy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield committed Mar 26, 2024
1 parent 3a35483 commit 57f109e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/signup.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ describe('Signup', () => {
// we get the expected error that no social session exists.
cy.visit('/logout')
cy.location('pathname').should('include', '/login')
cy.visit('/organization/confirm-creation?organization_name=&name=Test&email=test%40posthog.com')
cy.visit('/organization/confirm-creation?organization_name=&first_name=Test&email=test%40posthog.com')

cy.get('[name=email]').should('have.value', 'test@posthog.com')
cy.get('[name=name]').should('have.value', 'Test')
cy.get('[name=first_name]').should('have.value', 'Test')
cy.get('[name=organization_name]').type('Hogflix SpinOff').should('have.value', 'Hogflix SpinOff')
cy.get('[data-attr=signup-role-at-organization]').click()
cy.get('.Popover li:first-child').click()
Expand Down

0 comments on commit 57f109e

Please sign in to comment.