Skip to content

Commit

Permalink
fix: e2e cypress create flag delay (#8968)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymek authored Dec 12, 2024
1 parent bdfccc5 commit de7b95a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/validate-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
paths:
- 'src/migrations/**'
- 'frontend/cypress/**'
- '.github/workflows/validate-migrations.yaml'
- 'test-migrations/**'
- 'frontend/cypress'
Expand Down
2 changes: 2 additions & 0 deletions frontend/cypress/support/UI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit de7b95a

Please sign in to comment.