mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
test(editor): Fix flaky workflow tags e2e tests and store screenshots from CI runs (#4903)
* test(editor): Fix flaky add tags e2e specs, and upload cypress artifacts on failure * Only run smoke test to debug the pipeline * Add waitForLoad command and revert debugging changes
This commit is contained in:
@@ -50,6 +50,11 @@ Cypress.Commands.add('findChildByTestId', { prevSubject: true }, (subject: Cypre
|
||||
return subject.find(`[data-test-id="${childTestId}"]`);
|
||||
})
|
||||
|
||||
Cypress.Commands.add('waitForLoad', () => {
|
||||
cy.getByTestId('node-view-loader').should('not.exist', { timeout: 10000 });
|
||||
cy.get('.el-loading-mask').should('not.exist', { timeout: 10000 });
|
||||
})
|
||||
|
||||
Cypress.Commands.add(
|
||||
'signin',
|
||||
({ email, password }) => {
|
||||
|
||||
Reference in New Issue
Block a user