1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/cypress/integration
Nuno Góis ca5c03ed17
test: fix feature e2e test by checking flag name in a td instead of url (#8863)
https://linear.app/unleash/issue/2-3028/fix-create-feature-flag-e2e-test

Fixes our failing [create feature e2e
test](https://github.com/Unleash/unleash/actions/runs/12027120576/job/33527490303?pr=8843).

We were looking for the feature flag name in the URL, not the DOM.
Previously, whenever we created a new feature flag, this would
automatically redirect us to that flag's page. This is no longer the
case if you use the "Create flag" button you see in the onboarding
header, which is the one the test is now using.

I agree it makes sense not to redirect in this case, but the test should
be adapted accordingly, and instead look for the feature flag name in
the table.
2024-11-26 16:13:30 +00:00
..
demo chore: flag overview page redesign - environments (#8683) 2024-11-08 09:56:46 +00:00
feature test: fix feature e2e test by checking flag name in a td instead of url (#8863) 2024-11-26 16:13:30 +00:00
groups feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
projects feat: rename toggle to flag with db migration (#7118) 2024-05-23 10:17:02 +03:00
segments chore: wait to input the name of the segment when checking for error messages (#7377) 2024-06-12 14:06:44 +02:00