playwright/packages/playwright-core/src/client
Yury Semikhatsky fb319e6d3d
fix: match client step and server action by explicit stepId (#30641)
Matching bu `apiName@wallTime` fails when two actions start at the same
time, e.g. two parallel api requests. Moreover, it results in trace
actions that have parent set to themselves, which in turn causes
infinite loop in the trace viewer. To avoid this problems we write
stepId explicitly to the library trace and use those step ids to find
corresponding test runner steps.

The stepId is passed via zone in case of expect, because the protocol
step is quite deep in the call chain after or explicitly in case of API
call steps created by the test runner instrumentation.
2024-05-14 12:10:46 -07:00
..
.eslintrc.js chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
accessibility.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
android.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
api.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
artifact.ts chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
browser.ts chore: support await using for close() and dispose() (#27766) 2023-10-24 12:25:53 -07:00
browserContext.ts test: unflake 'should not include trace resources from the previous chunks' test (#30257) 2024-04-12 19:48:53 +02:00
browserType.ts fix(connect): include websocket close reason in the error message (#30203) 2024-04-01 21:05:33 -07:00
cdpSession.ts chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
channelOwner.ts fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
clientHelper.ts fix: add new line before sourceURL (#29199) 2024-01-29 15:00:42 -08:00
clientInstrumentation.ts fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
connection.ts fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
consoleMessage.ts feat(electron): expose ElectronApplication console events (#29322) 2024-02-05 21:30:54 +01:00
coverage.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
DEPS.list chore: make bundles typed (#13620) 2022-04-18 17:50:25 -07:00
dialog.ts feat: browserContext.on('dialog'/'console') (#22805) 2023-05-04 15:11:46 -07:00
download.ts chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
electron.ts fix(electron): record har file (#30748) 2024-05-10 15:32:01 -07:00
elementHandle.ts fix: 'should collect trace with resources, but no js' test in service mode (#28628) 2023-12-13 11:42:29 -08:00
errors.ts fix: do not produce TargetClosedError: <message> errors (#28704) 2023-12-18 12:34:43 -08:00
events.ts feat(electron): expose ElectronApplication console events (#29322) 2024-02-05 21:30:54 +01:00
fetch.ts feat: APIRequestContext dispose reason (#30765) 2024-05-13 18:51:30 -07:00
fileChooser.ts chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
frame.ts fix: add new line before sourceURL (#29199) 2024-01-29 15:00:42 -08:00
harRouter.ts fix(har): do not throw on -1 status code (#29371) 2024-02-06 10:17:29 -08:00
input.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
jsHandle.ts fix: allow disposing ElementHandles multiple times (#29953) 2024-03-15 16:26:56 +01:00
jsonPipe.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
localUtils.ts chore: move devices from Playwright to LocalUtils (#27437) 2023-10-04 16:48:54 -07:00
locator.ts feat(addLocatorHandler): various improvements (#30494) 2024-04-24 15:19:12 -07:00
network.ts chore: move filter params into the clearCookies (#30111) 2024-03-26 08:12:26 -07:00
page.ts chore: delete expired location handler from client map (#30574) 2024-05-01 13:04:21 -07:00
playwright.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
selectors.ts chore: use provided value for the generated test id (#18631) 2022-11-08 12:04:43 -08:00
stream.ts chore: bump the trace packet size to be 1Mb (#22446) 2023-04-17 18:36:08 -07:00
tracing.ts test: unflake 'should not include trace resources from the previous chunks' test (#30257) 2024-04-12 19:48:53 +02:00
types.ts feat: support firefoxUserPrefs in launchPersistentContext (#27840) 2023-10-27 09:24:41 -07:00
video.ts chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
waiter.ts chore: use more explicit awaits when returning in client (#28443) 2023-12-07 20:13:35 -08:00
webError.ts feat: rename PageError to WebError (#26913) 2023-09-06 12:40:53 -07:00
worker.ts chore: split error to client and server sides (#27672) 2023-10-17 21:34:02 -07:00
writableStream.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00