mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: import test wait should be between import and page load (#5811)
the wait was after fetching the feature page, should be before probably.
This commit is contained in:
parent
24b202ef0b
commit
03f5e0eb7e
@ -113,10 +113,10 @@ describe('imports', () => {
|
|||||||
cy.get("[data-testid='IMPORT_CONFIGURATION_BUTTON']").click();
|
cy.get("[data-testid='IMPORT_CONFIGURATION_BUTTON']").click();
|
||||||
// cy.contains('Import completed');
|
// cy.contains('Import completed');
|
||||||
|
|
||||||
cy.visit(`/projects/default/features/${randomFeatureName}`);
|
|
||||||
|
|
||||||
cy.wait(500);
|
cy.wait(500);
|
||||||
|
|
||||||
|
cy.visit(`/projects/default/features/${randomFeatureName}`);
|
||||||
|
|
||||||
cy.get(
|
cy.get(
|
||||||
"[data-testid='feature-toggle-status'] input[type='checkbox']:checked",
|
"[data-testid='feature-toggle-status'] input[type='checkbox']:checked",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user