diff --git a/.github/workflows/validate-migrations.yaml b/.github/workflows/validate-migrations.yaml index b64c7df1a7..3be8b4f3f8 100644 --- a/.github/workflows/validate-migrations.yaml +++ b/.github/workflows/validate-migrations.yaml @@ -6,6 +6,7 @@ on: - main paths: - 'src/migrations/**' + - 'frontend/cypress/**' - '.github/workflows/validate-migrations.yaml' - 'test-migrations/**' - 'frontend/cypress' diff --git a/frontend/cypress/support/UI.ts b/frontend/cypress/support/UI.ts index c8489287d7..160166083f 100644 --- a/frontend/cypress/support/UI.ts +++ b/frontend/cypress/support/UI.ts @@ -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(