playwright/packages/playwright-core/src/utils
Andrey Lushnikov 7f51336068
fix: allow toMatchSnapshot to use text comparator for text data (#12934)
This was regressed awhile ago.

In v1.17 we shipped the following code: 30e15ad36f/packages/playwright-test/src/matchers/golden.ts (L122-L131)

`toMatchSnapshot` should fallback to text comparator in case of
unknown extension and string data.

Fixes #12862
2022-03-21 16:42:21 -07:00
..
async.ts reland(hooks): separate test timeout from beforeAll/afterAll timeouts (#12609) 2022-03-08 19:05:23 -08:00
browserFetcher.ts chore: add browser like UA to browser fetcher (#11006) 2022-01-14 02:46:17 -08:00
comparators.ts fix: allow toMatchSnapshot to use text comparator for text data (#12934) 2022-03-21 16:42:21 -07:00
debugLogger.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
dependencies.ts chore: print error if install-deps is used != ubuntu (#12877) 2022-03-18 19:13:11 +01:00
errors.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
eventsHelper.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
httpServer.ts chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00
multimap.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
nativeDeps.ts fix(firefox): add missing dependency on Ubuntu 18.04 (#12625) 2022-03-09 11:21:15 -08:00
netUtils.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
processLauncher.ts fix: do not show taskkill.exe output (#10244) 2021-11-11 18:32:22 +01:00
registry.ts feat(webkit): bump to 1617, freeze macOS 10.15 (#12790) 2022-03-15 16:09:56 -07:00
socksProxy.ts chore: intercept socks proxy in the driver (#12021) 2022-02-13 14:03:47 -08:00
stackTrace.ts fix: properly define apiName for web-first assertions (#12706) 2022-03-14 18:01:13 -07:00
stringUtils.ts feat(locator.withText): allow narrowing locators to those with text (#10688) 2021-12-03 09:27:06 -08:00
timeoutSettings.ts chore: do not stall on actions when test timeout is 0 (#12418) 2022-03-01 13:43:38 -08:00
ubuntuVersion.ts chore: add browser like UA to browser fetcher (#11006) 2022-01-14 02:46:17 -08:00
utils.ts Revert "chore: best-effort cleanup for output folders that are mounted (#12300)" (#12321) 2022-02-23 14:10:11 -08:00
verifyNodeJsVersion.ts chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00
vfs.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
zones.ts chore(zones): prepare to remove wrapApiCall, introduce zones (#10427) 2021-11-18 22:30:09 -08:00