mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-01 16:38:52 +00:00
test(e2e): improve error reporting (#4931)
* cleanup * test(e2e): improve error reporting * lint * lint * better timeout messages * fix shouldNotExist
This commit is contained in:
@@ -31,12 +31,11 @@ describe('applications', () => {
|
||||
cy.get('[data-e2e="continue-button-redirecturis"]').click();
|
||||
cy.get('[data-e2e="create-button"]').click();
|
||||
cy.get('[id*=overlay]').should('exist');
|
||||
cy.get('.data-e2e-success');
|
||||
cy.shouldConfirmSuccess();
|
||||
const expectClientId = new RegExp(`^.*[0-9]+\\@${testProjectName}.*$`);
|
||||
cy.get('[data-e2e="client-id-copy"]').click();
|
||||
cy.contains('[data-e2e="client-id"]', expectClientId);
|
||||
cy.clipboardMatches(expectClientId);
|
||||
cy.shouldNotExist({ selector: '.data-e2e-failure' });
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user