|
|
@ -41,6 +41,8 @@ describe('User List', () => {
|
|
|
|
cy.get('[data-testid=modal-ok-button').click();
|
|
|
|
cy.get('[data-testid=modal-ok-button').click();
|
|
|
|
|
|
|
|
|
|
|
|
cy.wait('@user');
|
|
|
|
cy.wait('@user');
|
|
|
|
|
|
|
|
// Wait a little longer for the user list to fully re-render
|
|
|
|
|
|
|
|
cy.wait(1000);
|
|
|
|
|
|
|
|
|
|
|
|
cy.get('[data-testid=user-list-row]').contains(testUser.emailAddress);
|
|
|
|
cy.get('[data-testid=user-list-row]').contains(testUser.emailAddress);
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -59,6 +61,7 @@ describe('User List', () => {
|
|
|
|
cy.get('[data-testid=modal-ok-button').should('contain', 'Delete').click();
|
|
|
|
cy.get('[data-testid=modal-ok-button').should('contain', 'Delete').click();
|
|
|
|
|
|
|
|
|
|
|
|
cy.wait('@user');
|
|
|
|
cy.wait('@user');
|
|
|
|
|
|
|
|
cy.wait(1000);
|
|
|
|
|
|
|
|
|
|
|
|
cy.get('[data-testid=user-list-row]')
|
|
|
|
cy.get('[data-testid=user-list-row]')
|
|
|
|
.contains(testUser.emailAddress)
|
|
|
|
.contains(testUser.emailAddress)
|
|
|
|