mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 17:43:08 +02:00
fix e2e test
This commit is contained in:
parent
871027fa0c
commit
8e46fade07
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ describe('After setup instance', () => {
|
||||||
cy.get('[data-cy-signup]').click();
|
cy.get('[data-cy-signup]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
||||||
|
cy.get('[data-cy-modal-dialog-ok]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-continue]').click();
|
cy.get('[data-cy-signup-rules-continue]').click();
|
||||||
|
|
||||||
|
@ -78,6 +79,7 @@ describe('After setup instance', () => {
|
||||||
cy.get('[data-cy-signup]').click();
|
cy.get('[data-cy-signup]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
||||||
|
cy.get('[data-cy-modal-dialog-ok]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-continue]').click();
|
cy.get('[data-cy-signup-rules-continue]').click();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue