Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
342b1f6
fix(playwright): refuse a test run twice, and show keploy's skip reason
slayerjain Nov 12, 2026
44541b0
chore(playwright): release 0.1.2
slayerjain Nov 12, 2026
ca9f96a
feat(playwright): seed each test's browser random numbers from keploy
slayerjain Nov 13, 2026
68a880a
fix(playwright): wait for a call a new document makes before its commit
slayerjain Nov 13, 2026
7b8ec1f
feat(playwright): seed the test process's Math.random per test
slayerjain Nov 13, 2026
63c61e7
refactor(playwright): drop an unreachable branch from a document's why
slayerjain Nov 13, 2026
43f3045
test(playwright): count an uncounted frame's peers from one inside it
slayerjain Nov 13, 2026
5e93905
test(playwright): pin a document's stream and replace a junk load count
slayerjain Nov 13, 2026
98e8313
test(playwright): row for a page open before keploy's context fixture
slayerjain Nov 13, 2026
5fa42e0
test(playwright): rows for when a sandboxed frame's line is said
slayerjain Nov 13, 2026
b136e63
test(playwright): row for Error's keys while the test process is seated
slayerjain Nov 13, 2026
47e1bee
test(playwright): rows for a pageless test and a document's one source
slayerjain Nov 13, 2026
970b756
test(playwright): row for newPage waiting on its first document's name
slayerjain Nov 13, 2026
3ea8a29
chore(playwright): build with TypeScript 7, lint with type-aware oxlint
slayerjain Nov 13, 2026
30e8118
test(playwright): rows for the page script wait and a fixed page key
slayerjain Nov 13, 2026
dd9f362
test(playwright): rows for the seeded functions' property flags
slayerjain Nov 13, 2026
f728804
feat(playwright): seed faker's instances in the test process per test
slayerjain Nov 13, 2026
cfd1906
feat(playwright): seedFaker seeds the suite's own faker instances
slayerjain Nov 14, 2026
53b6953
feat(playwright): seed the Web Workers and Shared Workers a page starts
slayerjain Nov 14, 2026
a814569
fix(playwright): answer a Shared Worker's script whole
slayerjain Nov 14, 2026
66131fb
test(playwright): rows for module Shared Workers and the unseen mark
slayerjain Nov 14, 2026
1f285ba
fix(playwright): run a worker's own script at its URL with no mark
slayerjain Nov 14, 2026
3bf5c95
refactor(playwright): read every worker answer's policy for data:
slayerjain Nov 14, 2026
d606bdc
fix(playwright): keep keploy's worker answer off the app's stack
slayerjain Nov 14, 2026
ee27104
fix(playwright): leave keploy's frames out of a worker's Firefox stacks
slayerjain Nov 14, 2026
96d5a73
test(playwright): rows for a taken-over document's worker and a bad URL
slayerjain Nov 14, 2026
7b740d4
fix(playwright): never wait on a Shared Worker's script before close
slayerjain Nov 14, 2026
badc4c4
test(playwright): row for a navigation after a Shared Worker's report
slayerjain Nov 14, 2026
1ed0f28
fix(playwright): keep the seeding's frames off a worker's thrown errors
slayerjain Nov 14, 2026
7b83214
fix(playwright): answer only a worker's script load with its seeding
slayerjain Nov 14, 2026
55f1b9c
fix(playwright): keep keploy's mark off a seeded worker's fetch
slayerjain Nov 14, 2026
6a1ccc0
fix(playwright): keep keploy's worker route ahead of the test's own
slayerjain Nov 14, 2026
beb079b
test(playwright): keploy routes return after the context unrouteAll
slayerjain Nov 14, 2026
c02cbff
test(playwright): the faker line is said once for each reason
slayerjain Nov 14, 2026
f27d04f
fix(playwright): name Service Workers and the workers they may answer
slayerjain Nov 14, 2026
6865938
fix(playwright): seed or name the Web Workers a seeded Web Worker starts
slayerjain Nov 14, 2026
50e14df
fix(playwright): mark a Shared Worker only when no scope holds it
slayerjain Nov 14, 2026
8789b88
test(playwright): settle rows no longer race a 4 s test timeout
slayerjain Nov 14, 2026
6dc2735
docs(playwright): say what keploy's route does to the browser cache
slayerjain Nov 14, 2026
5b43fc9
fix(playwright): a page begun mid-register leaves its Shared Workers be
slayerjain Nov 14, 2026
d66e2f5
test(playwright): settle rows that wait on a call end by settle's wait
slayerjain Nov 14, 2026
6791c83
feat(playwright): name each place a replay draws otherwise than recorded
slayerjain Nov 14, 2026
08b5919
docs(playwright): say what the run names where seeding cannot reach
slayerjain Nov 14, 2026
b3a2216
fix(playwright): keep a test route's options on a worker's script
slayerjain Nov 14, 2026
cd612eb
fix(playwright): answer a Web Worker's second script load from its first
slayerjain Nov 14, 2026
be324c1
fix(playwright): load a Web Worker's script once, its seeding first
slayerjain Nov 15, 2026
29b0114
test(playwright): load a worker's script once under a document's policy
slayerjain Nov 15, 2026
ece38a0
docs(playwright): say a Web Worker's script loads once, its seeding f…
slayerjain Nov 15, 2026
2d8d481
fix(playwright): stop waiting on a terminated Web Worker's script load
slayerjain Nov 15, 2026
d989949
docs(playwright): say what a terminated worker and import.meta.url do
slayerjain Nov 15, 2026
e540b8e
test(playwright): settle waits for terminated worker loads off Chromium
slayerjain Nov 15, 2026
71ecf15
fix(playwright): fail a route that unroutes itself as without keploy
slayerjain Nov 15, 2026
9695ee0
fix(playwright): keep a worker strict when its prologue holds U+2028
slayerjain Nov 15, 2026
a0c6060
fix(playwright): take a seeded test's context offline before it closes
slayerjain Nov 15, 2026
6b88445
revert(playwright): close a seeded test's context as Playwright does
slayerjain Nov 15, 2026
6d19ea9
fix(playwright): keep a worker's script bytes; seed inline under a CSP
slayerjain Nov 15, 2026
b6b7c5a
fix(playwright): run a redirected worker at the URL its redirect gives
slayerjain Nov 15, 2026
7e7b6d3
test(playwright): expect Firefox's Shared Worker line on a redirect
slayerjain Nov 15, 2026
0de7a57
fix(playwright): stop a redirected worker script's load in Chromium
slayerjain Nov 15, 2026
ce58f5a
test(playwright): rows for a UTF-16 hashbang and lines said once
slayerjain Nov 15, 2026
813d20a
refactor(playwright): drop withPrefix, unused since scripts keep bytes
slayerjain Nov 15, 2026
22bf477
test(playwright): end a route-error test after its worker's message
slayerjain Nov 15, 2026
3c17169
fix(playwright): seed in place only where a worker's CSP may refuse it
slayerjain Nov 15, 2026
c10b4f1
test(playwright): match a CSP host source with no wildcard only itself
slayerjain Nov 15, 2026
fe83dcb
fix(playwright): end settle's wait on a request a route answered
slayerjain Nov 15, 2026
8cc6955
fix(playwright): seed first under upgrade-insecure-requests on localhost
slayerjain Nov 15, 2026
b159727
fix(playwright): say why a test's end waits on a busy Web Worker
slayerjain Nov 15, 2026
edfdb41
fix(playwright): keep Playwright's own error from a watched fulfill
slayerjain Nov 15, 2026
558f567
test(playwright): assert Playwright's own text for a refused fulfill
slayerjain Nov 15, 2026
7b86039
test(playwright): end a refused redirect's route handlers together
slayerjain Nov 15, 2026
eca89f8
test(playwright): take WebKit's dropped Shared Worker only on its record
slayerjain Nov 15, 2026
1a9780f
fix(playwright): end a request whose route handler throws after fallback
slayerjain Nov 16, 2026
c88bfa8
test(playwright): check a route abort's error code against no keploy
slayerjain Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/playwright-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# result is its own.
fail-fast: false
matrix:
# Playwright 1.62 (the rows' version) needs Node.js 20 or later, and
# Playwright 1.65 (the rows' version) needs Node.js 20 or later, and
# so does this package (package.json engines).
node: [20, 22, 24]
defaults:
Expand All @@ -36,5 +36,10 @@ jobs:
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npx playwright install --with-deps chromium
# oxlint with its type-aware rules (TypeScript 7's checker), on the
# package's source.
- run: npm run lint
# The rows run in Chromium, and the seeding's engine rows in Firefox and
# WebKit too.
- run: npx playwright install --with-deps chromium firefox webkit
- run: npm test
15 changes: 15 additions & 0 deletions playwright/.oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"rules": {
// Playwright reads a fixture's first parameter as an object pattern: {}
// is how a fixture asks for no other fixture.
"no-empty-pattern": "off",
// `void keployTest` asks for a fixture for its order (it runs first), not
// for its value.
"typescript/no-meaningless-void-operator": "off",
// The package keeps the methods it wraps (newPage, querySelectorAll) and
// calls them with their own receiver (Reflect.apply), and names its
// wrappers with object-literal methods that never read this.
"typescript/unbound-method": "off"
}
}
116 changes: 103 additions & 13 deletions playwright/README.md

Large diffs are not rendered by default.

Loading
Loading