1
0
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:
Tymoteusz Czech 2024-12-12 13:43:01 +01:00 committed by GitHub
parent bdfccc534a
commit de7b95a691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ on:
- main
paths:
- 'src/migrations/**'
- 'frontend/cypress/**'
- '.github/workflows/validate-migrations.yaml'
- 'test-migrations/**'
- 'frontend/cypress'

View File

@ -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(