Matt Gibson
b7c75104eb
Document public methods
2026-01-27 14:57:05 -08:00
Matt Gibson
e1d4260f2a
return incorrect not-null assertion
2026-01-27 14:57:05 -08:00
Matt Gibson
4bf306f83a
Minor fixes
2026-01-27 14:57:05 -08:00
Matt Gibson
212917b545
improve README for playwright-helpers
2026-01-27 14:57:05 -08:00
Matt Gibson
caba71f79e
Avoid use of any type
2026-01-27 14:57:05 -08:00
Matt Gibson
b87597fd60
Use playId set for worker
2026-01-27 13:47:45 -08:00
Matt Gibson
16baf86269
Remove old documented params
2026-01-27 12:52:01 -08:00
Matt Gibson
13975354b6
update SingleUserScene to accept results from bitwarden/server#6909
2026-01-27 12:48:23 -08:00
Matt Gibson
625be790ef
Fix hardcoded password in fixture
2026-01-27 10:32:17 -08:00
Matt Gibson
fc3d09e9eb
Allow specifying a page throughout the auth fixture
2026-01-27 08:04:54 -08:00
Matt Gibson
be5e830ea3
Make sure to await cleanup
2026-01-26 17:06:47 -08:00
Matt Gibson
dd419eabfd
Complete emergency access test
2026-01-26 16:56:26 -08:00
Matt Gibson
ab8d2b05d1
Improve scene type visibility
2026-01-26 16:55:51 -08:00
Matt Gibson
01bd551888
Split example into legitimate login test and a centrally located example
2026-01-26 16:54:51 -08:00
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