playwright/packages/playwright-core/src/utils
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
..
isomorphic chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
ascii.ts fix: encode launch options correctly when reusing browser (#24174) 2023-07-12 16:40:55 +02:00
comparators.ts chore: simplify types handling in toHaveScreenshot (#29374) 2024-02-05 19:07:30 -08:00
crypto.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
debug.ts chore(ui): start adding ui mode tests (#21601) 2023-03-12 15:18:47 -07:00
debugLogger.ts chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
DEPS.list feat: implement a new image comparison function (#19166) 2022-12-02 15:22:05 -08:00
env.ts feat: display package manager in CLI help and tips (#26450) 2023-08-17 08:53:08 -07:00
eventsHelper.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
fileUtils.ts fix(test runner): make TestCase.id not depend on the path separator (#29010) 2024-01-16 13:32:47 -08:00
glob.ts fix: properly handle character sets in globs (#24371) 2023-07-24 09:49:05 -07:00
happy-eyeballs.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
headers.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
hostPlatform.ts feat(webkit): dedicated macOS-14 build (#30079) 2024-03-26 23:05:14 +01:00
httpServer.ts chore: print resolved host in the http server terminal (#30677) 2024-05-06 11:01:36 -07:00
index.ts chore: add test server stub (#29568) 2024-02-20 09:56:33 -08:00
linuxUtils.ts chore: add support for debian 11 downloads (#15596) 2022-07-13 04:09:24 -07:00
manualPromise.ts chore: remove the usages of raw target closed message constant (#27669) 2023-10-17 15:35:41 -07:00
mimeType.ts fix(store): support text and binary values (#21006) 2023-03-01 08:49:31 -08:00
multimap.ts fix: make viewer reference all trace urls (#16561) 2022-08-15 20:54:57 -07:00
network.ts fix(HEAD): revert GET->HEAD migration, net-effect was negative (#29738) 2024-02-29 09:02:05 -08:00
processLauncher.ts fix(launcher): unregister global process handlers when all browser are closed (#29011) 2024-01-16 14:41:26 -08:00
profiler.ts feat: support PWTEST_PROFILE_DIR in run-server (#21582) 2023-03-10 19:07:40 -08:00
rtti.ts chore: remove --project-grep, add wildcard support (#29537) 2024-02-16 19:18:00 -08:00
semaphore.ts chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
spawnAsync.ts test: add installation tests for supposed plugin story (#27331) 2023-09-28 17:18:22 -07:00
stackTrace.ts fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
task.ts chore: merge the util exports (#20110) 2023-01-13 13:50:38 -08:00
time.ts fix: make sure monotonicTime() value is reasonable (#24518) 2023-07-31 09:42:08 -07:00
timeoutRunner.ts chore(test runner): simplify TimeoutManager and TimeoutRunner (#29863) 2024-03-11 15:43:50 -07:00
traceUtils.ts fix(ui): do not log from beforeAll twice (#26799) 2023-08-31 17:34:15 -07:00
userAgent.ts feat: check client version on the server (#27585) 2023-10-13 21:02:30 -07:00
wsServer.ts chore: follow up to web socket util extraction (#29536) 2024-02-16 18:16:45 -08:00
zipFile.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00
zones.ts fix(steps): make expect.toPass and expect.poll step containers (#30389) 2024-04-16 16:18:37 -07:00