Merge branch 'test/add-wait-time-for-cypress' into 'master'
Wait a little for Cypress to detect register button See merge request framasoft/mobilizon!272
This commit is contained in:
commit
5f934e3449
|
@ -15,6 +15,7 @@ describe('Login', () => {
|
||||||
cy.url().should('include', '/password-reset/send');
|
cy.url().should('include', '/password-reset/send');
|
||||||
cy.go('back');
|
cy.go('back');
|
||||||
|
|
||||||
|
cy.wait(1000);
|
||||||
cy.get('form').contains('.control a.button', 'Register').click();
|
cy.get('form').contains('.control a.button', 'Register').click();
|
||||||
cy.url().should('include', '/register/user');
|
cy.url().should('include', '/register/user');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue