Playwright e2e test e2e/preferences.spec.ts:112 › switchable features › switching fetch_sensitive from off saves state in a cookie
is flaky
#5001
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟥 priority: critical
Must be addressed ASAP
🧱 stack: frontend
Related to the Nuxt frontend
Failed CI run: https://github.com/WordPress/openverse/actions/runs/11064395080/job/30742174454
trace.zip
I don't fully understand why this test fails. In the trace, you can see that the switch was clicked, but the input still has
checked
attribute, even after the check for.not.toBeChecked
is successful.For future reference, here's Playwright code for the
checked
attribute: https://github.com/dgozman/playwright/blob/main/packages/playwright-core/src/server/injected/injectedScript.tsThe text was updated successfully, but these errors were encountered: