1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/cypress/support
Nuno Góis eb01b44e69
test: skip vercel toolbar in e2e tests (#8273)
Some e2e Cypress tests were failing due to the Vercel live feedback
toolbar covering interactive elements, preventing test actions from
completing:
https://github.com/Unleash/unleash/actions/runs/11048512034/job/30692949711#step:4:136

This PR addresses the issue by disabling the Vercel toolbar specifically
during Cypress tests. This is done by setting the
`x-vercel-skip-toolbar` header, which Vercel provides to prevent the
toolbar from interfering with automated tests. You can find more
information about this feature in the Vercel documentation: [Disable
Toolbar for
Automation](https://vercel.com/docs/workflow-collaboration/vercel-toolbar/managing-toolbar#disable-toolbar-for-automation).

Specific type declarations were needed due to
https://github.com/cypress-io/cypress/issues/19564
2024-09-26 12:53:31 +01:00
..
API.ts chore: test migration backward compatibility (#5492) 2023-11-30 18:20:13 +01:00
commands.ts test: skip vercel toolbar in e2e tests (#8273) 2024-09-26 12:53:31 +01:00
e2e.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
index.ts chore: refactor Cypress tests (#3445) 2023-04-04 11:46:28 +03:00
UI.ts [Gitar] Cleaning up stale flag: improveCreateFlagFlow with value true (#7895) 2024-08-15 15:53:36 +03:00