Sensitive state is shared between tests #4233
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: frontend
Related to the Nuxt frontend
Description
In the Playwright tests, sometimes tests fetch sensitive data even if no features are set for them. No cookies are set when we do not alter any feature in
preparePageForTests
, so it seems that the tests are reading the cookie from another test.Issue based on the comment
I don't know how, but it seems that the sensitive tests are changing the state for other tests, and make them add
mature=true
to requests. To prevent that, we always setfetch_sensitive
to false if no features are passed here.Originally posted by @obulat in #4222 (comment)
The text was updated successfully, but these errors were encountered: