Skip to content

Commit

Permalink
fix: import test wait should be between import and page load (#5811)
Browse files Browse the repository at this point in the history
the wait was after fetching the feature page, should be before probably.
  • Loading branch information
gardleopard committed Jan 9, 2024
1 parent 24b202e commit 03f5e0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/integration/import/import.spec.ts
Expand Up @@ -113,10 +113,10 @@ describe('imports', () => {
cy.get("[data-testid='IMPORT_CONFIGURATION_BUTTON']").click();
// cy.contains('Import completed');

cy.visit(`/projects/default/features/${randomFeatureName}`);

cy.wait(500);

cy.visit(`/projects/default/features/${randomFeatureName}`);

cy.get(
"[data-testid='feature-toggle-status'] input[type='checkbox']:checked",
)
Expand Down

0 comments on commit 03f5e0e

Please sign in to comment.