fix: cypress (#45593)

This commit is contained in:
Tom
2022-04-01 00:07:01 -05:00
committed by GitHub
parent 791b8b527b
commit 156bf3c23f
4 changed files with 47 additions and 13 deletions

View File

@ -61,7 +61,11 @@ Cypress.Commands.add('resetUsername', () => {
cy.contains('Username is available');
cy.get('@usernameInput').type('{enter}', { force: true, release: false });
// temporary fix until https://github.com/cypress-io/cypress/issues/20562 is fixed
cy.contains(`Save`).click();
// revert to this when it is
// cy.get('@usernameInput').type('{enter}', { force: true, release: false });
cy.contains('Account Settings for developmentuser').should('be.visible');
});