diff --git a/frontend/cypress/integration/import/import.spec.ts b/frontend/cypress/integration/import/import.spec.ts index 03eb40ff9d..48f7e961a7 100644 --- a/frontend/cypress/integration/import/import.spec.ts +++ b/frontend/cypress/integration/import/import.spec.ts @@ -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", )