1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Matt Gibson
e0d57086a8 Include fetch override in auth fixtures 2025-11-10 18:21:51 -08:00
Matt Gibson
06e6600f6a Use playId to track all creations within a worker.
This simplifies scenes and allows tracking of entities created during tests as well as those set up for tests.

However, we need to override the browser's `fetch` method to accomplish this. I have added a page extension that does this, but it is possible to create pages from browser contexts, contexts from browsers and even browsers from browser names. We simply need to expect imperfect coverage on this header.
2025-11-10 18:10:31 -08:00
Matt Gibson
37201585df Create queries for grabbing data from the server 2025-10-29 17:00:04 -07:00
Matt Gibson
bc9e40dbd0 Rename recipes to scenes and scene templates 2025-10-29 15:04:14 -07:00
Matt Gibson
3059053e35 change auth fixture to create it's own browser context and page.
This is to allow closing of the page, but also to eventually enable multiple, independent, authenticated pages per test
2025-10-11 10:27:17 -07:00
Hinton
2597d41dc0 Add emergency access spec 2025-10-11 10:25:47 -07:00
Matt Gibson
e9559b68b7 mangle state files for multiple workers 2025-10-10 17:05:44 -07:00
Matt Gibson
8be70c5388 Auth fixture for tests
TODO: currently auth files are not mangled, which means that collisions may occur.
2025-10-10 17:00:32 -07:00
Matt Gibson
44756f47c8 fixup authenticate-as 2025-10-10 10:21:05 -07:00
Matt Gibson
1ab383b1ae fixup name change 2025-10-10 10:15:10 -07:00