mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +00:00
test(e2e): wait before select org (#8403)
# Which Problems Are Solved The e2e tests fail because the organization selection is too fast. # How the Problems Are Solved Wait until console has loaded properly. # Additional Context - The tests still use the wrong browser, #8404 describes the problem - closes https://github.com/zitadel/zitadel/issues/8378
This commit is contained in:
parent
a91e344a62
commit
5adebd552f
@ -25,8 +25,9 @@ describe('organizations', () => {
|
|||||||
|
|
||||||
it('should delete an org', () => {
|
it('should delete an org', () => {
|
||||||
cy.visit(orgsPath);
|
cy.visit(orgsPath);
|
||||||
|
cy.wait(2000);
|
||||||
cy.contains('tr', newOrg).click();
|
cy.contains('tr', newOrg).click();
|
||||||
cy.wait(3000);
|
cy.wait(1000);
|
||||||
cy.get('[data-e2e="actions"]').click();
|
cy.get('[data-e2e="actions"]').click();
|
||||||
cy.get('[data-e2e="delete"]', { timeout: 1000 }).should('be.visible').click();
|
cy.get('[data-e2e="delete"]', { timeout: 1000 }).should('be.visible').click();
|
||||||
cy.get('[data-e2e="confirm-dialog-input"]').focus().clear().type(newOrg);
|
cy.get('[data-e2e="confirm-dialog-input"]').focus().clear().type(newOrg);
|
||||||
|
Loading…
Reference in New Issue
Block a user