test(editor): Improve e2e pipeline performance & fix flaky tests (no-changelog) (#5672)

* Split up canvas spec, extract community nodes related tests into its own spec, various flakiness fixes

* Remove unnecessary cy.waitForLoad from 7-workflow-actiosn spec
This commit is contained in:
OlegIvaniv
2023-03-10 16:54:54 +01:00
committed by GitHub
parent 3831201aaf
commit 5c4343b828
11 changed files with 295 additions and 264 deletions

View File

@@ -53,6 +53,10 @@ Cypress.Commands.add(
);
Cypress.Commands.add('waitForLoad', () => {
// These aliases are set-up before each test in cypress/support/e2e.ts
// we can't set them up here because at this point it would be too late
// and the requests would already have been made
cy.wait(['@loadSettings', '@loadLogin'])
cy.getByTestId('node-view-loader', { timeout: 20000 }).should('not.exist');
cy.get('.el-loading-mask', { timeout: 20000 }).should('not.exist');
});