mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: e2e cypress create flag delay (#8968)
This commit is contained in:
parent
bdfccc534a
commit
de7b95a691
1
.github/workflows/validate-migrations.yaml
vendored
1
.github/workflows/validate-migrations.yaml
vendored
@ -6,6 +6,7 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- 'src/migrations/**'
|
||||
- 'frontend/cypress/**'
|
||||
- '.github/workflows/validate-migrations.yaml'
|
||||
- 'test-migrations/**'
|
||||
- 'frontend/cypress'
|
||||
|
@ -58,6 +58,8 @@ export const createFeature_UI = (
|
||||
const uiOpts = forceInteractions ? { force: true } : undefined;
|
||||
cy.visit(`/projects/${projectName}`);
|
||||
|
||||
cy.wait(5_000);
|
||||
|
||||
cy.get('[data-testid=NAVIGATE_TO_CREATE_FEATURE').click(uiOpts);
|
||||
|
||||
cy.intercept('POST', `/api/admin/projects/${projectName}/features`).as(
|
||||
|
Loading…
Reference in New Issue
Block a user