@zohodesk/testinglibrary 3.2.13 → 3.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +13 -13
- package/README.md +18 -0
- package/build/common/data-generator/steps/DataGeneratorStepsHelper.js +3 -1
- package/build/core/dataGenerator/DataGenerator.js +0 -9
- package/build/core/playwright/constants/reporterConstants.js +11 -0
- package/build/core/playwright/helpers/auth/getUsers.js +2 -1
- package/build/core/playwright/reporter/helpers/mergeAbortedTests.js +78 -0
- package/build/core/playwright/setup/custom-reporter.js +3 -0
- package/build/utils/logger.js +1 -1
- package/npm-shrinkwrap.json +59 -204
- package/package.json +1 -3
- package/test-results/.last-run.json +4 -0
- package/unit_reports/unit-report.html +260 -0
- package/playwright-mcp-test/node_modules/.package-lock.json +0 -54
- package/playwright-mcp-test/node_modules/@playwright/mcp/LICENSE +0 -202
- package/playwright-mcp-test/node_modules/@playwright/mcp/README.md +0 -907
- package/playwright-mcp-test/node_modules/@playwright/mcp/cli.js +0 -24
- package/playwright-mcp-test/node_modules/@playwright/mcp/config.d.ts +0 -174
- package/playwright-mcp-test/node_modules/@playwright/mcp/index.d.ts +0 -23
- package/playwright-mcp-test/node_modules/@playwright/mcp/index.js +0 -19
- package/playwright-mcp-test/node_modules/@playwright/mcp/package.json +0 -52
- package/playwright-mcp-test/node_modules/playwright/LICENSE +0 -202
- package/playwright-mcp-test/node_modules/playwright/NOTICE +0 -5
- package/playwright-mcp-test/node_modules/playwright/README.md +0 -168
- package/playwright-mcp-test/node_modules/playwright/ThirdPartyNotices.txt +0 -6277
- package/playwright-mcp-test/node_modules/playwright/cli.js +0 -19
- package/playwright-mcp-test/node_modules/playwright/index.d.ts +0 -17
- package/playwright-mcp-test/node_modules/playwright/index.js +0 -17
- package/playwright-mcp-test/node_modules/playwright/index.mjs +0 -18
- package/playwright-mcp-test/node_modules/playwright/jsx-runtime.js +0 -42
- package/playwright-mcp-test/node_modules/playwright/jsx-runtime.mjs +0 -21
- package/playwright-mcp-test/node_modules/playwright/lib/agents/generateAgents.js +0 -368
- package/playwright-mcp-test/node_modules/playwright/lib/agents/generator.agent.md +0 -101
- package/playwright-mcp-test/node_modules/playwright/lib/agents/healer.agent.md +0 -77
- package/playwright-mcp-test/node_modules/playwright/lib/agents/planner.agent.md +0 -138
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-coverage.prompt.md +0 -31
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-generate.prompt.md +0 -8
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-heal.prompt.md +0 -6
- package/playwright-mcp-test/node_modules/playwright/lib/agents/test-plan.prompt.md +0 -9
- package/playwright-mcp-test/node_modules/playwright/lib/common/config.js +0 -280
- package/playwright-mcp-test/node_modules/playwright/lib/common/configLoader.js +0 -344
- package/playwright-mcp-test/node_modules/playwright/lib/common/esmLoaderHost.js +0 -102
- package/playwright-mcp-test/node_modules/playwright/lib/common/expectBundle.js +0 -52
- package/playwright-mcp-test/node_modules/playwright/lib/common/expectBundleImpl.js +0 -389
- package/playwright-mcp-test/node_modules/playwright/lib/common/fixtures.js +0 -302
- package/playwright-mcp-test/node_modules/playwright/lib/common/globals.js +0 -58
- package/playwright-mcp-test/node_modules/playwright/lib/common/ipc.js +0 -60
- package/playwright-mcp-test/node_modules/playwright/lib/common/poolBuilder.js +0 -85
- package/playwright-mcp-test/node_modules/playwright/lib/common/process.js +0 -104
- package/playwright-mcp-test/node_modules/playwright/lib/common/suiteUtils.js +0 -140
- package/playwright-mcp-test/node_modules/playwright/lib/common/test.js +0 -321
- package/playwright-mcp-test/node_modules/playwright/lib/common/testLoader.js +0 -101
- package/playwright-mcp-test/node_modules/playwright/lib/common/testType.js +0 -298
- package/playwright-mcp-test/node_modules/playwright/lib/common/validators.js +0 -68
- package/playwright-mcp-test/node_modules/playwright/lib/fsWatcher.js +0 -67
- package/playwright-mcp-test/node_modules/playwright/lib/index.js +0 -682
- package/playwright-mcp-test/node_modules/playwright/lib/internalsForTest.js +0 -42
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/events.js +0 -77
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/folders.js +0 -30
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/stringInternPool.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/teleReceiver.js +0 -508
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/teleSuiteUpdater.js +0 -137
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testServerConnection.js +0 -211
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testServerInterface.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testTree.js +0 -334
- package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/types.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/loader/loaderMain.js +0 -59
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/expect.js +0 -325
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/matcherHint.js +0 -87
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/matchers.js +0 -366
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toBeTruthy.js +0 -73
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toEqual.js +0 -99
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toHaveURL.js +0 -102
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchAriaSnapshot.js +0 -159
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchSnapshot.js +0 -341
- package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchText.js +0 -99
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/actions.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/browserContextFactory.js +0 -296
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/browserServerBackend.js +0 -76
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/codegen.js +0 -66
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/config.js +0 -385
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/context.js +0 -287
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/response.js +0 -228
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/sessionLog.js +0 -160
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tab.js +0 -280
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/common.js +0 -63
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/console.js +0 -44
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/dialogs.js +0 -60
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/evaluate.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/files.js +0 -58
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/form.js +0 -73
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/install.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/keyboard.js +0 -84
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/mouse.js +0 -107
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/navigate.js +0 -62
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/network.js +0 -54
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/pdf.js +0 -59
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/screenshot.js +0 -106
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/snapshot.js +0 -181
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tabs.js +0 -67
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tool.js +0 -49
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tracing.js +0 -74
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/utils.js +0 -89
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/verify.js +0 -153
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/wait.js +0 -63
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools.js +0 -80
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/watchdog.js +0 -44
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/config.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/cdpRelay.js +0 -351
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/extensionContextFactory.js +0 -75
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/protocol.js +0 -28
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/index.js +0 -61
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/log.js +0 -35
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/program.js +0 -96
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/bundle.js +0 -81
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/exports.js +0 -32
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/http.js +0 -187
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/inProcessTransport.js +0 -71
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/mdb.js +0 -206
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/proxyBackend.js +0 -128
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/server.js +0 -189
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/tool.js +0 -51
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/browserBackend.js +0 -98
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/generatorTools.js +0 -122
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/plannerTools.js +0 -46
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/seed.js +0 -82
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/streams.js +0 -39
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testBackend.js +0 -97
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testContext.js +0 -176
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testTool.js +0 -30
- package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testTools.js +0 -115
- package/playwright-mcp-test/node_modules/playwright/lib/mcpBundleImpl.js +0 -41
- package/playwright-mcp-test/node_modules/playwright/lib/plugins/gitCommitInfoPlugin.js +0 -198
- package/playwright-mcp-test/node_modules/playwright/lib/plugins/index.js +0 -28
- package/playwright-mcp-test/node_modules/playwright/lib/plugins/webServerPlugin.js +0 -209
- package/playwright-mcp-test/node_modules/playwright/lib/program.js +0 -411
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/base.js +0 -609
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/blob.js +0 -135
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/dot.js +0 -82
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/empty.js +0 -32
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/github.js +0 -128
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/html.js +0 -623
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/internalReporter.js +0 -130
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/json.js +0 -254
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/junit.js +0 -232
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/line.js +0 -113
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/list.js +0 -235
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/listModeReporter.js +0 -69
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/markdown.js +0 -144
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/merge.js +0 -541
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/multiplexer.js +0 -104
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/reporterV2.js +0 -102
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/teleEmitter.js +0 -298
- package/playwright-mcp-test/node_modules/playwright/lib/reporters/versions/blobV1.js +0 -16
- package/playwright-mcp-test/node_modules/playwright/lib/runner/dispatcher.js +0 -491
- package/playwright-mcp-test/node_modules/playwright/lib/runner/failureTracker.js +0 -72
- package/playwright-mcp-test/node_modules/playwright/lib/runner/lastRun.js +0 -77
- package/playwright-mcp-test/node_modules/playwright/lib/runner/loadUtils.js +0 -334
- package/playwright-mcp-test/node_modules/playwright/lib/runner/loaderHost.js +0 -89
- package/playwright-mcp-test/node_modules/playwright/lib/runner/processHost.js +0 -161
- package/playwright-mcp-test/node_modules/playwright/lib/runner/projectUtils.js +0 -241
- package/playwright-mcp-test/node_modules/playwright/lib/runner/rebase.js +0 -189
- package/playwright-mcp-test/node_modules/playwright/lib/runner/reporters.js +0 -139
- package/playwright-mcp-test/node_modules/playwright/lib/runner/sigIntWatcher.js +0 -96
- package/playwright-mcp-test/node_modules/playwright/lib/runner/taskRunner.js +0 -127
- package/playwright-mcp-test/node_modules/playwright/lib/runner/tasks.js +0 -410
- package/playwright-mcp-test/node_modules/playwright/lib/runner/testGroups.js +0 -117
- package/playwright-mcp-test/node_modules/playwright/lib/runner/testRunner.js +0 -390
- package/playwright-mcp-test/node_modules/playwright/lib/runner/testServer.js +0 -264
- package/playwright-mcp-test/node_modules/playwright/lib/runner/uiModeReporter.js +0 -30
- package/playwright-mcp-test/node_modules/playwright/lib/runner/vcs.js +0 -72
- package/playwright-mcp-test/node_modules/playwright/lib/runner/watchMode.js +0 -395
- package/playwright-mcp-test/node_modules/playwright/lib/runner/workerHost.js +0 -95
- package/playwright-mcp-test/node_modules/playwright/lib/third_party/pirates.js +0 -62
- package/playwright-mcp-test/node_modules/playwright/lib/third_party/tsconfig-loader.js +0 -103
- package/playwright-mcp-test/node_modules/playwright/lib/transform/babelBundle.js +0 -43
- package/playwright-mcp-test/node_modules/playwright/lib/transform/babelBundleImpl.js +0 -461
- package/playwright-mcp-test/node_modules/playwright/lib/transform/compilationCache.js +0 -272
- package/playwright-mcp-test/node_modules/playwright/lib/transform/esmLoader.js +0 -104
- package/playwright-mcp-test/node_modules/playwright/lib/transform/portTransport.js +0 -67
- package/playwright-mcp-test/node_modules/playwright/lib/transform/transform.js +0 -293
- package/playwright-mcp-test/node_modules/playwright/lib/util.js +0 -403
- package/playwright-mcp-test/node_modules/playwright/lib/utilsBundle.js +0 -43
- package/playwright-mcp-test/node_modules/playwright/lib/utilsBundleImpl.js +0 -100
- package/playwright-mcp-test/node_modules/playwright/lib/worker/fixtureRunner.js +0 -258
- package/playwright-mcp-test/node_modules/playwright/lib/worker/testInfo.js +0 -514
- package/playwright-mcp-test/node_modules/playwright/lib/worker/testTracing.js +0 -344
- package/playwright-mcp-test/node_modules/playwright/lib/worker/timeoutManager.js +0 -174
- package/playwright-mcp-test/node_modules/playwright/lib/worker/util.js +0 -31
- package/playwright-mcp-test/node_modules/playwright/lib/worker/workerMain.js +0 -520
- package/playwright-mcp-test/node_modules/playwright/package.json +0 -72
- package/playwright-mcp-test/node_modules/playwright/test.d.ts +0 -18
- package/playwright-mcp-test/node_modules/playwright/test.js +0 -24
- package/playwright-mcp-test/node_modules/playwright/test.mjs +0 -33
- package/playwright-mcp-test/node_modules/playwright/types/test.d.ts +0 -10185
- package/playwright-mcp-test/node_modules/playwright/types/testReporter.d.ts +0 -821
- package/playwright-mcp-test/node_modules/playwright-core/LICENSE +0 -202
- package/playwright-mcp-test/node_modules/playwright-core/NOTICE +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/README.md +0 -3
- package/playwright-mcp-test/node_modules/playwright-core/ThirdPartyNotices.txt +0 -1161
- package/playwright-mcp-test/node_modules/playwright-core/bin/install_media_pack.ps1 +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +0 -35
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -13
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -12
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -48
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -11
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +0 -23
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -48
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -11
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +0 -23
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -48
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -11
- package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/browsers.json +0 -80
- package/playwright-mcp-test/node_modules/playwright-core/cli.js +0 -18
- package/playwright-mcp-test/node_modules/playwright-core/index.d.ts +0 -17
- package/playwright-mcp-test/node_modules/playwright-core/index.js +0 -32
- package/playwright-mcp-test/node_modules/playwright-core/index.mjs +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/androidServerImpl.js +0 -65
- package/playwright-mcp-test/node_modules/playwright-core/lib/browserServerImpl.js +0 -120
- package/playwright-mcp-test/node_modules/playwright-core/lib/cli/driver.js +0 -97
- package/playwright-mcp-test/node_modules/playwright-core/lib/cli/program.js +0 -634
- package/playwright-mcp-test/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/accessibility.js +0 -49
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/android.js +0 -361
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/api.js +0 -137
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/artifact.js +0 -79
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/browser.js +0 -163
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/browserContext.js +0 -529
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/browserType.js +0 -184
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/cdpSession.js +0 -51
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/channelOwner.js +0 -194
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientHelper.js +0 -64
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -55
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientStackTrace.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/clock.js +0 -68
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/connection.js +0 -314
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/consoleMessage.js +0 -54
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/coverage.js +0 -44
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/dialog.js +0 -56
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/download.js +0 -62
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/electron.js +0 -138
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/elementHandle.js +0 -281
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/errors.js +0 -77
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/events.js +0 -99
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/fetch.js +0 -369
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/fileChooser.js +0 -46
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/fileUtils.js +0 -34
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/frame.js +0 -408
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/harRouter.js +0 -87
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/input.js +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/jsHandle.js +0 -109
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/jsonPipe.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/localUtils.js +0 -60
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/locator.js +0 -369
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/network.js +0 -747
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/page.js +0 -721
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/platform.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/playwright.js +0 -71
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/selectors.js +0 -55
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/stream.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/timeoutSettings.js +0 -79
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/tracing.js +0 -117
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/types.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/video.js +0 -59
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/waiter.js +0 -142
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/webError.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/webSocket.js +0 -93
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/worker.js +0 -63
- package/playwright-mcp-test/node_modules/playwright-core/lib/client/writableStream.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/clockSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/storageScriptSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/generated/webSocketMockSource.js +0 -336
- package/playwright-mcp-test/node_modules/playwright-core/lib/inProcessFactory.js +0 -60
- package/playwright-mcp-test/node_modules/playwright-core/lib/inprocess.js +0 -3
- package/playwright-mcp-test/node_modules/playwright-core/lib/outofprocess.js +0 -76
- package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/serializers.js +0 -192
- package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/validator.js +0 -2912
- package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -193
- package/playwright-mcp-test/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -129
- package/playwright-mcp-test/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -335
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/accessibility.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/android/android.js +0 -465
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -177
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/artifact.js +0 -127
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -490
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +0 -153
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -212
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -221
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -130
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -146
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -383
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +0 -102
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -554
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +0 -106
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +0 -22
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiDeserializer.js +0 -98
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -256
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -24
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +0 -179
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -148
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +0 -259
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/browser.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/browserContext.js +0 -695
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/browserType.js +0 -328
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/callLog.js +0 -82
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -402
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -95
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crAccessibility.js +0 -263
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -502
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -202
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -235
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -113
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -131
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -146
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -187
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -666
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1069
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -121
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -145
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -123
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -162
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/protocol.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/videoRecorder.js +0 -113
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/clock.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -327
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/java.js +0 -274
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -270
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -52
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/language.js +0 -132
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/languages.js +0 -68
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/python.js +0 -279
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/types.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/console.js +0 -53
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/cookieStore.js +0 -206
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/debugController.js +0 -191
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/debugger.js +0 -119
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -1779
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dialog.js +0 -116
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -325
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -364
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -118
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -64
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -44
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -78
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -47
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -371
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -89
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -181
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -227
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -85
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -58
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -213
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -401
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -108
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -67
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -68
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +0 -165
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -79
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/dom.js +0 -806
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/download.js +0 -70
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/electron/electron.js +0 -270
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/electron/loader.js +0 -29
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/errors.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/fetch.js +0 -621
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/fileChooser.js +0 -43
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffAccessibility.js +0 -238
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -428
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -150
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -159
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -256
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -503
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -116
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/protocol.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/formData.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/frameSelectors.js +0 -154
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/frames.js +0 -1455
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/har/harTracer.js +0 -607
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/harBackend.js +0 -157
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/helper.js +0 -96
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/index.js +0 -58
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/input.js +0 -273
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/instrumentation.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/javascript.js +0 -291
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/launchApp.js +0 -128
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/localUtils.js +0 -214
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -143
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/network.js +0 -629
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/page.js +0 -867
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/pipeTransport.js +0 -89
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/playwright.js +0 -69
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/progress.js +0 -112
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/protocolError.js +0 -52
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/chat.js +0 -161
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -387
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -138
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +0 -83
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -157
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -57
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder.js +0 -499
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -175
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -371
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/index.js +0 -1361
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -1280
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -124
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/screenshotter.js +0 -333
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/selectors.js +0 -112
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -383
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -95
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -147
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -541
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -602
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/test/inMemorySnapshotter.js +0 -87
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -230
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/transport.js +0 -181
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/types.js +0 -28
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -145
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/ascii.js +0 -44
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/comparators.js +0 -139
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/crypto.js +0 -216
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/debug.js +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/debugLogger.js +0 -122
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/env.js +0 -73
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/eventsHelper.js +0 -39
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/expectUtils.js +0 -38
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/fileUtils.js +0 -191
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +0 -207
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/hostPlatform.js +0 -123
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/httpServer.js +0 -218
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/imageUtils.js +0 -146
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +0 -89
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +0 -109
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +0 -78
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +0 -102
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/linuxUtils.js +0 -71
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/network.js +0 -233
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/nodePlatform.js +0 -148
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/pipeTransport.js +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/processLauncher.js +0 -241
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/profiler.js +0 -65
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/socksProxy.js +0 -511
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/spawnAsync.js +0 -41
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/task.js +0 -51
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/userAgent.js +0 -98
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/wsServer.js +0 -121
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/zipFile.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/zones.js +0 -57
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/protocol.d.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -119
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkAccessibility.js +0 -237
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -339
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -149
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -154
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -181
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -169
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1134
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -83
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -104
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wsl/webkit-wsl-transport-client.js +0 -74
- package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wsl/webkit-wsl-transport-server.js +0 -113
- package/playwright-mcp-test/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +0 -392
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/assert.js +0 -31
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/colors.js +0 -72
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -245
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -1051
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/headers.js +0 -53
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -689
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -176
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -81
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +0 -114
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -459
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +0 -80
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +0 -81
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +0 -321
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +0 -43
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -386
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +0 -54
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +0 -158
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -155
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/time.js +0 -49
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +0 -66
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/traceUtils.js +0 -58
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/types.js +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -179
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +0 -251
- package/playwright-mcp-test/node_modules/playwright-core/lib/utils.js +0 -109
- package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundle.js +0 -112
- package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -218
- package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open +0 -1066
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/htmlReport/index.html +0 -84
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-C3UTv-Ge.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DX585GyR.js +0 -25
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/index-DjadjNw5.js +0 -193
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/index-Ri0uHF7I.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/index.html +0 -29
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +0 -9
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-Cw-6jrKz.js +0 -25
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BZIhX7gh.js +0 -266
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.C3UTv-Ge.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BEjzWGz-.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.Dk_obRs3.js +0 -2
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.I8N9v4jT.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.html +0 -43
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +0 -16
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +0 -9
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +0 -21
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +0 -3
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Bai-qGIw.js +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +0 -1
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +0 -17
- package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
- package/playwright-mcp-test/node_modules/playwright-core/lib/zipBundle.js +0 -34
- package/playwright-mcp-test/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
- package/playwright-mcp-test/node_modules/playwright-core/package.json +0 -42
- package/playwright-mcp-test/node_modules/playwright-core/types/protocol.d.ts +0 -23130
- package/playwright-mcp-test/node_modules/playwright-core/types/structs.d.ts +0 -45
- package/playwright-mcp-test/node_modules/playwright-core/types/types.d.ts +0 -22872
- package/playwright-mcp-test/package-lock.json +0 -76
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var teleReceiver_exports = {};
|
|
20
|
-
__export(teleReceiver_exports, {
|
|
21
|
-
TeleReporterReceiver: () => TeleReporterReceiver,
|
|
22
|
-
TeleSuite: () => TeleSuite,
|
|
23
|
-
TeleTestCase: () => TeleTestCase,
|
|
24
|
-
TeleTestResult: () => TeleTestResult,
|
|
25
|
-
baseFullConfig: () => baseFullConfig,
|
|
26
|
-
computeTestCaseOutcome: () => computeTestCaseOutcome,
|
|
27
|
-
parseRegexPatterns: () => parseRegexPatterns,
|
|
28
|
-
serializeRegexPatterns: () => serializeRegexPatterns
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(teleReceiver_exports);
|
|
31
|
-
class TeleReporterReceiver {
|
|
32
|
-
constructor(reporter, options = {}) {
|
|
33
|
-
this.isListing = false;
|
|
34
|
-
this._tests = /* @__PURE__ */ new Map();
|
|
35
|
-
this._rootSuite = new TeleSuite("", "root");
|
|
36
|
-
this._options = options;
|
|
37
|
-
this._reporter = reporter;
|
|
38
|
-
}
|
|
39
|
-
reset() {
|
|
40
|
-
this._rootSuite._entries = [];
|
|
41
|
-
this._tests.clear();
|
|
42
|
-
}
|
|
43
|
-
dispatch(message) {
|
|
44
|
-
const { method, params } = message;
|
|
45
|
-
if (method === "onConfigure") {
|
|
46
|
-
this._onConfigure(params.config);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
if (method === "onProject") {
|
|
50
|
-
this._onProject(params.project);
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
if (method === "onBegin") {
|
|
54
|
-
this._onBegin();
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
if (method === "onTestBegin") {
|
|
58
|
-
this._onTestBegin(params.testId, params.result);
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
if (method === "onTestEnd") {
|
|
62
|
-
this._onTestEnd(params.test, params.result);
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
if (method === "onStepBegin") {
|
|
66
|
-
this._onStepBegin(params.testId, params.resultId, params.step);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
if (method === "onAttach") {
|
|
70
|
-
this._onAttach(params.testId, params.resultId, params.attachments);
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
if (method === "onStepEnd") {
|
|
74
|
-
this._onStepEnd(params.testId, params.resultId, params.step);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
if (method === "onError") {
|
|
78
|
-
this._onError(params.error);
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
if (method === "onStdIO") {
|
|
82
|
-
this._onStdIO(params.type, params.testId, params.resultId, params.data, params.isBase64);
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
if (method === "onEnd")
|
|
86
|
-
return this._onEnd(params.result);
|
|
87
|
-
if (method === "onExit")
|
|
88
|
-
return this._onExit();
|
|
89
|
-
}
|
|
90
|
-
_onConfigure(config) {
|
|
91
|
-
this._rootDir = config.rootDir;
|
|
92
|
-
this._config = this._parseConfig(config);
|
|
93
|
-
this._reporter.onConfigure?.(this._config);
|
|
94
|
-
}
|
|
95
|
-
_onProject(project) {
|
|
96
|
-
let projectSuite = this._options.mergeProjects ? this._rootSuite.suites.find((suite) => suite.project().name === project.name) : void 0;
|
|
97
|
-
if (!projectSuite) {
|
|
98
|
-
projectSuite = new TeleSuite(project.name, "project");
|
|
99
|
-
this._rootSuite._addSuite(projectSuite);
|
|
100
|
-
}
|
|
101
|
-
projectSuite._project = this._parseProject(project);
|
|
102
|
-
for (const suite of project.suites)
|
|
103
|
-
this._mergeSuiteInto(suite, projectSuite);
|
|
104
|
-
}
|
|
105
|
-
_onBegin() {
|
|
106
|
-
this._reporter.onBegin?.(this._rootSuite);
|
|
107
|
-
}
|
|
108
|
-
_onTestBegin(testId, payload) {
|
|
109
|
-
const test = this._tests.get(testId);
|
|
110
|
-
if (this._options.clearPreviousResultsWhenTestBegins)
|
|
111
|
-
test.results = [];
|
|
112
|
-
const testResult = test._createTestResult(payload.id);
|
|
113
|
-
testResult.retry = payload.retry;
|
|
114
|
-
testResult.workerIndex = payload.workerIndex;
|
|
115
|
-
testResult.parallelIndex = payload.parallelIndex;
|
|
116
|
-
testResult.setStartTimeNumber(payload.startTime);
|
|
117
|
-
this._reporter.onTestBegin?.(test, testResult);
|
|
118
|
-
}
|
|
119
|
-
_onTestEnd(testEndPayload, payload) {
|
|
120
|
-
const test = this._tests.get(testEndPayload.testId);
|
|
121
|
-
test.timeout = testEndPayload.timeout;
|
|
122
|
-
test.expectedStatus = testEndPayload.expectedStatus;
|
|
123
|
-
const result = test.results.find((r) => r._id === payload.id);
|
|
124
|
-
result.duration = payload.duration;
|
|
125
|
-
result.status = payload.status;
|
|
126
|
-
result.errors = payload.errors;
|
|
127
|
-
result.error = result.errors?.[0];
|
|
128
|
-
if (!!payload.attachments)
|
|
129
|
-
result.attachments = this._parseAttachments(payload.attachments);
|
|
130
|
-
if (payload.annotations) {
|
|
131
|
-
this._absoluteAnnotationLocationsInplace(payload.annotations);
|
|
132
|
-
result.annotations = payload.annotations;
|
|
133
|
-
test.annotations = payload.annotations;
|
|
134
|
-
}
|
|
135
|
-
this._reporter.onTestEnd?.(test, result);
|
|
136
|
-
result._stepMap = /* @__PURE__ */ new Map();
|
|
137
|
-
}
|
|
138
|
-
_onStepBegin(testId, resultId, payload) {
|
|
139
|
-
const test = this._tests.get(testId);
|
|
140
|
-
const result = test.results.find((r) => r._id === resultId);
|
|
141
|
-
const parentStep = payload.parentStepId ? result._stepMap.get(payload.parentStepId) : void 0;
|
|
142
|
-
const location = this._absoluteLocation(payload.location);
|
|
143
|
-
const step = new TeleTestStep(payload, parentStep, location, result);
|
|
144
|
-
if (parentStep)
|
|
145
|
-
parentStep.steps.push(step);
|
|
146
|
-
else
|
|
147
|
-
result.steps.push(step);
|
|
148
|
-
result._stepMap.set(payload.id, step);
|
|
149
|
-
this._reporter.onStepBegin?.(test, result, step);
|
|
150
|
-
}
|
|
151
|
-
_onStepEnd(testId, resultId, payload) {
|
|
152
|
-
const test = this._tests.get(testId);
|
|
153
|
-
const result = test.results.find((r) => r._id === resultId);
|
|
154
|
-
const step = result._stepMap.get(payload.id);
|
|
155
|
-
step._endPayload = payload;
|
|
156
|
-
step.duration = payload.duration;
|
|
157
|
-
step.error = payload.error;
|
|
158
|
-
this._reporter.onStepEnd?.(test, result, step);
|
|
159
|
-
}
|
|
160
|
-
_onAttach(testId, resultId, attachments) {
|
|
161
|
-
const test = this._tests.get(testId);
|
|
162
|
-
const result = test.results.find((r) => r._id === resultId);
|
|
163
|
-
result.attachments.push(...attachments.map((a) => ({
|
|
164
|
-
name: a.name,
|
|
165
|
-
contentType: a.contentType,
|
|
166
|
-
path: a.path,
|
|
167
|
-
body: a.base64 && globalThis.Buffer ? Buffer.from(a.base64, "base64") : void 0
|
|
168
|
-
})));
|
|
169
|
-
}
|
|
170
|
-
_onError(error) {
|
|
171
|
-
this._reporter.onError?.(error);
|
|
172
|
-
}
|
|
173
|
-
_onStdIO(type, testId, resultId, data, isBase64) {
|
|
174
|
-
const chunk = isBase64 ? globalThis.Buffer ? Buffer.from(data, "base64") : atob(data) : data;
|
|
175
|
-
const test = testId ? this._tests.get(testId) : void 0;
|
|
176
|
-
const result = test && resultId ? test.results.find((r) => r._id === resultId) : void 0;
|
|
177
|
-
if (type === "stdout") {
|
|
178
|
-
result?.stdout.push(chunk);
|
|
179
|
-
this._reporter.onStdOut?.(chunk, test, result);
|
|
180
|
-
} else {
|
|
181
|
-
result?.stderr.push(chunk);
|
|
182
|
-
this._reporter.onStdErr?.(chunk, test, result);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
async _onEnd(result) {
|
|
186
|
-
await this._reporter.onEnd?.({
|
|
187
|
-
status: result.status,
|
|
188
|
-
startTime: new Date(result.startTime),
|
|
189
|
-
duration: result.duration
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
_onExit() {
|
|
193
|
-
return this._reporter.onExit?.();
|
|
194
|
-
}
|
|
195
|
-
_parseConfig(config) {
|
|
196
|
-
const result = { ...baseFullConfig, ...config };
|
|
197
|
-
if (this._options.configOverrides) {
|
|
198
|
-
result.configFile = this._options.configOverrides.configFile;
|
|
199
|
-
result.reportSlowTests = this._options.configOverrides.reportSlowTests;
|
|
200
|
-
result.quiet = this._options.configOverrides.quiet;
|
|
201
|
-
result.reporter = [...this._options.configOverrides.reporter];
|
|
202
|
-
}
|
|
203
|
-
return result;
|
|
204
|
-
}
|
|
205
|
-
_parseProject(project) {
|
|
206
|
-
return {
|
|
207
|
-
metadata: project.metadata,
|
|
208
|
-
name: project.name,
|
|
209
|
-
outputDir: this._absolutePath(project.outputDir),
|
|
210
|
-
repeatEach: project.repeatEach,
|
|
211
|
-
retries: project.retries,
|
|
212
|
-
testDir: this._absolutePath(project.testDir),
|
|
213
|
-
testIgnore: parseRegexPatterns(project.testIgnore),
|
|
214
|
-
testMatch: parseRegexPatterns(project.testMatch),
|
|
215
|
-
timeout: project.timeout,
|
|
216
|
-
grep: parseRegexPatterns(project.grep),
|
|
217
|
-
grepInvert: parseRegexPatterns(project.grepInvert),
|
|
218
|
-
dependencies: project.dependencies,
|
|
219
|
-
teardown: project.teardown,
|
|
220
|
-
snapshotDir: this._absolutePath(project.snapshotDir),
|
|
221
|
-
use: project.use
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
_parseAttachments(attachments) {
|
|
225
|
-
return attachments.map((a) => {
|
|
226
|
-
return {
|
|
227
|
-
...a,
|
|
228
|
-
body: a.base64 && globalThis.Buffer ? Buffer.from(a.base64, "base64") : void 0
|
|
229
|
-
};
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
_mergeSuiteInto(jsonSuite, parent) {
|
|
233
|
-
let targetSuite = parent.suites.find((s) => s.title === jsonSuite.title);
|
|
234
|
-
if (!targetSuite) {
|
|
235
|
-
targetSuite = new TeleSuite(jsonSuite.title, parent.type === "project" ? "file" : "describe");
|
|
236
|
-
parent._addSuite(targetSuite);
|
|
237
|
-
}
|
|
238
|
-
targetSuite.location = this._absoluteLocation(jsonSuite.location);
|
|
239
|
-
jsonSuite.entries.forEach((e) => {
|
|
240
|
-
if ("testId" in e)
|
|
241
|
-
this._mergeTestInto(e, targetSuite);
|
|
242
|
-
else
|
|
243
|
-
this._mergeSuiteInto(e, targetSuite);
|
|
244
|
-
});
|
|
245
|
-
}
|
|
246
|
-
_mergeTestInto(jsonTest, parent) {
|
|
247
|
-
let targetTest = this._options.mergeTestCases ? parent.tests.find((s) => s.title === jsonTest.title && s.repeatEachIndex === jsonTest.repeatEachIndex) : void 0;
|
|
248
|
-
if (!targetTest) {
|
|
249
|
-
targetTest = new TeleTestCase(jsonTest.testId, jsonTest.title, this._absoluteLocation(jsonTest.location), jsonTest.repeatEachIndex);
|
|
250
|
-
parent._addTest(targetTest);
|
|
251
|
-
this._tests.set(targetTest.id, targetTest);
|
|
252
|
-
}
|
|
253
|
-
this._updateTest(jsonTest, targetTest);
|
|
254
|
-
}
|
|
255
|
-
_updateTest(payload, test) {
|
|
256
|
-
test.id = payload.testId;
|
|
257
|
-
test.location = this._absoluteLocation(payload.location);
|
|
258
|
-
test.retries = payload.retries;
|
|
259
|
-
test.tags = payload.tags ?? [];
|
|
260
|
-
test.annotations = payload.annotations ?? [];
|
|
261
|
-
this._absoluteAnnotationLocationsInplace(test.annotations);
|
|
262
|
-
return test;
|
|
263
|
-
}
|
|
264
|
-
_absoluteAnnotationLocationsInplace(annotations) {
|
|
265
|
-
for (const annotation of annotations) {
|
|
266
|
-
if (annotation.location)
|
|
267
|
-
annotation.location = this._absoluteLocation(annotation.location);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
_absoluteLocation(location) {
|
|
271
|
-
if (!location)
|
|
272
|
-
return location;
|
|
273
|
-
return {
|
|
274
|
-
...location,
|
|
275
|
-
file: this._absolutePath(location.file)
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
_absolutePath(relativePath) {
|
|
279
|
-
if (relativePath === void 0)
|
|
280
|
-
return;
|
|
281
|
-
return this._options.resolvePath ? this._options.resolvePath(this._rootDir, relativePath) : this._rootDir + "/" + relativePath;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
class TeleSuite {
|
|
285
|
-
constructor(title, type) {
|
|
286
|
-
this._entries = [];
|
|
287
|
-
this._requireFile = "";
|
|
288
|
-
this._parallelMode = "none";
|
|
289
|
-
this.title = title;
|
|
290
|
-
this._type = type;
|
|
291
|
-
}
|
|
292
|
-
get type() {
|
|
293
|
-
return this._type;
|
|
294
|
-
}
|
|
295
|
-
get suites() {
|
|
296
|
-
return this._entries.filter((e) => e.type !== "test");
|
|
297
|
-
}
|
|
298
|
-
get tests() {
|
|
299
|
-
return this._entries.filter((e) => e.type === "test");
|
|
300
|
-
}
|
|
301
|
-
entries() {
|
|
302
|
-
return this._entries;
|
|
303
|
-
}
|
|
304
|
-
allTests() {
|
|
305
|
-
const result = [];
|
|
306
|
-
const visit = (suite) => {
|
|
307
|
-
for (const entry of suite.entries()) {
|
|
308
|
-
if (entry.type === "test")
|
|
309
|
-
result.push(entry);
|
|
310
|
-
else
|
|
311
|
-
visit(entry);
|
|
312
|
-
}
|
|
313
|
-
};
|
|
314
|
-
visit(this);
|
|
315
|
-
return result;
|
|
316
|
-
}
|
|
317
|
-
titlePath() {
|
|
318
|
-
const titlePath = this.parent ? this.parent.titlePath() : [];
|
|
319
|
-
if (this.title || this._type !== "describe")
|
|
320
|
-
titlePath.push(this.title);
|
|
321
|
-
return titlePath;
|
|
322
|
-
}
|
|
323
|
-
project() {
|
|
324
|
-
return this._project ?? this.parent?.project();
|
|
325
|
-
}
|
|
326
|
-
_addTest(test) {
|
|
327
|
-
test.parent = this;
|
|
328
|
-
this._entries.push(test);
|
|
329
|
-
}
|
|
330
|
-
_addSuite(suite) {
|
|
331
|
-
suite.parent = this;
|
|
332
|
-
this._entries.push(suite);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
class TeleTestCase {
|
|
336
|
-
constructor(id, title, location, repeatEachIndex) {
|
|
337
|
-
this.fn = () => {
|
|
338
|
-
};
|
|
339
|
-
this.results = [];
|
|
340
|
-
this.type = "test";
|
|
341
|
-
this.expectedStatus = "passed";
|
|
342
|
-
this.timeout = 0;
|
|
343
|
-
this.annotations = [];
|
|
344
|
-
this.retries = 0;
|
|
345
|
-
this.tags = [];
|
|
346
|
-
this.repeatEachIndex = 0;
|
|
347
|
-
this.id = id;
|
|
348
|
-
this.title = title;
|
|
349
|
-
this.location = location;
|
|
350
|
-
this.repeatEachIndex = repeatEachIndex;
|
|
351
|
-
}
|
|
352
|
-
titlePath() {
|
|
353
|
-
const titlePath = this.parent ? this.parent.titlePath() : [];
|
|
354
|
-
titlePath.push(this.title);
|
|
355
|
-
return titlePath;
|
|
356
|
-
}
|
|
357
|
-
outcome() {
|
|
358
|
-
return computeTestCaseOutcome(this);
|
|
359
|
-
}
|
|
360
|
-
ok() {
|
|
361
|
-
const status = this.outcome();
|
|
362
|
-
return status === "expected" || status === "flaky" || status === "skipped";
|
|
363
|
-
}
|
|
364
|
-
_createTestResult(id) {
|
|
365
|
-
const result = new TeleTestResult(this.results.length, id);
|
|
366
|
-
this.results.push(result);
|
|
367
|
-
return result;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
class TeleTestStep {
|
|
371
|
-
constructor(payload, parentStep, location, result) {
|
|
372
|
-
this.duration = -1;
|
|
373
|
-
this.steps = [];
|
|
374
|
-
this._startTime = 0;
|
|
375
|
-
this.title = payload.title;
|
|
376
|
-
this.category = payload.category;
|
|
377
|
-
this.location = location;
|
|
378
|
-
this.parent = parentStep;
|
|
379
|
-
this._startTime = payload.startTime;
|
|
380
|
-
this._result = result;
|
|
381
|
-
}
|
|
382
|
-
titlePath() {
|
|
383
|
-
const parentPath = this.parent?.titlePath() || [];
|
|
384
|
-
return [...parentPath, this.title];
|
|
385
|
-
}
|
|
386
|
-
get startTime() {
|
|
387
|
-
return new Date(this._startTime);
|
|
388
|
-
}
|
|
389
|
-
set startTime(value) {
|
|
390
|
-
this._startTime = +value;
|
|
391
|
-
}
|
|
392
|
-
get attachments() {
|
|
393
|
-
return this._endPayload?.attachments?.map((index) => this._result.attachments[index]) ?? [];
|
|
394
|
-
}
|
|
395
|
-
get annotations() {
|
|
396
|
-
return this._endPayload?.annotations ?? [];
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
class TeleTestResult {
|
|
400
|
-
constructor(retry, id) {
|
|
401
|
-
this.parallelIndex = -1;
|
|
402
|
-
this.workerIndex = -1;
|
|
403
|
-
this.duration = -1;
|
|
404
|
-
this.stdout = [];
|
|
405
|
-
this.stderr = [];
|
|
406
|
-
this.attachments = [];
|
|
407
|
-
this.annotations = [];
|
|
408
|
-
this.status = "skipped";
|
|
409
|
-
this.steps = [];
|
|
410
|
-
this.errors = [];
|
|
411
|
-
this._stepMap = /* @__PURE__ */ new Map();
|
|
412
|
-
this._startTime = 0;
|
|
413
|
-
this.retry = retry;
|
|
414
|
-
this._id = id;
|
|
415
|
-
}
|
|
416
|
-
setStartTimeNumber(startTime) {
|
|
417
|
-
this._startTime = startTime;
|
|
418
|
-
}
|
|
419
|
-
get startTime() {
|
|
420
|
-
return new Date(this._startTime);
|
|
421
|
-
}
|
|
422
|
-
set startTime(value) {
|
|
423
|
-
this._startTime = +value;
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
const baseFullConfig = {
|
|
427
|
-
forbidOnly: false,
|
|
428
|
-
fullyParallel: false,
|
|
429
|
-
globalSetup: null,
|
|
430
|
-
globalTeardown: null,
|
|
431
|
-
globalTimeout: 0,
|
|
432
|
-
grep: /.*/,
|
|
433
|
-
grepInvert: null,
|
|
434
|
-
maxFailures: 0,
|
|
435
|
-
metadata: {},
|
|
436
|
-
preserveOutput: "always",
|
|
437
|
-
projects: [],
|
|
438
|
-
reporter: [[process.env.CI ? "dot" : "list"]],
|
|
439
|
-
reportSlowTests: {
|
|
440
|
-
max: 5,
|
|
441
|
-
threshold: 3e5
|
|
442
|
-
/* 5 minutes */
|
|
443
|
-
},
|
|
444
|
-
configFile: "",
|
|
445
|
-
rootDir: "",
|
|
446
|
-
quiet: false,
|
|
447
|
-
shard: null,
|
|
448
|
-
tags: [],
|
|
449
|
-
updateSnapshots: "missing",
|
|
450
|
-
updateSourceMethod: "patch",
|
|
451
|
-
version: "",
|
|
452
|
-
workers: 0,
|
|
453
|
-
webServer: null
|
|
454
|
-
};
|
|
455
|
-
function serializeRegexPatterns(patterns) {
|
|
456
|
-
if (!Array.isArray(patterns))
|
|
457
|
-
patterns = [patterns];
|
|
458
|
-
return patterns.map((s) => {
|
|
459
|
-
if (typeof s === "string")
|
|
460
|
-
return { s };
|
|
461
|
-
return { r: { source: s.source, flags: s.flags } };
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
function parseRegexPatterns(patterns) {
|
|
465
|
-
return patterns.map((p) => {
|
|
466
|
-
if (p.s !== void 0)
|
|
467
|
-
return p.s;
|
|
468
|
-
return new RegExp(p.r.source, p.r.flags);
|
|
469
|
-
});
|
|
470
|
-
}
|
|
471
|
-
function computeTestCaseOutcome(test) {
|
|
472
|
-
let skipped = 0;
|
|
473
|
-
let didNotRun = 0;
|
|
474
|
-
let expected = 0;
|
|
475
|
-
let interrupted = 0;
|
|
476
|
-
let unexpected = 0;
|
|
477
|
-
for (const result of test.results) {
|
|
478
|
-
if (result.status === "interrupted") {
|
|
479
|
-
++interrupted;
|
|
480
|
-
} else if (result.status === "skipped" && test.expectedStatus === "skipped") {
|
|
481
|
-
++skipped;
|
|
482
|
-
} else if (result.status === "skipped") {
|
|
483
|
-
++didNotRun;
|
|
484
|
-
} else if (result.status === test.expectedStatus) {
|
|
485
|
-
++expected;
|
|
486
|
-
} else {
|
|
487
|
-
++unexpected;
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
if (expected === 0 && unexpected === 0)
|
|
491
|
-
return "skipped";
|
|
492
|
-
if (unexpected === 0)
|
|
493
|
-
return "expected";
|
|
494
|
-
if (expected === 0 && skipped === 0)
|
|
495
|
-
return "unexpected";
|
|
496
|
-
return "flaky";
|
|
497
|
-
}
|
|
498
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
499
|
-
0 && (module.exports = {
|
|
500
|
-
TeleReporterReceiver,
|
|
501
|
-
TeleSuite,
|
|
502
|
-
TeleTestCase,
|
|
503
|
-
TeleTestResult,
|
|
504
|
-
baseFullConfig,
|
|
505
|
-
computeTestCaseOutcome,
|
|
506
|
-
parseRegexPatterns,
|
|
507
|
-
serializeRegexPatterns
|
|
508
|
-
});
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var teleSuiteUpdater_exports = {};
|
|
20
|
-
__export(teleSuiteUpdater_exports, {
|
|
21
|
-
TeleSuiteUpdater: () => TeleSuiteUpdater
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(teleSuiteUpdater_exports);
|
|
24
|
-
var import_teleReceiver = require("./teleReceiver");
|
|
25
|
-
var import_testTree = require("./testTree");
|
|
26
|
-
class TeleSuiteUpdater {
|
|
27
|
-
constructor(options) {
|
|
28
|
-
this.loadErrors = [];
|
|
29
|
-
this.progress = {
|
|
30
|
-
total: 0,
|
|
31
|
-
passed: 0,
|
|
32
|
-
failed: 0,
|
|
33
|
-
skipped: 0
|
|
34
|
-
};
|
|
35
|
-
this._lastRunTestCount = 0;
|
|
36
|
-
this._receiver = new import_teleReceiver.TeleReporterReceiver(this._createReporter(), {
|
|
37
|
-
mergeProjects: true,
|
|
38
|
-
mergeTestCases: true,
|
|
39
|
-
resolvePath: (rootDir, relativePath) => rootDir + options.pathSeparator + relativePath,
|
|
40
|
-
clearPreviousResultsWhenTestBegins: true
|
|
41
|
-
});
|
|
42
|
-
this._options = options;
|
|
43
|
-
}
|
|
44
|
-
_createReporter() {
|
|
45
|
-
return {
|
|
46
|
-
version: () => "v2",
|
|
47
|
-
onConfigure: (c) => {
|
|
48
|
-
this.config = c;
|
|
49
|
-
this._lastRunReceiver = new import_teleReceiver.TeleReporterReceiver({
|
|
50
|
-
version: () => "v2",
|
|
51
|
-
onBegin: (suite) => {
|
|
52
|
-
this._lastRunTestCount = suite.allTests().length;
|
|
53
|
-
this._lastRunReceiver = void 0;
|
|
54
|
-
}
|
|
55
|
-
}, {
|
|
56
|
-
mergeProjects: true,
|
|
57
|
-
mergeTestCases: false,
|
|
58
|
-
resolvePath: (rootDir, relativePath) => rootDir + this._options.pathSeparator + relativePath
|
|
59
|
-
});
|
|
60
|
-
},
|
|
61
|
-
onBegin: (suite) => {
|
|
62
|
-
if (!this.rootSuite)
|
|
63
|
-
this.rootSuite = suite;
|
|
64
|
-
if (this._testResultsSnapshot) {
|
|
65
|
-
for (const test of this.rootSuite.allTests())
|
|
66
|
-
test.results = this._testResultsSnapshot?.get(test.id) || test.results;
|
|
67
|
-
this._testResultsSnapshot = void 0;
|
|
68
|
-
}
|
|
69
|
-
this.progress.total = this._lastRunTestCount;
|
|
70
|
-
this.progress.passed = 0;
|
|
71
|
-
this.progress.failed = 0;
|
|
72
|
-
this.progress.skipped = 0;
|
|
73
|
-
this._options.onUpdate(true);
|
|
74
|
-
},
|
|
75
|
-
onEnd: () => {
|
|
76
|
-
this._options.onUpdate(true);
|
|
77
|
-
},
|
|
78
|
-
onTestBegin: (test, testResult) => {
|
|
79
|
-
testResult[import_testTree.statusEx] = "running";
|
|
80
|
-
this._options.onUpdate();
|
|
81
|
-
},
|
|
82
|
-
onTestEnd: (test, testResult) => {
|
|
83
|
-
if (test.outcome() === "skipped")
|
|
84
|
-
++this.progress.skipped;
|
|
85
|
-
else if (test.outcome() === "unexpected")
|
|
86
|
-
++this.progress.failed;
|
|
87
|
-
else
|
|
88
|
-
++this.progress.passed;
|
|
89
|
-
testResult[import_testTree.statusEx] = testResult.status;
|
|
90
|
-
this._options.onUpdate();
|
|
91
|
-
},
|
|
92
|
-
onError: (error) => this._handleOnError(error),
|
|
93
|
-
printsToStdio: () => false
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
processGlobalReport(report) {
|
|
97
|
-
const receiver = new import_teleReceiver.TeleReporterReceiver({
|
|
98
|
-
version: () => "v2",
|
|
99
|
-
onConfigure: (c) => {
|
|
100
|
-
this.config = c;
|
|
101
|
-
},
|
|
102
|
-
onError: (error) => this._handleOnError(error)
|
|
103
|
-
});
|
|
104
|
-
for (const message of report)
|
|
105
|
-
void receiver.dispatch(message);
|
|
106
|
-
}
|
|
107
|
-
processListReport(report) {
|
|
108
|
-
const tests = this.rootSuite?.allTests() || [];
|
|
109
|
-
this._testResultsSnapshot = new Map(tests.map((test) => [test.id, test.results]));
|
|
110
|
-
this._receiver.reset();
|
|
111
|
-
for (const message of report)
|
|
112
|
-
void this._receiver.dispatch(message);
|
|
113
|
-
}
|
|
114
|
-
processTestReportEvent(message) {
|
|
115
|
-
this._lastRunReceiver?.dispatch(message)?.catch(() => {
|
|
116
|
-
});
|
|
117
|
-
this._receiver.dispatch(message)?.catch(() => {
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
_handleOnError(error) {
|
|
121
|
-
this.loadErrors.push(error);
|
|
122
|
-
this._options.onError?.(error);
|
|
123
|
-
this._options.onUpdate();
|
|
124
|
-
}
|
|
125
|
-
asModel() {
|
|
126
|
-
return {
|
|
127
|
-
rootSuite: this.rootSuite || new import_teleReceiver.TeleSuite("", "root"),
|
|
128
|
-
config: this.config,
|
|
129
|
-
loadErrors: this.loadErrors,
|
|
130
|
-
progress: this.progress
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
135
|
-
0 && (module.exports = {
|
|
136
|
-
TeleSuiteUpdater
|
|
137
|
-
});
|