From a9d2dc28bf2ba856e43b54be5148ac156e8ac7f7 Mon Sep 17 00:00:00 2001 From: Adam Stone-Lord Date: Wed, 20 Sep 2023 12:57:54 -0400 Subject: [PATCH 01/13] chore: update contributor workflow to include approval job (#27822) --- .circleci/workflows.yml | 389 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 388 insertions(+), 1 deletion(-) diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 3400182b7dfd..30f82ce838e8 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -63,6 +63,9 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters linuxWorkflowExcludeFilters: &linux-x64-workflow-exclude-filters unless: or: + - matches: + pattern: /^pull\/[0-9]+/ + value: << pipeline.git.branch >> - false # windows is slow and expensive in CI, so it normally only runs on main branches @@ -590,7 +593,7 @@ commands: if [[ <> == 'ct' ]]; then # component tests are located side by side with the source codes. # for the app component tests, ignore specs that are known to cause failures on contributor PRs (see https://discuss.circleci.com/t/how-to-exclude-certain-files-from-circleci-test-globbing/41028) - TESTFILES=$(find src -regextype posix-extended -name '*.cy.*' -not -regex '.*(FileMatch|PromoAction|SelectorPlayground|useDurationFormat|useTestingType|SpecPatterns).cy.*' | circleci tests split --total=$CIRCLE_NODE_TOTAL) + TESTFILES=$(find src -regextype posix-extended -name '*.cy.*' -not -regex '.*(FileMatch|PromoAction|SelectorPlayground|useDurationFormat|useTestingType|SpecPatterns|DebugPendingRunCounts).cy.*' | circleci tests split --total=$CIRCLE_NODE_TOTAL) else GLOB="cypress/e2e/**/*cy.*" TESTFILES=$(circleci tests glob "$GLOB" | circleci tests split --total=$CIRCLE_NODE_TOTAL) @@ -2889,6 +2892,384 @@ linux-x64-workflow: &linux-x64-workflow - get-published-artifacts - system-tests-node-modules-install +linux-x64-contributor-workflow: &linux-x64-contributor-workflow + jobs: + - node_modules_install + - build: + requires: + - node_modules_install + - check-ts: + requires: + - build + - lint: + name: linux-lint + requires: + - build + - percy-finalize: + context: [test-runner:poll-circle-workflow, test-runner:percy] + required_env_var: PERCY_TOKEN # skips job if not defined (external PR) + requires: + - build + - lint-types: + requires: + - build + # unit, integration and e2e tests + - cli-visual-tests: + context: test-runner:percy + requires: + - build + - unit-tests: + requires: + - build + - verify-release-readiness: + context: test-runner:npm-release + requires: + - build + - server-unit-tests: + requires: + - build + - server-integration-tests: + requires: + - build + - server-performance-tests: + requires: + - build + - system-tests-node-modules-install: + context: test-runner:performance-tracking + requires: + - build + - system-tests-chrome: + context: test-runner:performance-tracking + requires: + - system-tests-node-modules-install + - system-tests-electron: + context: test-runner:performance-tracking + requires: + - system-tests-node-modules-install + - system-tests-firefox: + context: test-runner:performance-tracking + requires: + - system-tests-node-modules-install + - system-tests-webkit: + context: test-runner:performance-tracking + requires: + - system-tests-node-modules-install + - system-tests-non-root: + context: test-runner:performance-tracking + executor: non-root-docker-user + requires: + - system-tests-node-modules-install + - driver-integration-tests-chrome: + context: test-runner:cypress-record-key + requires: + - build + - driver-integration-tests-chrome-beta: + context: test-runner:cypress-record-key + requires: + - build + - driver-integration-tests-firefox: + context: test-runner:cypress-record-key + requires: + - build + - driver-integration-tests-electron: + context: test-runner:cypress-record-key + requires: + - build + - driver-integration-tests-webkit: + context: test-runner:cypress-record-key + requires: + - build + - driver-integration-memory-tests: + requires: + - build + - run-frontend-shared-component-tests-chrome: + context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] + percy: true + requires: + - build + - run-launchpad-integration-tests-chrome: + context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] + percy: true + requires: + - build + - run-launchpad-component-tests-chrome: + context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] + percy: true + requires: + - build + - run-app-integration-tests-chrome: + context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] + percy: true + requires: + - build + - run-webpack-dev-server-integration-tests: + context: [test-runner:cypress-record-key, test-runner:percy] + requires: + - system-tests-node-modules-install + - run-vite-dev-server-integration-tests: + context: [test-runner:cypress-record-key, test-runner:percy] + requires: + - system-tests-node-modules-install + - run-app-component-tests-chrome: + context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] + percy: true + requires: + - build + - run-reporter-component-tests-chrome: + context: [test-runner:cypress-record-key, test-runner:percy] + percy: true + requires: + - build + - reporter-integration-tests: + context: [test-runner:cypress-record-key, test-runner:percy] + requires: + - build + - npm-webpack-dev-server: + requires: + - system-tests-node-modules-install + - npm-vite-dev-server: + requires: + - build + - npm-vite-plugin-cypress-esm: + requires: + - build + - npm-webpack-preprocessor: + requires: + - build + - npm-webpack-batteries-included-preprocessor: + requires: + - build + - npm-vue: + requires: + - build + - npm-react: + requires: + - build + - npm-angular: + requires: + - build + - npm-mount-utils: + requires: + - build + - npm-create-cypress-tests: + requires: + - build + - npm-eslint-plugin-dev: + requires: + - build + - npm-cypress-schematic: + requires: + - build + - v8-integration-tests: + requires: + - system-tests-node-modules-install + # This release definition must be updated with any new jobs + # Any attempts to automate this are welcome + # If CircleCI provided an "after all" hook, then this wouldn't be necessary + - trigger-binary-release-workflow: + context: test-runner:poll-circle-workflow + requires: + - build + - check-ts + - npm-angular + - npm-eslint-plugin-dev + - npm-create-cypress-tests + - npm-react + - npm-mount-utils + - npm-vue + - npm-webpack-batteries-included-preprocessor + - npm-webpack-preprocessor + - npm-vite-dev-server + - npm-vite-plugin-cypress-esm + - npm-webpack-dev-server + - npm-cypress-schematic + - lint-types + - linux-lint + - percy-finalize + - driver-integration-tests-firefox + - driver-integration-tests-chrome + - driver-integration-tests-chrome-beta + - driver-integration-tests-electron + - driver-integration-memory-tests + - system-tests-non-root + - system-tests-firefox + - system-tests-electron + - system-tests-chrome + - server-performance-tests + - server-integration-tests + - server-unit-tests + - "test binary as a non-root user" + - "test binary as a root user" + - test-types-cypress-and-jest + - test-full-typescript-project + - test-binary-against-kitchensink + - test-npm-module-on-minimum-node-version + - binary-system-tests + - test-kitchensink + - unit-tests + - verify-release-readiness + - cli-visual-tests + - reporter-integration-tests + - run-app-component-tests-chrome + - run-app-integration-tests-chrome + - run-frontend-shared-component-tests-chrome + - run-launchpad-component-tests-chrome + - run-launchpad-integration-tests-chrome + - run-reporter-component-tests-chrome + - run-webpack-dev-server-integration-tests + - run-vite-dev-server-integration-tests + - v8-integration-tests + + - npm-release: + context: test-runner:npm-release + requires: + - build + - check-ts + - npm-angular + - npm-eslint-plugin-dev + - npm-create-cypress-tests + - npm-react + - npm-mount-utils + - npm-vue + - npm-webpack-batteries-included-preprocessor + - npm-webpack-preprocessor + - npm-vite-dev-server + - npm-vite-plugin-cypress-esm + - npm-webpack-dev-server + - npm-cypress-schematic + - lint-types + - linux-lint + - percy-finalize + - driver-integration-tests-firefox + - driver-integration-tests-chrome + - driver-integration-tests-chrome-beta + - driver-integration-tests-electron + - driver-integration-memory-tests + - system-tests-non-root + - system-tests-firefox + - system-tests-electron + - system-tests-chrome + - server-performance-tests + - server-integration-tests + - server-unit-tests + - test-kitchensink + - unit-tests + - verify-release-readiness + - cli-visual-tests + - reporter-integration-tests + - run-app-component-tests-chrome + - run-app-integration-tests-chrome + - run-frontend-shared-component-tests-chrome + - run-launchpad-component-tests-chrome + - run-launchpad-integration-tests-chrome + - run-reporter-component-tests-chrome + - run-webpack-dev-server-integration-tests + - run-vite-dev-server-integration-tests + - v8-integration-tests + + # This approval job will block the building of the binary on contributor jobs + # If a member of the Cypress team manually approves this job, then it will run with the required contexts + - approve-binary-build: + type: approval + requires: + - build + + - create-and-trigger-packaging-artifacts: + context: + - test-runner:upload + - test-runner:build-binary + - publish-binary + requires: + - approve-binary-build + - wait-for-binary-publish: + type: approval + requires: + - create-and-trigger-packaging-artifacts + - get-published-artifacts: + context: + - publish-binary + - test-runner:commit-status-checks + requires: + - wait-for-binary-publish + # various testing scenarios, like building full binary + # and testing it on a real project + - test-against-staging: + context: test-runner:record-tests + <<: *mainBuildFilters + requires: + - build + - test-kitchensink: + requires: + - build + - test-kitchensink-against-staging: + context: test-runner:record-tests + <<: *mainBuildFilters + requires: + - build + - test-npm-module-on-minimum-node-version: + requires: + - get-published-artifacts + - test-types-cypress-and-jest: + requires: + - get-published-artifacts + - test-full-typescript-project: + requires: + - get-published-artifacts + - test-binary-against-kitchensink: + requires: + - get-published-artifacts + - test-npm-module-and-verify-binary: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-staging: + context: test-runner:record-tests + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-kitchensink-chrome: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-recipes-firefox: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-recipes-chrome: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-recipes: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-kitchensink-firefox: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-todomvc-firefox: + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-against-cypress-realworld-app: + context: test-runner:cypress-record-key + <<: *mainBuildFilters + requires: + - get-published-artifacts + - test-binary-as-specific-user: + name: "test binary as a non-root user" + executor: non-root-docker-user + requires: + - get-published-artifacts + - test-binary-as-specific-user: + name: "test binary as a root user" + requires: + - get-published-artifacts + - binary-system-tests: + requires: + - get-published-artifacts + - system-tests-node-modules-install + linux-arm64-workflow: &linux-arm64-workflow jobs: - node_modules_install: @@ -3131,6 +3512,12 @@ workflows: linux-x64: <<: *linux-x64-workflow <<: *linux-x64-workflow-exclude-filters + linux-x64-contributor: + <<: *linux-x64-contributor-workflow + when: + matches: + pattern: /^pull\/[0-9]+/ + value: << pipeline.git.branch >> linux-arm64: <<: *linux-arm64-workflow <<: *linux-arm64-workflow-filters From 0ba2a48afa4d1711ef4ddbfc70d2e1a8c1c08dcf Mon Sep 17 00:00:00 2001 From: Matt Schile Date: Wed, 20 Sep 2023 12:22:58 -0600 Subject: [PATCH 02/13] test: adding back protocol component tests (#27697) --- system-tests/__snapshots__/protocol_spec.js | 4139 +++++++++++++++-- .../lib/protocol-stubs/protocolStub.ts | 16 +- system-tests/test/protocol_spec.js | 11 +- 3 files changed, 3718 insertions(+), 448 deletions(-) diff --git a/system-tests/__snapshots__/protocol_spec.js b/system-tests/__snapshots__/protocol_spec.js index cbe6f42508f0..dd54a9389164 100644 --- a/system-tests/__snapshots__/protocol_spec.js +++ b/system-tests/__snapshots__/protocol_spec.js @@ -53,7 +53,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n // change the viewport so we get viewport:changed event\\n cy.viewport(300, 200);\\n\\n // click an element so we get command logs with snapshots\\n cy.contains('hi').click();\\n cy.origin('http://foobar.com', () => {\\n // verify changing the viewport inside cy.origin works\\n cy.viewport(400, 500);\\n\\n // eslint-disable-next-line cypress/no-unnecessary-waiting\\n cy.wait(1000, {\\n log: false\\n });\\n });\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -120,7 +120,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -187,7 +187,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('def').should('have.value', 'abcdef');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -254,7 +254,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('ghi').should('have.value', 'abcdefghi');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -321,7 +321,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('!').should('have.value', 'abcdefghi!');\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -388,7 +388,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('!').should('have.value', 'abc!');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -455,7 +455,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -522,7 +522,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('def').should('have.value', 'def');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -589,7 +589,7 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('abc').should('have.value', 'defabc');\\n }", "type": "test", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "file": null, "invocationDetails": { "function": "Suite.eval", @@ -642,20 +642,20 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n // change the viewport so we get viewport:changed event\\n cy.viewport(300, 200);\\n\\n // click an element so we get command logs with snapshots\\n cy.contains('hi').click();\\n cy.origin('http://foobar.com', () => {\\n // verify changing the viewport inside cy.origin works\\n cy.viewport(400, 500);\\n\\n // eslint-disable-next-line cypress/no-unnecessary-waiting\\n cy.wait(1000, {\\n log: false\\n });\\n });\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "before each": [ { "hookId": "h1", - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } ], "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -731,13 +731,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -813,13 +813,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('def').should('have.value', 'abcdef');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -895,13 +895,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('ghi').should('have.value', 'abcdefghi');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -977,13 +977,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('!').should('have.value', 'abcdefghi!');\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1059,13 +1059,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('!').should('have.value', 'abc!');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1141,13 +1141,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1223,13 +1223,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('def').should('have.value', 'def');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1305,13 +1305,13 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('abc').should('have.value', 'defabc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1370,21 +1370,21 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n // change the viewport so we get viewport:changed event\\n cy.viewport(300, 200);\\n\\n // click an element so we get command logs with snapshots\\n cy.contains('hi').click();\\n cy.origin('http://foobar.com', () => {\\n // verify changing the viewport inside cy.origin works\\n cy.viewport(400, 500);\\n\\n // eslint-disable-next-line cypress/no-unnecessary-waiting\\n cy.wait(1000, {\\n log: false\\n });\\n });\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "before each": [ { "hookId": "h1", - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } ], "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1455,14 +1455,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1533,14 +1533,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('def').should('have.value', 'abcdef');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1611,14 +1611,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('ghi').should('have.value', 'abcdefghi');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1689,14 +1689,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('!').should('have.value', 'abcdefghi!');\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1767,14 +1767,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('!').should('have.value', 'abc!');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1845,14 +1845,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('abc').should('have.value', 'abc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -1923,14 +1923,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.visit('cypress/fixtures/dom-with-browser-interactions.html');\\n cy.wait(1000, {\\n log: false\\n });\\n cy.get('#text-target').type('def').should('have.value', 'def');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -2001,14 +2001,14 @@ exports['e2e events'] = ` "pending": false, "body": "() => {\\n cy.get('#text-target').type('abc').should('have.value', 'defabc');\\n }", "type": "test", - "duration": 100, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", - "wallClockDuration": 100, + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", "timings": { - "lifecycle": 100, + "lifecycle": "Any.Number", "test": { - "fnDuration": 100, - "afterFnDuration": 100 + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" } }, "file": null, @@ -2856,10 +2856,10 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:3131-2", @@ -2874,10 +2874,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:3131/index.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:3131-3", @@ -2892,10 +2892,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "child", "url": "http://localhost:3131/index.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:3131-4", @@ -2912,10 +2912,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:3131/index.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -2931,10 +2931,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:3131/index.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://foobar.com-6", @@ -2951,10 +2951,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-1", @@ -2969,10 +2969,10 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-2", @@ -2987,10 +2987,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-3", @@ -3007,10 +3007,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3028,10 +3028,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3047,10 +3047,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-6", @@ -3067,10 +3067,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3088,10 +3088,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3107,10 +3107,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-9", @@ -3127,10 +3127,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3148,10 +3148,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3167,10 +3167,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-12", @@ -3187,10 +3187,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3208,10 +3208,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3227,10 +3227,10 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-15", @@ -3245,10 +3245,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-16", @@ -3265,10 +3265,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3286,10 +3286,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3305,10 +3305,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-19", @@ -3325,10 +3325,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3346,10 +3346,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3365,10 +3365,10 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-22", @@ -3383,10 +3383,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-23", @@ -3403,10 +3403,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3424,10 +3424,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3443,10 +3443,10 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-26", @@ -3461,10 +3461,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-27", @@ -3481,10 +3481,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3502,10 +3502,10 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3521,10 +3521,10 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-30", @@ -3541,10 +3541,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3562,10 +3562,10 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" } ], @@ -3585,11 +3585,11 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-1", @@ -3604,15 +3604,15 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-10", @@ -3629,11 +3629,11 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3641,8 +3641,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3660,11 +3660,11 @@ exports['e2e events'] = ` "type": "parent", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3672,8 +3672,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3691,12 +3691,12 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3705,7 +3705,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3713,8 +3713,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3732,11 +3732,11 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3744,8 +3744,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3761,15 +3761,15 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-15", @@ -3786,11 +3786,11 @@ exports['e2e events'] = ` "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3798,8 +3798,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3817,12 +3817,12 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3831,7 +3831,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3839,15 +3839,15 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "coords": { - "top": 100, - "left": 100, - "topCenter": 100, - "leftCenter": 100, - "x": 100, - "y": 100 + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" }, "highlightAttr": "data-cypress-el" }, @@ -3866,11 +3866,11 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3878,8 +3878,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3897,11 +3897,11 @@ exports['e2e events'] = ` "type": "parent", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3909,8 +3909,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3928,12 +3928,12 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3942,7 +3942,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3950,8 +3950,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -3969,11 +3969,11 @@ exports['e2e events'] = ` "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -3981,8 +3981,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4000,11 +4000,11 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4012,8 +4012,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4029,15 +4029,15 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-22", @@ -4054,11 +4054,11 @@ exports['e2e events'] = ` "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4066,8 +4066,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4085,12 +4085,12 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4099,7 +4099,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4107,15 +4107,15 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "coords": { - "top": 100, - "left": 100, - "topCenter": 100, - "leftCenter": 100, - "x": 100, - "y": 100 + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" }, "highlightAttr": "data-cypress-el" }, @@ -4134,11 +4134,11 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4146,8 +4146,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4163,15 +4163,15 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "cypress/fixtures/dom-with-browser-interactions.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:2121-26", @@ -4188,11 +4188,11 @@ exports['e2e events'] = ` "type": "parent", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4200,8 +4200,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4219,12 +4219,12 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4233,7 +4233,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4241,15 +4241,15 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "coords": { - "top": 100, - "left": 100, - "topCenter": 100, - "leftCenter": 100, - "x": 100, - "y": 100 + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" }, "highlightAttr": "data-cypress-el" }, @@ -4268,11 +4268,11 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4280,8 +4280,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4299,11 +4299,11 @@ exports['e2e events'] = ` "type": "parent", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4311,8 +4311,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4330,12 +4330,12 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4344,7 +4344,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4352,15 +4352,15 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "coords": { - "top": 100, - "left": 100, - "topCenter": 100, - "leftCenter": 100, - "x": 100, - "y": 100 + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" }, "highlightAttr": "data-cypress-el" }, @@ -4379,12 +4379,12 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4393,7 +4393,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4401,8 +4401,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4420,11 +4420,11 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4432,8 +4432,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4451,11 +4451,11 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4463,8 +4463,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4482,11 +4482,11 @@ exports['e2e events'] = ` "type": "parent", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4494,8 +4494,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4513,12 +4513,12 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4527,7 +4527,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4535,8 +4535,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4554,11 +4554,11 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4566,8 +4566,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4585,11 +4585,11 @@ exports['e2e events'] = ` "type": "parent", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4597,8 +4597,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4616,12 +4616,12 @@ exports['e2e events'] = ` "type": "child", "url": "", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4630,7 +4630,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "#text-target" @@ -4638,8 +4638,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4655,15 +4655,15 @@ exports['e2e events'] = ` "timeout": 60000, "type": "parent", "url": "http://localhost:3131/index.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:3131-2", @@ -4678,15 +4678,15 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:3131/index.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" }, { "id": "log-http://localhost:3131-3", @@ -4703,11 +4703,11 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:3131/index.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "h1" @@ -4715,8 +4715,8 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "highlightAttr": "data-cypress-el" }, { @@ -4734,12 +4734,12 @@ exports['e2e events'] = ` "type": "child", "url": "http://localhost:3131/index.html", "visible": true, - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { "name": "before", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "h1" @@ -4748,7 +4748,7 @@ exports['e2e events'] = ` }, { "name": "after", - "timestamp": 100, + "timestamp": "Any.Number", "elementsToHighlight": [ { "selector": "h1" @@ -4756,15 +4756,15 @@ exports['e2e events'] = ` ] } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", "coords": { - "top": 100, - "left": 100, - "topCenter": 100, - "leftCenter": 100, - "x": 100, - "y": 100 + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" }, "highlightAttr": "data-cypress-el" }, @@ -4781,15 +4781,15 @@ exports['e2e events'] = ` "timeout": 4000, "type": "parent", "url": "http://localhost:3131/index.html", - "wallClockStartedAt": "2015-03-18T00:00:00.000Z", + "wallClockStartedAt": "Any.ISODate", "testCurrentRetry": 0, "snapshots": [ { - "timestamp": 100 + "timestamp": "Any.Number" } ], - "createdAtTimestamp": 100, - "updatedAtTimestamp": 100 + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" } ], "viewportChanged": [ @@ -4798,130 +4798,3391 @@ exports['e2e events'] = ` "width": 300, "height": 200 }, - "timestamp": 100 + "timestamp": "Any.Number" }, { "viewport": { "width": 400, "height": 500 }, - "timestamp": 100 + "timestamp": "Any.Number" } ], "urlChanged": [ { "url": "http://localhost:3131/index.html", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "http://localhost:2121/cypress/fixtures/dom-with-browser-interactions.html", - "timestamp": 100 + "timestamp": "Any.Number" }, { "url": "", - "timestamp": 100 + "timestamp": "Any.Number" } ], "pageLoading": [ { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": true, - "timestamp": 100 + "timestamp": "Any.Number" }, { "loading": false, - "timestamp": 100 + "timestamp": "Any.Number" } ], "resetTest": [ "r3" + ], + "responseEndedWithEmptyBody": [] +} +` + +exports['component events - experimentalSingleTabRunMode: true'] = ` +{ + "beforeSpec": [ + { + "name": "/path/to/name", + "open": true, + "inTransaction": false, + "readonly": false, + "memory": false + }, + { + "name": "/path/to/name", + "open": true, + "inTransaction": false, + "readonly": false, + "memory": false + } + ], + "afterSpec": [ + true, + true + ], + "beforeTest": [ + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + } + ], + "preAfterTest": [ + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + }, + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + }, + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + }, + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + } + ], + "afterTest": [ + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + } + ], + "addRunnables": [ + { + "id": "r1", + "title": "", + "root": true, + "pending": false, + "type": "suite", + "file": "src/components/HelloEarth.cy.jsx", + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [], + "suites": [ + { + "id": "r2", + "title": "", + "root": false, + "pending": false, + "type": "suite", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addSuite (cypress:///../driver/src/cypress/mocha.ts:359:86)\\n at Suite.create (cypress:///../driver/node_modules/mocha/lib/suite.js:33:10)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:123:27)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at ./src/components/HelloEarth.cy.jsx (http://localhost:2121/__cypress/src/spec-0.js:16:1)\\n at Function.__webpack_require__ (http://localhost:2121/__cypress/src/main.js:114:42)" + }, + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [ + { + "id": "r3", + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 1" + ] + }, + { + "id": "r4", + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 2" + ] + } + ], + "suites": [] + } + ], + "runtimeConfig": {}, + "totalUnfilteredTests": 0 + }, + { + "id": "r1", + "title": "", + "root": true, + "pending": false, + "type": "suite", + "file": "src/components/HelloMars.cy.jsx", + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [], + "suites": [ + { + "id": "r2", + "title": "", + "root": false, + "pending": false, + "type": "suite", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addSuite (cypress:///../driver/src/cypress/mocha.ts:359:86)\\n at Suite.create (cypress:///../driver/node_modules/mocha/lib/suite.js:33:10)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:123:27)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at ./src/components/HelloMars.cy.jsx (http://localhost:2121/__cypress/src/spec-1.js:16:1)\\n at Function.__webpack_require__ (http://localhost:2121/__cypress/src/main.js:114:42)" + }, + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [ + { + "id": "r3", + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 1" + ] + }, + { + "id": "r4", + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 2" + ] + } + ], + "suites": [] + } + ], + "runtimeConfig": {}, + "totalUnfilteredTests": 0 + } + ], + "connectToBrowser": [ + true, + true + ], + "commandLogAdded": [ + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Earth", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Earth**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Mars?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Mars?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Mars", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Mars**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Earth?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Earth?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + } + ], + "commandLogChanged": [ + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Mars?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Earth?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Mars?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Earth?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Earth", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Mars", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Earth**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Mars**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + } + ], + "viewportChanged": [], + "urlChanged": [ + { + "url": "http://localhost:2121/__cypress/iframes/index.html?specPath=/protocol/src/components/HelloEarth.cy.jsx", + "timestamp": "Any.Number" + }, + { + "url": "http://localhost:2121/__cypress/iframes/index.html?specPath=/protocol/src/components/HelloMars.cy.jsx", + "timestamp": "Any.Number" + } + ], + "pageLoading": [], + "resetTest": [], + "responseEndedWithEmptyBody": [ + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + } + ] +} +` + +exports['component events - experimentalSingleTabRunMode: false'] = ` +{ + "beforeSpec": [ + { + "name": "/path/to/name", + "open": true, + "inTransaction": false, + "readonly": false, + "memory": false + }, + { + "name": "/path/to/name", + "open": true, + "inTransaction": false, + "readonly": false, + "memory": false + } + ], + "afterSpec": [ + true, + true + ], + "beforeTest": [ + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "wallClockStartedAt": "Any.ISODate", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + } + ], + "preAfterTest": [ + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + }, + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + }, + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + }, + { + "test": { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + "options": { + "nextTestHasTestIsolationOn": true + } + } + ], + "afterTest": [ + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r3", + "order": 1, + "title": "test 1", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + }, + { + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {}, + "applied": "complete" + }, + "id": "r4", + "order": 2, + "title": "test 2", + "state": "passed", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "duration": "Any.Number", + "wallClockStartedAt": "Any.ISODate", + "wallClockDuration": "Any.Number", + "timings": { + "lifecycle": "Any.Number", + "test": { + "fnDuration": "Any.Number", + "afterFnDuration": "Any.Number" + } + }, + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "final": true, + "currentRetry": 0, + "retries": 0, + "_slow": 250 + } + ], + "addRunnables": [ + { + "id": "r1", + "title": "", + "root": true, + "pending": false, + "type": "suite", + "file": "src/components/HelloEarth.cy.jsx", + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [], + "suites": [ + { + "id": "r2", + "title": "", + "root": false, + "pending": false, + "type": "suite", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addSuite (cypress:///../driver/src/cypress/mocha.ts:359:86)\\n at Suite.create (cypress:///../driver/node_modules/mocha/lib/suite.js:33:10)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:123:27)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at ./src/components/HelloEarth.cy.jsx (http://localhost:2121/__cypress/src/spec-0.js:16:1)\\n at Function.__webpack_require__ (http://localhost:2121/__cypress/src/main.js:114:42)" + }, + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [ + { + "id": "r3", + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Hello Earth').should('have.value', 'Hello Earth');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 1" + ] + }, + { + "id": "r4", + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloEarth_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#earth-text').type('Where\\\\'s Mars?').should('have.value', 'Where\\\\'s Mars?');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-0.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 2" + ] + } + ], + "suites": [] + } + ], + "runtimeConfig": {}, + "totalUnfilteredTests": 0 + }, + { + "id": "r1", + "title": "", + "root": true, + "pending": false, + "type": "suite", + "file": "src/components/HelloMars.cy.jsx", + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [], + "suites": [ + { + "id": "r2", + "title": "", + "root": false, + "pending": false, + "type": "suite", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addSuite (cypress:///../driver/src/cypress/mocha.ts:359:86)\\n at Suite.create (cypress:///../driver/node_modules/mocha/lib/suite.js:33:10)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:123:27)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at ./src/components/HelloMars.cy.jsx (http://localhost:2121/__cypress/src/spec-1.js:16:1)\\n at Function.__webpack_require__ (http://localhost:2121/__cypress/src/main.js:114:42)" + }, + "retries": -1, + "_slow": 250, + "hooks": [], + "tests": [ + { + "id": "r3", + "title": "test 1", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Hello Mars').should('have.value', 'Hello Mars');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:17:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 1" + ] + }, + { + "id": "r4", + "title": "test 2", + "pending": false, + "body": "function () {\\n cy.mount( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_HelloMars_jsx__WEBPACK_IMPORTED_MODULE_1__[\\"default\\"], null));\\n cy.get('#mars-text').type('Where\\\\'s Earth?').should('have.value', 'Where\\\\'s Earth?');\\n }", + "type": "test", + "file": null, + "invocationDetails": { + "function": "Object.getInvocationDetails", + "fileUrl": "cypress:///../driver/src/cypress/stack_utils.ts", + "originalFile": "cypress:///../driver/src/cypress/stack_utils.ts", + "relativeFile": "../driver/src/cypress/stack_utils.ts", + "absoluteFile": "/path/to/absoluteFile", + "line": 94, + "column": 17, + "whitespace": " ", + "stack": "Error\\n at Object.getInvocationDetails (cypress:///../driver/src/cypress/stack_utils.ts:94:17)\\n at Suite.addTest (cypress:///../driver/src/cypress/mocha.ts:333:85)\\n at context.it.context.specify (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:88:13)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)\\n at Suite. (http://localhost:2121/__cypress/src/spec-1.js:21:3)\\n at Object.create (cypress:///../driver/node_modules/mocha/lib/interfaces/common.js:140:19)\\n at context.describe.context.context (cypress:///../driver/node_modules/mocha/lib/interfaces/bdd.js:41:27)\\n at createRunnable (cypress:///../driver/src/cypress/mocha.ts:54:31)\\n at eval (cypress:///../driver/src/cypress/mocha.ts:115:14)" + }, + "currentRetry": 0, + "retries": -1, + "_slow": 250, + "hooks": [], + "_testConfig": { + "testConfigList": [], + "unverifiedTestConfig": {} + }, + "_titlePath": [ + "", + "test 2" + ] + } + ], + "suites": [] + } + ], + "runtimeConfig": {}, + "totalUnfilteredTests": 0 + } + ], + "connectToBrowser": [ + true, + true + ], + "commandLogAdded": [ + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Earth", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Earth**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Mars?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Mars?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Mars", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Mars**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number" + }, + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Earth?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Earth?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "pending", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + } + ], + "commandLogChanged": [ + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Mars?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-10", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "Where's Earth?", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Mars?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-11", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "expected **** to have value **Where's Earth?**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-4", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-5", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Earth", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-6", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "Hello Mars", + "name": "type", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 4000, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "name": "before", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + }, + { + "name": "after", + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "coords": { + "top": "Any.Number", + "left": "Any.Number", + "topCenter": "Any.Number", + "leftCenter": "Any.Number", + "x": "Any.Number", + "y": "Any.Number" + }, + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Earth**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-7", + "event": false, + "hookId": "r3", + "instrument": "command", + "message": "expected **** to have value **Hello Mars**", + "name": "assert", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r3", + "timeout": 0, + "type": "child", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-8", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "", + "name": "mount", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": ":nth-child(1) > div" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#earth-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#earth-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + }, + { + "id": "log-http://localhost:2121-9", + "event": false, + "hookId": "r4", + "instrument": "command", + "message": "#mars-text", + "name": "get", + "numElements": 1, + "renderProps": {}, + "state": "passed", + "testId": "r4", + "timeout": 4000, + "type": "parent", + "url": "", + "visible": true, + "wallClockStartedAt": "Any.ISODate", + "testCurrentRetry": 0, + "snapshots": [ + { + "timestamp": "Any.Number", + "elementsToHighlight": [ + { + "selector": "#mars-text" + } + ] + } + ], + "createdAtTimestamp": "Any.Number", + "updatedAtTimestamp": "Any.Number", + "highlightAttr": "data-cypress-el" + } + ], + "viewportChanged": [], + "urlChanged": [ + { + "url": "http://localhost:2121/__cypress/iframes/index.html?specPath=/protocol/src/components/HelloEarth.cy.jsx", + "timestamp": "Any.Number" + }, + { + "url": "http://localhost:2121/__cypress/iframes/index.html?specPath=/protocol/src/components/HelloMars.cy.jsx", + "timestamp": "Any.Number" + } + ], + "pageLoading": [], + "resetTest": [], + "responseEndedWithEmptyBody": [ + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + }, + { + "requestId": "Any.Number", + "isCached": true + } ] } ` diff --git a/system-tests/lib/protocol-stubs/protocolStub.ts b/system-tests/lib/protocol-stubs/protocolStub.ts index 8927a4c9372a..2cb186c5a735 100644 --- a/system-tests/lib/protocol-stubs/protocolStub.ts +++ b/system-tests/lib/protocol-stubs/protocolStub.ts @@ -28,6 +28,7 @@ export class AppCaptureProtocol implements AppCaptureProtocolInterface { urlChanged: [], pageLoading: [], resetTest: [], + responseEndedWithEmptyBody: [], } getDbMetadata (): { offset: number, size: number } { @@ -50,6 +51,7 @@ export class AppCaptureProtocol implements AppCaptureProtocolInterface { this.events.viewportChanged = [] this.events.urlChanged = [] this.events.pageLoading = [] + this.events.responseEndedWithEmptyBody = [] } connectToBrowser = (cdpClient) => { @@ -98,13 +100,17 @@ export class AppCaptureProtocol implements AppCaptureProtocolInterface { } commandLogAdded = (log) => { - this.events.commandLogAdded.push(log) + // we only care about logs that occur during a test + if (log.testId) { + this.events.commandLogAdded.push(log) + } } commandLogChanged = (log) => { + // we only care about logs that occur during a test and // since the number of log changes can vary per run, we only want to record // the passed/failed ones to ensure the snapshot can be compared - if (log.state === 'passed' || log.state === 'failed') { + if (log.testId && (log.state === 'passed' || log.state === 'failed')) { this.events.commandLogChanged.push(log) } } @@ -133,11 +139,13 @@ export class AppCaptureProtocol implements AppCaptureProtocolInterface { return Promise.resolve() } + responseEndedWithEmptyBody = (options: ResponseEndedWithEmptyBodyOptions) => { + this.events.responseEndedWithEmptyBody.push(options) + } + resetTest (testId: string): void { this.resetEvents() this.events.resetTest.push(testId) } - - responseEndedWithEmptyBody: (options: ResponseEndedWithEmptyBodyOptions) => {} } diff --git a/system-tests/test/protocol_spec.js b/system-tests/test/protocol_spec.js index 60df02ddfc8a..9e89523dbc67 100644 --- a/system-tests/test/protocol_spec.js +++ b/system-tests/test/protocol_spec.js @@ -10,14 +10,16 @@ const { // source: https://www.myintervals.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/ const isoDateRegex = /"([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?"/g -const numberRegex = /"(wallClockDuration|fnDuration|afterFnDuration|lifecycle|duration|timestamp|createdAtTimestamp|updatedAtTimestamp|x|y|top|left|topCenter|leftCenter)": (0|[1-9]\d*)(\.\d+)?/g +const numberRegex = /"(wallClockDuration|fnDuration|afterFnDuration|lifecycle|duration|timestamp|createdAtTimestamp|updatedAtTimestamp|x|y|top|left|topCenter|leftCenter|requestId)": \"?(0|[1-9]\d*)(\.\d+)?\"?/g const pathRegex = /"(name|absoluteFile)": "\/[^"]+"/g +const componentSpecPathRegex = /"(url|message)": "(http:\/\/localhost:2121\/__cypress\/iframes\/index.html\?specPath=)(.*)(\/protocol\/src\/components\/)(.*)"/g const normalizeEvents = (resultsJson) => { return resultsJson - .replace(isoDateRegex, '"2015-03-18T00:00:00.000Z"') - .replace(numberRegex, '"$1": 100') + .replace(isoDateRegex, '"Any.ISODate"') + .replace(numberRegex, '"$1": "Any.Number"') .replace(pathRegex, '"$1": "/path/to/$1"') + .replace(componentSpecPathRegex, '"$1": "$2$4$5"') } const getFilePath = (filename) => { @@ -56,8 +58,7 @@ describe('capture-protocol', () => { }) }) - // TODO: skip for now because the component tests are failing with the new route consolidation logic - describe.skip('component', () => { + describe('component', () => { [true, false].forEach((experimentalSingleTabRunMode) => { it('verifies the protocol events are correct', function () { return systemTests.exec(this, { From 311001b7d1c0a6389e46bbefb9b7084392ffd6c9 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Wed, 20 Sep 2023 16:23:42 -0500 Subject: [PATCH 03/13] chore: improve logging on retried upload failures (#27847) --- packages/server/lib/cloud/protocol.ts | 12 +-- packages/server/lib/modes/record.js | 20 ++++- system-tests/__snapshots__/record_spec.js | 92 +++++++++++++++++++++-- system-tests/test/record_spec.js | 16 +++- 4 files changed, 125 insertions(+), 15 deletions(-) diff --git a/packages/server/lib/cloud/protocol.ts b/packages/server/lib/cloud/protocol.ts index 3631d173d711..e7bf72d3b0e5 100644 --- a/packages/server/lib/cloud/protocol.ts +++ b/packages/server/lib/cloud/protocol.ts @@ -25,7 +25,7 @@ const DELETE_DB = !process.env.CYPRESS_LOCAL_PROTOCOL_PATH // Timeout for upload const TWO_MINUTES = 120000 -const RETRY_DELAYS = [500, 100, 2000, 4000, 8000] +const RETRY_DELAYS = [500, 1000, 2000, 4000, 8000, 16000, 32000] const DB_SIZE_LIMIT = 5000000000 const dbSizeLimit = () => { @@ -278,7 +278,7 @@ export class ProtocolManager implements ProtocolManagerShape { debug(`uploading %s to %s with a file size of %s`, archivePath, uploadUrl, fileSize) - const retryRequest = async (retryCount: number) => { + const retryRequest = async (retryCount: number, errors: Error[]) => { try { if (fileSize > dbSizeLimit()) { throw new Error(`Spec recording too large: db is ${fileSize} bytes, limit is ${dbSizeLimit()} bytes`) @@ -327,16 +327,18 @@ export class ProtocolManager implements ProtocolManagerShape { debug(`retrying upload %o`, { retryCount }) await new Promise((resolve) => setTimeout(resolve, RETRY_DELAYS[retryCount])) - return await retryRequest(retryCount + 1) + return await retryRequest(retryCount + 1, [...errors, e]) } } - throw e + const totalErrors = [...errors, e] + + throw new AggregateError(totalErrors, e.message) } } try { - return await retryRequest(0) + return await retryRequest(0, []) } catch (e) { if (CAPTURE_ERRORS) { this._errors.push({ diff --git a/packages/server/lib/modes/record.js b/packages/server/lib/modes/record.js index 01f90aa46105..22997cbc4a75 100644 --- a/packages/server/lib/modes/record.js +++ b/packages/server/lib/modes/record.js @@ -287,6 +287,19 @@ const uploadArtifactBatch = async (artifacts, protocolManager, quiet) => { stack: err.stack, }) + if (err.errors) { + const lastError = _.last(err.errors) + + return { + key: artifact.reportKey, + success: false, + error: lastError.message, + allErrors: err.errors, + url: artifact.uploadUrl, + pathToFile: artifact.filePath, + } + } + return { key: artifact.reportKey, success: false, @@ -320,9 +333,14 @@ const uploadArtifactBatch = async (artifacts, protocolManager, quiet) => { return uploadResults.reduce((acc, { key, skipped, ...report }) => { if (key === 'protocol') { + const error = report.allErrors ? `Failed to upload after ${report.allErrors.length} attempts. Errors: ${report.allErrors.map((error) => error.message).join(', ')}` : report.error + return skipped && !report.error ? acc : { ...acc, - [key]: report, + [key]: { + ...report, + error, + }, } } diff --git a/system-tests/__snapshots__/record_spec.js b/system-tests/__snapshots__/record_spec.js index a592cf617c90..25e60b8a49b2 100644 --- a/system-tests/__snapshots__/record_spec.js +++ b/system-tests/__snapshots__/record_spec.js @@ -3387,7 +3387,88 @@ exports['e2e record capture-protocol enabled protocol runtime errors error in pr ` -exports['capture-protocol api errors upload 500 - retries 6 times continues 1'] = ` +exports['e2e record capture-protocol enabled protocol runtime errors error in protocol beforeTest displays the error and reports the fatal error to the cloud via artifacts 1'] = ` + +==================================================================================================== + + (Run Starting) + + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ + │ Cypress: 1.2.3 │ + │ Browser: FooBrowser 88 │ + │ Specs: 1 found (record_pass.cy.js) │ + │ Searched: cypress/e2e/record_pass* │ + │ Params: Tag: false, Group: false, Parallel: false │ + │ Run URL: https://dashboard.cypress.io/projects/cjvoj7/runs/12 │ + └────────────────────────────────────────────────────────────────────────────────────────────────┘ + + +──────────────────────────────────────────────────────────────────────────────────────────────────── + + Running: record_pass.cy.js (1 of 1) + Estimated: X second(s) + + + record pass + ✓ passes + - is pending + + + 1 passing + 1 pending + + + (Results) + + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ + │ Tests: 2 │ + │ Passing: 1 │ + │ Failing: 0 │ + │ Pending: 1 │ + │ Skipped: 0 │ + │ Screenshots: 1 │ + │ Video: false │ + │ Duration: X seconds │ + │ Estimated: X second(s) │ + │ Spec Ran: record_pass.cy.js │ + └────────────────────────────────────────────────────────────────────────────────────────────────┘ + + + (Screenshots) + + - /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png (400x1022) + + + (Uploading Cloud Artifacts) + + - Video - Nothing to upload + - Screenshot - 1 kB /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png + - Test Replay - Failed Capturing - error in beforeTest + + (Uploaded Cloud Artifacts) + + - Screenshot - Done Uploading 1 kB 1/1 /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png + +==================================================================================================== + + (Run Finished) + + + Spec Tests Passing Failing Pending Skipped + ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ + │ ✔ record_pass.cy.js XX:XX 2 1 - 1 - │ + └────────────────────────────────────────────────────────────────────────────────────────────────┘ + ✔ All specs passed! XX:XX 2 1 - 1 - + + +─────────────────────────────────────────────────────────────────────────────────────────────────────── + + Recorded Run: https://dashboard.cypress.io/projects/cjvoj7/runs/12 + + +` + +exports['capture-protocol api errors upload 500 - retries 8 times continues 1'] = ` ==================================================================================================== @@ -3469,7 +3550,7 @@ exports['capture-protocol api errors upload 500 - retries 6 times continues 1'] ` -exports['capture-protocol api errors upload 500 - retries 5 times and succeeds on the last call continues 1'] = ` +exports['capture-protocol api errors upload 500 - retries 7 times and succeeds on the last call continues 1'] = ` ==================================================================================================== @@ -3551,7 +3632,7 @@ exports['capture-protocol api errors upload 500 - retries 5 times and succeeds o ` -exports['e2e record capture-protocol enabled protocol runtime errors error in protocol beforeTest displays the error and reports the fatal error to the cloud via artifacts 1'] = ` +exports['capture-protocol api errors upload 500 - retries 8 times and fails continues 1'] = ` ==================================================================================================== @@ -3607,11 +3688,12 @@ exports['e2e record capture-protocol enabled protocol runtime errors error in pr - Video - Nothing to upload - Screenshot - 1 kB /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png - - Test Replay - Failed Capturing - error in beforeTest + - Test Replay (Uploaded Cloud Artifacts) - - Screenshot - Done Uploading 1 kB 1/1 /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png + - Screenshot - Done Uploading 1 kB 1/2 /XXX/XXX/XXX/cypress/screenshots/record_pass.cy.js/yay it passes.png + - Test Replay - Failed Uploading 2/2 - Internal Server Error ==================================================================================================== diff --git a/system-tests/test/record_spec.js b/system-tests/test/record_spec.js index 6bbdf75c937f..97a4348d0788 100644 --- a/system-tests/test/record_spec.js +++ b/system-tests/test/record_spec.js @@ -2322,7 +2322,6 @@ describe('e2e record', () => { }) it('displays error and does not upload if db size is too large', function () { - // have to write the db to fs here instead of in the t return systemTests.exec(this, { key: 'f858a2bc-b469-4e48-be67-0876339ee7e1', configFile: 'cypress-with-project-id.config.js', @@ -2477,7 +2476,7 @@ describe('capture-protocol api errors', () => { })) } - describe('upload 500 - retries 6 times', () => { + describe('upload 500 - retries 8 times and fails', () => { stubbedServerWithErrorOn('putCaptureProtocolUpload') it('continues', function () { process.env.API_RETRY_INTERVALS = '1000' @@ -2488,12 +2487,21 @@ describe('capture-protocol api errors', () => { spec: 'record_pass*', record: true, snapshot: true, + }).then(() => { + const urls = getRequestUrls() + + expect(urls).to.include.members([`PUT /instances/${instanceId}/artifacts`]) + + const artifactReport = getRequests().find(({ url }) => url === `PUT /instances/${instanceId}/artifacts`)?.body + + expect(artifactReport?.protocol).to.exist() + expect(artifactReport?.protocol?.error).to.equal('Failed to upload after 8 attempts. Errors: Internal Server Error, Internal Server Error, Internal Server Error, Internal Server Error, Internal Server Error, Internal Server Error, Internal Server Error, Internal Server Error') }) }) }) - describe('upload 500 - retries 5 times and succeeds on the last call', () => { - stubbedServerWithErrorOn('putCaptureProtocolUpload', 5) + describe('upload 500 - retries 7 times and succeeds on the last call', () => { + stubbedServerWithErrorOn('putCaptureProtocolUpload', 7) let archiveFile = '' From 3477e4d39614273347054f7858863276ac00e295 Mon Sep 17 00:00:00 2001 From: Adam Stone-Lord Date: Wed, 20 Sep 2023 17:24:43 -0400 Subject: [PATCH 04/13] chore: remove Github Action for triggering CircleCI pipeline (#27865) --- .github/workflows/trigger_circleci.yml | 47 -------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/trigger_circleci.yml diff --git a/.github/workflows/trigger_circleci.yml b/.github/workflows/trigger_circleci.yml deleted file mode 100644 index 1386ec551beb..000000000000 --- a/.github/workflows/trigger_circleci.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: "Trigger CircleCi Pipeline" - -on: - pull_request_target: - types: - - opened - - ready_for_review - -jobs: - main: - name: Trigger CircleCi Pipeline when PR is ready for review - runs-on: ubuntu-latest - steps: - - if: ${{ github.event.pull_request.draft == false }} - shell: bash - env: - CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }} - BASE_ORG_AND_REPO: ${{ github.event.pull_request.head.full_name }} - PULL_ID: ${{ github.event.pull_request.number }} - run: | - if [[ "${CIRCLE_TOKEN}" == "" ]]; then - echo "The CIRCLE_TOKEN is unset. Cannot trigger pipeline..." - exit 1; - fi - - BRANCH="$GITHUB_HEAD_REF" - - if [[ "$BASE_ORG_AND_REPO" != "cypress-io/cypress" ]]; then - echo "Triggering CircleCi pipeline for outside contributor." - BRANCH="pull/$PULL_ID/head" - fi - - echo "Triggering CircleCi pipeline for $BRANCH" - - response=$(curl -X POST https://circleci.com/api/v2/project/github/cypress-io/cypress/pipeline \ - --header "Circle-Token:$CIRCLE_TOKEN" \ - --header "content-type:application/json" \ - --data "{\"branch\":\"$BRANCH\"}" \ - --silent - ) - - echo "$response" - - if [ "$(jq 'has("message")' <<< $response )" == "true" ]; then - echo "Error triggering pipeline..." - exit 1; - fi From 887cd404515225d66ce2dbd3abe9e71666f593be Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 09:05:33 -0400 Subject: [PATCH 05/13] dependency(deps): update dependency electron to v25.8.1 [security] (#27837) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ben M --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 103b98f2fcd1..8c90cc0b827f 100644 --- a/package.json +++ b/package.json @@ -146,7 +146,7 @@ "dedent": "^0.7.0", "del": "3.0.0", "detect-port": "^1.3.0", - "electron": "25.8.0", + "electron": "25.8.1", "electron-builder": "^23.6.0", "enzyme-adapter-react-16": "1.12.1", "eslint": "7.22.0", diff --git a/yarn.lock b/yarn.lock index 33f62e2a3034..d59566062e17 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13508,10 +13508,10 @@ electron-to-chromium@^1.4.477: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.480.tgz#40e32849ca50bc23ce29c1516c5adb3fddac919d" integrity sha512-IXTgg+bITkQv/FLP9FjX6f9KFCs5hQWeh5uNSKxB9mqYj/JXhHDbu+ekS43LVvbkL3eW6/oZy4+r9Om6lan1Uw== -electron@25.8.0: - version "25.8.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-25.8.0.tgz#60c84f1f256924ac5a0aff13276b901b0c43767a" - integrity sha512-T3kC1a/3ntSaYMCVVfUUc9v7myPzi6J2GP0Ad/CyfWKDPp054dGyKxb2EEjKnxQQ7wfjsT1JTEdBG04x6ekVBw== +electron@25.8.1: + version "25.8.1" + resolved "https://registry.yarnpkg.com/electron/-/electron-25.8.1.tgz#092fab5a833db4d9240d4d6f36218cf7ca954f86" + integrity sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ== dependencies: "@electron/get" "^2.0.0" "@types/node" "^18.11.18" From 154311a457fb545f7210bc5f39edac97b528ade9 Mon Sep 17 00:00:00 2001 From: Adam Stone-Lord Date: Thu, 21 Sep 2023 11:19:37 -0400 Subject: [PATCH 06/13] chore: gate restricted contexts with approval job for contributor workflow (#27862) --- .circleci/workflows.yml | 70 ++++++++++++++++++----------------------- CONTRIBUTING.md | 2 ++ 2 files changed, 32 insertions(+), 40 deletions(-) diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 30f82ce838e8..7eaecde9f8da 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -2898,6 +2898,14 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow - build: requires: - node_modules_install + + # In subsequent jobs, we use some contexts that are restricted to members of the Cypress organization. + # This job will allow for a Cypress member to approve and run the rest of the restricted jobs in the pipeline after the contributor code has been reviewed. + - contributor-pr: + type: approval + requires: + - build + - check-ts: requires: - build @@ -2909,7 +2917,7 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow context: [test-runner:poll-circle-workflow, test-runner:percy] required_env_var: PERCY_TOKEN # skips job if not defined (external PR) requires: - - build + - contributor-pr - lint-types: requires: - build @@ -2917,14 +2925,14 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow - cli-visual-tests: context: test-runner:percy requires: - - build + - contributor-pr - unit-tests: requires: - build - verify-release-readiness: context: test-runner:npm-release requires: - - build + - contributor-pr - server-unit-tests: requires: - build @@ -2937,7 +2945,7 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow - system-tests-node-modules-install: context: test-runner:performance-tracking requires: - - build + - contributor-pr - system-tests-chrome: context: test-runner:performance-tracking requires: @@ -2962,23 +2970,23 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow - driver-integration-tests-chrome: context: test-runner:cypress-record-key requires: - - build + - contributor-pr - driver-integration-tests-chrome-beta: context: test-runner:cypress-record-key requires: - - build + - contributor-pr - driver-integration-tests-firefox: context: test-runner:cypress-record-key requires: - - build + - contributor-pr - driver-integration-tests-electron: context: test-runner:cypress-record-key requires: - - build + - contributor-pr - driver-integration-tests-webkit: context: test-runner:cypress-record-key requires: - - build + - contributor-pr - driver-integration-memory-tests: requires: - build @@ -2986,22 +2994,22 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] percy: true requires: - - build + - contributor-pr - run-launchpad-integration-tests-chrome: context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] percy: true requires: - - build + - contributor-pr - run-launchpad-component-tests-chrome: context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] percy: true requires: - - build + - contributor-pr - run-app-integration-tests-chrome: context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] percy: true requires: - - build + - contributor-pr - run-webpack-dev-server-integration-tests: context: [test-runner:cypress-record-key, test-runner:percy] requires: @@ -3014,16 +3022,16 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy] percy: true requires: - - build + - contributor-pr - run-reporter-component-tests-chrome: context: [test-runner:cypress-record-key, test-runner:percy] percy: true requires: - - build + - contributor-pr - reporter-integration-tests: context: [test-runner:cypress-record-key, test-runner:percy] requires: - - build + - contributor-pr - npm-webpack-dev-server: requires: - system-tests-node-modules-install @@ -3167,28 +3175,16 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow - run-vite-dev-server-integration-tests - v8-integration-tests - # This approval job will block the building of the binary on contributor jobs - # If a member of the Cypress team manually approves this job, then it will run with the required contexts - - approve-binary-build: - type: approval - requires: - - build - - create-and-trigger-packaging-artifacts: - context: - - test-runner:upload - - test-runner:build-binary - - publish-binary + context: [test-runner:upload, test-runner:build-binary, publish-binary] requires: - - approve-binary-build + - contributor-pr - wait-for-binary-publish: type: approval requires: - create-and-trigger-packaging-artifacts - get-published-artifacts: - context: - - publish-binary - - test-runner:commit-status-checks + context: [publish-binary, test-runner:commit-status-checks] requires: - wait-for-binary-publish # various testing scenarios, like building full binary @@ -3287,11 +3283,7 @@ linux-arm64-workflow: &linux-arm64-workflow - create-and-trigger-packaging-artifacts: name: linux-arm64-create-and-trigger-packaging-artifacts - context: - - test-runner:upload - - test-runner:commit-status-checks - - test-runner:build-binary - - publish-binary + context: [test-runner:upload, test-runner:commit-status-checks, test-runner:build-binary, publish-binary] executor: linux-arm64 resource_class: arm.medium requires: @@ -3305,9 +3297,7 @@ linux-arm64-workflow: &linux-arm64-workflow - get-published-artifacts: name: linux-arm64-get-published-artifacts - context: - - publish-binary - - test-runner:commit-status-checks + context: [publish-binary, test-runner:commit-status-checks] executor: linux-arm64 resource_class: arm.medium requires: @@ -3529,4 +3519,4 @@ workflows: <<: *darwin-workflow-filters windows: <<: *windows-workflow - <<: *windows-workflow-filters + <<: *windows-workflow-filters \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f562577b436..b2ba87e7ee8c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -363,6 +363,8 @@ Additionally, we test the code by running it against various other example proje If you're curious how we manage all of these tests in CI check out our [CircleCI config](.circleci/config.yml). +Some of our test jobs in CircleCI require access to environment variables that are sensitive and are restricted to Cypress maintainers only. If you are not a Cypress maintainer, when your CI job runs, only a subset of jobs will run at first. A Cypress maintainer will need to approve the `contributor-pr` job in your workflow in order for your CI pipeline to complete. + #### Docker Sometimes tests pass locally, but fail in CI. Our CI environment is dockerized. In order to run the image used in CI locally: From ce17a4446e49c5469b7f1b55a3268427ca554088 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Thu, 21 Sep 2023 15:08:57 -0500 Subject: [PATCH 07/13] fix: issue with font flooding (#27860) --- cli/CHANGELOG.md | 8 +++- .../cypress/e2e/commands/actions/click.cy.js | 4 ++ .../driver/cypress/e2e/dom/visibility.cy.ts | 25 ++++++++++- packages/driver/src/cy/actionability.ts | 44 ++++++++++++++----- .../src/dom/elements/complexElements.ts | 6 +++ .../driver/src/dom/elements/nativeProps.ts | 5 +++ 6 files changed, 78 insertions(+), 14 deletions(-) diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 6418a505b6e8..ba25f12c8e92 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -7,6 +7,10 @@ _Released 09/19/2023 (PENDING)_ - Introduces new layout for Runs page providing additional run information. Addresses [#27203](https://github.com/cypress-io/cypress/issues/27203). +**Bugfixes:** + +- Fixed an issue where actionability checks trigger a flood of font requests. Removing the font requests has the potential to improve performance and removes clutter from Test Replay. Addressed in [#27860](https://github.com/cypress-io/cypress/pull/27860) + ## 13.2.0 _Released 09/12/2023_ @@ -17,7 +21,7 @@ _Released 09/12/2023_ **Bugfixes:** -- Edge cases where `cy.intercept()` would not properly intercept and asset response bodies would not properly be captured for test replay have been addressed. Addressed in [#27771](https://github.com/cypress-io/cypress/pull/27771). +- Edge cases where `cy.intercept()` would not properly intercept and asset response bodies would not properly be captured for Test Replay have been addressed. Addressed in [#27771](https://github.com/cypress-io/cypress/pull/27771). - Fixed an issue where `enter`, `keyup`, and `space` events were not triggering `click` events properly in some versions of Firefox. Addressed in [#27715](https://github.com/cypress-io/cypress/pull/27715). - Fixed a regression in `13.0.0` where tests using Basic Authorization can potentially hang indefinitely on chromium browsers. Addressed in [#27781](https://github.com/cypress-io/cypress/pull/27781). - Fixed a regression in `13.0.0` where component tests using an intercept that matches all requests can potentially hang indefinitely. Addressed in [#27788](https://github.com/cypress-io/cypress/pull/27788). @@ -37,7 +41,7 @@ _Released 08/31/2023_ **Bugfixes:** - Fixed a regression introduced in Cypress [13.0.0](#13-0-0) where the [Module API](https://docs.cypress.io/guides/guides/module-api), [`after:run`](https://docs.cypress.io/api/plugins/after-run-api), and [`after:spec`](https://docs.cypress.io/api/plugins/after-spec-api) results did not include the `stats.skipped` field for each run result. Fixes [#27694](https://github.com/cypress-io/cypress/issues/27694). Addressed in [#27695](https://github.com/cypress-io/cypress/pull/27695). -- Individual CDP errors that occur while capturing data for test replay will no longer prevent the entire run from being available. Addressed in [#27709](https://github.com/cypress-io/cypress/pull/27709). +- Individual CDP errors that occur while capturing data for Test Replay will no longer prevent the entire run from being available. Addressed in [#27709](https://github.com/cypress-io/cypress/pull/27709). - Fixed an issue where the release date on the `v13` landing page was a day behind. Fixed in [#27711](https://github.com/cypress-io/cypress/pull/27711). - Fixed an issue where fatal protocol errors would leak between specs causing all subsequent specs to fail to upload protocol information. Fixed in [#27720](https://github.com/cypress-io/cypress/pull/27720) - Updated `plist` from `3.0.6` to `3.1.0` to address [CVE-2022-37616](https://github.com/advisories/GHSA-9pgh-qqpf-7wqj) and [CVE-2022-39353](https://github.com/advisories/GHSA-crh6-fp67-6883). Fixed in [#27710](https://github.com/cypress-io/cypress/pull/27710). diff --git a/packages/driver/cypress/e2e/commands/actions/click.cy.js b/packages/driver/cypress/e2e/commands/actions/click.cy.js index 97fe26a7b6a0..de682862ce0e 100644 --- a/packages/driver/cypress/e2e/commands/actions/click.cy.js +++ b/packages/driver/cypress/e2e/commands/actions/click.cy.js @@ -1678,12 +1678,16 @@ describe('src/cy/commands/actions/click', () => { it('can scroll to and click elements in html with scroll-behavior: smooth', () => { cy.get('html').invoke('css', 'scrollBehavior', 'smooth') cy.get('#table tr:first').click() + // Validate that the scrollBehavior is still smooth even after the actionability fixes we do + cy.get('html').invoke('css', 'scrollBehavior').then((scrollBehavior) => expect(scrollBehavior).to.eq('smooth')) }) // https://github.com/cypress-io/cypress/issues/3200 it('can scroll to and click elements in ancestor element with scroll-behavior: smooth', () => { cy.get('#dom').invoke('css', 'scrollBehavior', 'smooth') cy.get('#table tr:first').click() + // Validate that the scrollBehavior is still smooth even after the actionability fixes we do + cy.get('#dom').invoke('css', 'scrollBehavior').then((scrollBehavior) => expect(scrollBehavior).to.eq('smooth')) }) }) }) diff --git a/packages/driver/cypress/e2e/dom/visibility.cy.ts b/packages/driver/cypress/e2e/dom/visibility.cy.ts index 903be554218a..adaa51f99b81 100644 --- a/packages/driver/cypress/e2e/dom/visibility.cy.ts +++ b/packages/driver/cypress/e2e/dom/visibility.cy.ts @@ -53,7 +53,7 @@ describe('src/cypress/dom/visibility', () => { expect(fn()).to.be.true }) - it('returns false window and body > window height', () => { + it('returns false if window and body < window height', () => { cy.$$('body').html('
foo
') const win = cy.state('window') @@ -65,6 +65,29 @@ describe('src/cypress/dom/visibility', () => { expect(fn()).to.be.false }) + it('returns true if document element and body > window height', function () { + this.add('
') + const documentElement = Cypress.dom.wrap(cy.state('document').documentElement) + + const fn = () => { + return dom.isScrollable(documentElement) + } + + expect(fn()).to.be.true + }) + + it('returns false if document element and body < window height', () => { + cy.$$('body').html('
foo
') + + const documentElement = Cypress.dom.wrap(cy.state('document').documentElement) + + const fn = () => { + return dom.isScrollable(documentElement) + } + + expect(fn()).to.be.false + }) + it('returns false el is not scrollable', function () { const noScroll = this.add(`\
diff --git a/packages/driver/src/cy/actionability.ts b/packages/driver/src/cy/actionability.ts index fa98fcf00f47..38db91c94eb0 100644 --- a/packages/driver/src/cy/actionability.ts +++ b/packages/driver/src/cy/actionability.ts @@ -8,6 +8,7 @@ import $utils from './../cypress/utils' import type { ElWindowPostion, ElViewportPostion, ElementPositioning } from '../dom/coordinates' import $elements from '../dom/elements' import $errUtils from '../cypress/error_utils' +import { callNativeMethod, getNativeProp } from '../dom/elements/nativeProps' const debug = debugFn('cypress:driver:actionability') const delay = 50 @@ -460,24 +461,46 @@ const verify = function (cy, $el, config, options, callbacks: VerifyCallbacks) { // make scrolling occur instantly. we do this by adding a style tag // and then removing it after we finish scrolling // https://github.com/cypress-io/cypress/issues/3200 - const addScrollBehaviorFix = () => { - let style + const addScrollBehaviorFix = (element: JQuery) => { + const affectedParents: Map = new Map() try { - const doc = $el.get(0).ownerDocument + let parent: JQuery | null = element - style = doc.createElement('style') - style.innerHTML = '* { scroll-behavior: inherit !important; }' - // there's guaranteed to be a