Skip to content

Commit

Permalink
test: cypress should not wait for navigation, actions, types - refs #…
Browse files Browse the repository at this point in the history
…259794
  • Loading branch information
ana-oprea committed Nov 23, 2023
1 parent 347f96e commit 188637c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import './commands';
import '@cypress/code-coverage/support';

// Fail Fast
import "cypress-fail-fast";
import 'cypress-fail-fast';

export const slateBeforeEach = (contentType = 'Document') => {
cy.autologin();
Expand All @@ -38,10 +38,10 @@ export const slateBeforeEach = (contentType = 'Document') => {
path: 'cypress',
});
cy.visit('/cypress/my-page');
cy.waitForResourceToLoad('@navigation');
// cy.waitForResourceToLoad('@navigation');
cy.waitForResourceToLoad('@breadcrumbs');
cy.waitForResourceToLoad('@actions');
cy.waitForResourceToLoad('@types');
// cy.waitForResourceToLoad('@actions');
// cy.waitForResourceToLoad('@types');
cy.waitForResourceToLoad('my-page');
cy.navigate('/cypress/my-page/edit');
};
Expand Down

0 comments on commit 188637c

Please sign in to comment.