From 55e4898a143c96acb71f9585a410593e04f6dbad Mon Sep 17 00:00:00 2001
From: Bill Glesias
Date: Tue, 16 Jan 2024 16:11:32 -0500
Subject: [PATCH 001/127] chore: fix broken links in changelog (#28732)
---
cli/CHANGELOG.md | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md
index 3dda104e7441..9ebea2a9bfda 100644
--- a/cli/CHANGELOG.md
+++ b/cli/CHANGELOG.md
@@ -10,17 +10,17 @@ _Released 1/16/2024_
- Now `node_modules` will not be ignored if a project path or a provided path to spec files contains it. Fixes [#23616](https://github.com/cypress-io/cypress/issues/23616).
- Updated display of assertions and commands with a URL argument to escape markdown formatting so that values are displayed as is and assertion values display as bold. Fixes [#24960](https://github.com/cypress-io/cypress/issues/24960) and [#28100](https://github.com/cypress-io/cypress/issues/28100).
- When generating assertions via Cypress Studio, the preview of the generated assertions now correctly displays the past tense of 'expected' instead of 'expect'. Fixed in [#28593](https://github.com/cypress-io/cypress/pull/28593).
-- Fixed a regression in [`13.6.2`](https://docs.cypress.io/guides/references/changelog/13.6.2) where the `body` element was not highlighted correctly in Test Replay. Fixed in [#28627](https://github.com/cypress-io/cypress/pull/28627).
+- Fixed a regression in [`13.6.2`](https://docs.cypress.io/guides/references/changelog#13.6.2) where the `body` element was not highlighted correctly in Test Replay. Fixed in [#28627](https://github.com/cypress-io/cypress/pull/28627).
- Correctly sync `Cypress.currentRetry` with secondary origin so test retries that leverage `cy.origin()` render logs as expected. Fixes [#28574](https://github.com/cypress-io/cypress/issues/28574).
- Fixed an issue where some cross-origin logs, like assertions or cy.clock(), were getting too many dom snapshots. Fixes [#28609](https://github.com/cypress-io/cypress/issues/28609).
-- Fixed asset capture for Test Replay for requests that are routed through service workers. This addresses an issue where styles were not being applied properly in Test Replay and `cy.intercept` was not working properly for requests in this scenario. Fixes [#28516](https://github.com/cypress-io/cypress/issues/28516).
+- Fixed asset capture for Test Replay for requests that are routed through service workers. This addresses an issue where styles were not being applied properly in Test Replay and `cy.intercept()` was not working properly for requests in this scenario. Fixes [#28516](https://github.com/cypress-io/cypress/issues/28516).
- Fixed an issue where visiting an `http://` site would result in an infinite reload/redirect loop in Chrome 114+. Fixes [#25891](https://github.com/cypress-io/cypress/issues/25891).
- Fixed an issue where requests made from extra tabs do not include their original headers. Fixes [#28641](https://github.com/cypress-io/cypress/issues/28641).
- Fixed an issue where `cy.wait()` would sometimes throw an error reading a property of undefined when returning responses. Fixes [#28233](https://github.com/cypress-io/cypress/issues/28233).
**Performance:**
-- Fixed a performance regression from [`13.3.2`](https://docs.cypress.io/guides/references/changelog/13.3.2) where requests may not correlate correctly when test isolation is off. Fixes [#28545](https://github.com/cypress-io/cypress/issues/28545).
+- Fixed a performance regression from [`13.3.2`](https://docs.cypress.io/guides/references/changelog#13.3.2) where requests may not correlate correctly when test isolation is off. Fixes [#28545](https://github.com/cypress-io/cypress/issues/28545).
**Dependency Updates:**
@@ -40,8 +40,8 @@ _Released 12/26/2023_
**Bugfixes:**
-- Fixed a regression in [`13.6.1`](https://docs.cypress.io/guides/references/changelog/13.6.1) where a malformed URI would crash Cypress. Fixes [#28521](https://github.com/cypress-io/cypress/issues/28521).
-- Fixed a regression in [`12.4.0`](https://docs.cypress.io/guides/references/changelog/12.4.0) where erroneous `
` tags were displaying in error messages in the Command Log making them less readable. Fixes [#28452](https://github.com/cypress-io/cypress/issues/28452).
+- Fixed a regression in [`13.6.1`](https://docs.cypress.io/guides/references/changelog#13.6.1) where a malformed URI would crash Cypress. Fixes [#28521](https://github.com/cypress-io/cypress/issues/28521).
+- Fixed a regression in [`12.4.0`](https://docs.cypress.io/guides/references/changelog#12.4.0) where erroneous `
` tags were displaying in error messages in the Command Log making them less readable. Fixes [#28452](https://github.com/cypress-io/cypress/issues/28452).
**Performance:**
@@ -99,7 +99,7 @@ _Released 11/14/2023_
**Bugfixes:**
-- Fixed a regression in [`13.5.0`](https://docs.cypress.io/guides/references/changelog/13.5.0) where requests cached within a given spec may take longer to load than they did previously. Addresses [#28295](https://github.com/cypress-io/cypress/issues/28295).
+- Fixed a regression in [`13.5.0`](https://docs.cypress.io/guides/references/changelog#13.5.0) where requests cached within a given spec may take longer to load than they did previously. Addresses [#28295](https://github.com/cypress-io/cypress/issues/28295).
- Fixed an issue where pages opened in a new tab were missing response headers, causing them not to load properly. Fixes [#28293](https://github.com/cypress-io/cypress/issues/28293) and [#28303](https://github.com/cypress-io/cypress/issues/28303).
- We now pass a flag to Chromium browsers to disable default component extensions. This is a common flag passed during browser automation. Fixed in [#28294](https://github.com/cypress-io/cypress/pull/28294).
@@ -114,7 +114,7 @@ _Released 11/8/2023_
**Bugfixes:**
- Fixed an issue in chromium based browsers, where global style updates can trigger flooding of font face requests in DevTools and Test Replay. This can affect performance due to the flooding of messages in CDP. Fixes [#28150](https://github.com/cypress-io/cypress/issues/28150) and [#28215](https://github.com/cypress-io/cypress/issues/28215).
-- Fixed a regression in [`13.3.3`](https://docs.cypress.io/guides/references/changelog/13.3.3) where Cypress would hang on loading shared workers when using `cy.reload` to reload the page. Fixes [#28248](https://github.com/cypress-io/cypress/issues/28248).
+- Fixed a regression in [`13.3.3`](https://docs.cypress.io/guides/references/changelog#13.3.3) where Cypress would hang on loading shared workers when using `cy.reload` to reload the page. Fixes [#28248](https://github.com/cypress-io/cypress/issues/28248).
- Fixed an issue where network requests made from tabs, or windows other than the main Cypress tab, would be delayed. Fixes [#28113](https://github.com/cypress-io/cypress/issues/28113).
- Fixed an issue with 'other' targets (e.g. pdf documents embedded in an object tag) not fully loading. Fixes [#28228](https://github.com/cypress-io/cypress/issues/28228) and [#28162](https://github.com/cypress-io/cypress/issues/28162).
- Fixed an issue where clicking a link to download a file could cause a page load timeout when the download attribute was missing. Note: download behaviors in experimental Webkit are still an issue. Fixes [#14857](https://github.com/cypress-io/cypress/issues/14857).
@@ -133,7 +133,7 @@ _Released 10/30/2023_
**Bugfixes:**
-- Fixed a regression in [`13.3.2`](https://docs.cypress.io/guides/references/changelog/13.3.2) where Cypress would crash with 'Inspected target navigated or closed' or 'Session with given id not found'. Fixes [#28141](https://github.com/cypress-io/cypress/issues/28141) and [#28148](https://github.com/cypress-io/cypress/issues/28148).
+- Fixed a regression in [`13.3.2`](https://docs.cypress.io/guides/references/changelog#13.3.2) where Cypress would crash with 'Inspected target navigated or closed' or 'Session with given id not found'. Fixes [#28141](https://github.com/cypress-io/cypress/issues/28141) and [#28148](https://github.com/cypress-io/cypress/issues/28148).
## 13.3.3
From 325be635d6de4d251d5894efc6e1364bc3379e32 Mon Sep 17 00:00:00 2001
From: Adam Stone-Lord
Date: Wed, 17 Jan 2024 10:48:34 -0700
Subject: [PATCH 002/127] chore: skip Snyk jobs on PRs created from repo forks
(#28093)
---
.github/workflows/snyk_sca_scan.yaml | 2 ++
.github/workflows/snyk_static_analysis_scan.yaml | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/snyk_sca_scan.yaml b/.github/workflows/snyk_sca_scan.yaml
index eb2c591908e0..39dcd7df1582 100644
--- a/.github/workflows/snyk_sca_scan.yaml
+++ b/.github/workflows/snyk_sca_scan.yaml
@@ -13,6 +13,8 @@ on:
- develop
jobs:
Snyk_SCA_Scan:
+ # Skip this job on PRs from forks
+ if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
strategy:
matrix:
diff --git a/.github/workflows/snyk_static_analysis_scan.yaml b/.github/workflows/snyk_static_analysis_scan.yaml
index bf33e1f65e98..32cea580f92a 100644
--- a/.github/workflows/snyk_static_analysis_scan.yaml
+++ b/.github/workflows/snyk_static_analysis_scan.yaml
@@ -8,7 +8,9 @@ on:
branches:
- develop
jobs:
- Snyk_SAST_Scan :
+ Snyk_SAST_Scan:
+ # Skip this job on PRs from forks
+ if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout
From 099c4f1b44750e72dbb07ac877a8f02aec80d58f Mon Sep 17 00:00:00 2001
From: Jon Hermansen
Date: Wed, 17 Jan 2024 14:53:06 -0500
Subject: [PATCH 003/127] misc: Add missing properties to Cypress.spec type
(#28005)
* chore: Add missing properties to Cypress.spec type
* Integrate PR suggestions
* Make some fields optional to hopefully fix the build
---------
Co-authored-by: Jennifer Shehane
Co-authored-by: Chris Breiding
---
cli/types/cypress.d.ts | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/cli/types/cypress.d.ts b/cli/types/cypress.d.ts
index cbf91d0cf250..75f09a440bb6 100644
--- a/cli/types/cypress.d.ts
+++ b/cli/types/cypress.d.ts
@@ -291,10 +291,14 @@ declare namespace Cypress {
*/
interface Spec {
name: string // "config_passing_spec.js"
- relative: string // "cypress/integration/config_passing_spec.js" or "__all" if clicked all specs button
- absolute: string // "/Users/janelane/app/cypress/integration/config_passing_spec.js"
+ relative: string // "cypress/e2e/config_passing_spec.cy.js" or "__all" if clicked all specs button
+ absolute: string // "/Users/janelane/app/cypress/e2e/config_passing_spec.cy.js"
specFilter?: string // optional spec filter used by the user
specType?: CypressSpecType
+ baseName?: string // "config_passing_spec.cy.js"
+ fileExtension?: string // ".js"
+ fileName?: string // "config_passing_spec.cy"
+ id?: string // "U3BlYzovVXNlcnMvamFuZWxhbmUvYXBwL2N5cHJlc3MvZTJlL2NvbmZpZ19wYXNzaW5nX3NwZWMuY3kuanM="
}
/**
From 1a80427537133686bf1cf012b3ddafabd29f6d87 Mon Sep 17 00:00:00 2001
From: Emily Rohrbough
Date: Wed, 17 Jan 2024 21:15:42 -0600
Subject: [PATCH 004/127] chore: remove stale snapshots & duplicate tests
(#28741)
---
.circleci/workflows.yml | 45 +-
.../cypress/e2e/commands/actions/select.cy.js | 6 -
.../cypress/e2e/commands/screenshot.cy.js | 21 -
.../cypress/e2e/cypress/error_utils.cy.ts | 11 -
.../launchpad/cypress/e2e/migration.cy.ts | 49 -
.../__snapshots__/retries.mochaEvents.cy.js | 7512 -----------------
.../__snapshots__/runner.mochaEvents.cy.js | 55 -
.../__snapshots__/studio.mochaEvents.cy.js | 2872 -------
8 files changed, 16 insertions(+), 10555 deletions(-)
delete mode 100644 packages/runner/__snapshots__/retries.mochaEvents.cy.js
delete mode 100644 packages/runner/__snapshots__/runner.mochaEvents.cy.js
delete mode 100644 packages/runner/__snapshots__/studio.mochaEvents.cy.js
diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml
index 5fb8141292bb..b852f9f1400b 100644
--- a/.circleci/workflows.yml
+++ b/.circleci/workflows.yml
@@ -2397,35 +2397,29 @@ jobs:
description: Executor name to use
type: executor
default: cy-doc
- wd:
- description: Working directory, should be OUTSIDE cypress monorepo folder
- type: string
- default: /root/test-full-typescript
<<: *defaults
resource_class: small
steps:
- maybe_skip_binary_jobs
- restore_workspace_binaries
- - run: mkdir <>
+ - clone-repo-and-checkout-branch:
+ repo: cypress-test-tiny
- run:
- name: Create new NPM package ⚗️
- working_directory: <>
- command: npm init -y
+ name: Checkout Typescript Example
+ working_directory: /tmp/cypress-test-tiny
+ command: |
+ git checkout full-typescript
- run:
name: Install dependencies 📦
- working_directory: <>
+ working_directory: /tmp/cypress-test-tiny
environment:
CYPRESS_INSTALL_BINARY: /root/cypress/cypress.zip
command: |
npm install /root/cypress/cypress.tgz typescript
- - run:
- name: Scaffold full TypeScript project 🏗
- working_directory: <>
- command: npx @bahmutov/cly@1.9.0 init --typescript
- run:
name: Run project tests 🗳
- working_directory: <>
- command: npx cypress run
+ working_directory: /tmp/cypress-test-tiny
+ command: npm run cypress:run
# install NPM + binary zip and run against staging API
test-binary-against-staging:
@@ -2564,6 +2558,8 @@ jobs:
steps:
- maybe_skip_binary_jobs
- restore_workspace_binaries
+ - clone-repo-and-checkout-branch:
+ repo: cypress-test-tiny
# the user should be "node"
- run: whoami
- run: pwd
@@ -2574,36 +2570,27 @@ jobs:
# make sure the binary and NPM package files are present
- run: ls -l
- run: ls -l cypress.zip cypress.tgz
- - run: mkdir test-binary
- - run:
- name: Create new NPM package
- working_directory: test-binary
- command: npm init -y
- run:
# install NPM from built NPM package folder
name: Install Cypress
- working_directory: test-binary
+ working_directory: /tmp/cypress-test-tiny
# force installing the freshly built binary
command: CYPRESS_INSTALL_BINARY=~/cypress/cypress.zip npm i ~/cypress/cypress.tgz
- run:
name: Cypress help
- working_directory: test-binary
+ working_directory: /tmp/cypress-test-tiny
command: $(yarn bin cypress) help
- run:
name: Cypress info
- working_directory: test-binary
+ working_directory: /tmp/cypress-test-tiny
command: $(yarn bin cypress) info
- - run:
- name: Add Cypress demo
- working_directory: test-binary
- command: npx @bahmutov/cly@1.9.0 init
- run:
name: Verify Cypress binary
- working_directory: test-binary
+ working_directory: /tmp/cypress-test-tiny
command: DEBUG=cypress:cli $(yarn bin cypress) verify
- run:
name: Run Cypress binary
- working_directory: test-binary
+ working_directory: /tmp/cypress-test-tiny
command: DEBUG=cypress:cli $(yarn bin cypress) run
- store-npm-logs
diff --git a/packages/driver/cypress/e2e/commands/actions/select.cy.js b/packages/driver/cypress/e2e/commands/actions/select.cy.js
index e6f83b15e192..3beebb2d8b5f 100644
--- a/packages/driver/cypress/e2e/commands/actions/select.cy.js
+++ b/packages/driver/cypress/e2e/commands/actions/select.cy.js
@@ -87,12 +87,6 @@ describe('src/cy/commands/actions/select', () => {
})
})
- it('can select an array of values', () => {
- cy.get('select[name=movies]').select(['apoc', 'br']).then(($select) => {
- expect($select.val()).to.deep.eq(['apoc', 'br'])
- })
- })
-
it('can select an array of texts', () => {
cy.get('select[name=movies]').select(['The Human Condition', 'There Will Be Blood']).then(($select) => {
expect($select.val()).to.deep.eq(['thc', 'twbb'])
diff --git a/packages/driver/cypress/e2e/commands/screenshot.cy.js b/packages/driver/cypress/e2e/commands/screenshot.cy.js
index 3937df4b4f17..b80f3dd18ee6 100644
--- a/packages/driver/cypress/e2e/commands/screenshot.cy.js
+++ b/packages/driver/cypress/e2e/commands/screenshot.cy.js
@@ -76,27 +76,6 @@ describe('src/cy/commands/screenshot', () => {
})
})
- it('is noop when screenshotOnRunFailure is false', () => {
- Cypress.config('isInteractive', false)
- cy.stub(Screenshot, 'getConfig').returns({
- screenshotOnRunFailure: false,
- })
-
- cy.spy(Cypress, 'action').log(false)
-
- const test = {
- err: new Error,
- }
-
- const runnable = cy.state('runnable')
-
- Cypress.action('runner:runnable:after:run:async', test, runnable)
- .then(() => {
- expect(Cypress.action).not.to.be.calledWith('test:set:state')
- expect(Cypress.automation).not.to.be.called
- })
- })
-
it('is noop when screenshotOnRunFailure is false', () => {
Cypress.config('isInteractive', false)
Cypress.config('screenshotOnRunFailure', false)
diff --git a/packages/driver/cypress/e2e/cypress/error_utils.cy.ts b/packages/driver/cypress/e2e/cypress/error_utils.cy.ts
index a62012594748..abdde21c0c2d 100644
--- a/packages/driver/cypress/e2e/cypress/error_utils.cy.ts
+++ b/packages/driver/cypress/e2e/cypress/error_utils.cy.ts
@@ -372,17 +372,6 @@ describe('driver/src/cypress/error_utils', () => {
})
})
- context('.throwErrByPath', () => {
- it('looks up error and throws it', () => {
- // @ts-ignore
- $errorMessages.__test_error = 'simple error message'
-
- const fn = () => $errUtils.throwErrByPath('__test_error')
-
- expect(fn).to.throw('simple error message')
- })
- })
-
context('.enhanceStack', () => {
const userInvocationStack = ' at userInvoked (app.js:1:1)'
const sourceStack = {
diff --git a/packages/launchpad/cypress/e2e/migration.cy.ts b/packages/launchpad/cypress/e2e/migration.cy.ts
index 4aec7c34df0d..3e564cc219d0 100644
--- a/packages/launchpad/cypress/e2e/migration.cy.ts
+++ b/packages/launchpad/cypress/e2e/migration.cy.ts
@@ -637,55 +637,6 @@ describe('Full migration flow for each project', { retries: { openMode: 0, runMo
checkOutcome()
})
- it('completes journey for migration-e2e-custom-test-files', () => {
- startMigrationFor('migration-e2e-custom-test-files')
- // default integration but custom testFiles
- // can rename integration->e2e
- cy.get(renameAutoStep).should('exist')
- // no CT
- cy.get(renameManualStep).should('not.exist')
- // supportFile is false - cannot migrate
- cy.get(renameSupportStep).should('exist')
- cy.get(setupComponentStep).should('not.exist')
- cy.get(configFileStep).should('exist')
-
- cy.scaffoldProject('migration-e2e-custom-test-files')
- cy.openProject('migration-e2e-custom-test-files')
- cy.visitLaunchpad()
-
- // default testFiles but custom integration - can rename automatically
- cy.get(renameAutoStep).should('exist')
- // no CT
- cy.get(renameManualStep).should('not.exist')
- // supportFile is false - cannot migrate
- cy.get(renameSupportStep).should('exist')
- cy.get(setupComponentStep).should('not.exist')
- cy.get(configFileStep).should('exist')
-
- // Migration workflow
- // before auto migration
- cy.contains('cypress/integration/basic.test.js')
-
- // after auto migration
- cy.contains('cypress/e2e/basic.test.js')
-
- runAutoRename()
-
- cy.withRetryableCtx(async (ctx) => {
- const specs = ['cypress/e2e/basic.test.js']
-
- for (const spec of specs) {
- const stats = await ctx.file.checkIfFileExists(ctx.path.join(spec))
-
- expect(stats).to.not.be.null
- }
- })
-
- renameSupport()
- migrateAndVerifyConfig()
- checkOutcome()
- })
-
it('completes journey for migration-e2e-custom-test-files', () => {
const project = 'migration-e2e-custom-test-files-array'
diff --git a/packages/runner/__snapshots__/retries.mochaEvents.cy.js b/packages/runner/__snapshots__/retries.mochaEvents.cy.js
deleted file mode 100644
index c58148c462ab..000000000000
--- a/packages/runner/__snapshots__/retries.mochaEvents.cy.js
+++ /dev/null
@@ -1,7512 +0,0 @@
-exports['src/cypress/runner retries mochaEvents simple retry #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents test retry with hooks #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents test retry with [only] #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 2",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 2",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents can retry from [beforeEach] #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "before each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h3",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "before each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h3",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h5",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h5",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents can retry from [afterEach] #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "after each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h1",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "after each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h1",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h5",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h5",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r6",
- "title": "suite 2",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 4,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 4,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h7",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 4,
- "title": "test 1",
- "hookName": "after each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h7",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h7",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 4,
- "title": "test 1",
- "hookName": "after each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h7",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h7",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "hookName": "after each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h7",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": false,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h7",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "hookName": "after each",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h7",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": false,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h7",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h7",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r7",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h7",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r6",
- "title": "suite 2",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r8",
- "title": "suite 3",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r9",
- "order": 5,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r9",
- "order": 5,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r9",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r9",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": "relative/path/to/spec.js",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r9",
- "order": 5,
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r9",
- "order": 5,
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r8",
- "title": "suite 3",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r9",
- "order": 5,
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents cant retry from [before] #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "fail",
- {
- "id": "r3",
- "title": "\"before all\" hook for \"test 1\"",
- "hookName": "before all",
- "hookId": "h1",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "originalTitle": "\"before all\" hook",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "before all",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h1",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "before all",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h1",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents cant retry from [after] #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h5",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h5",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h6",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "fail",
- {
- "id": "r3",
- "title": "\"after all\" hook for \"test 1\"",
- "hookName": "after all",
- "hookId": "h4",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "originalTitle": "\"after all\" hook",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "after all",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h4",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "hookName": "after all",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "failedFromHookId": "h4",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h5",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- {
- "hookId": "h6",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents three tests with retry #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test 1",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 2,
- "title": "test 2",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": false,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": false,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r4",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"after each\" hook",
- "hookName": "after each",
- "hookId": "h4",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r5",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r5",
- "title": "\"after all\" hook",
- "hookName": "after all",
- "hookId": "h3",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 3,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- },
- "after each": [
- {
- "hookId": "h4",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "after all": [
- {
- "hookId": "h3",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ]
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['src/cypress/runner retries mochaEvents screenshots retry screenshot in test body #1'] = [
- "take:screenshot",
- {
- "titles": [
- "suite 1",
- "test 1"
- ],
- "testId": "r3",
- "testAttemptIndex": "match.match(0)",
- "capture": "fullPage",
- "clip": {
- "x": 0,
- "y": 0,
- "width": 1000,
- "height": 660
- },
- "viewport": {
- "width": 1000,
- "height": 660
- },
- "scaled": false,
- "blackout": [],
- "overwrite": false,
- "startTime": "match.string",
- "current": 1,
- "total": 1
- }
-]
-
-exports['src/cypress/runner retries mochaEvents screenshots retry screenshot in test body #2'] = {
- "id": "r3",
- "testAttemptIndex": "match.match(0)",
- "isOpen": false,
- "appOnly": true,
- "scale": false,
- "waitForCommandSynchronization": false,
- "disableTimersAndAnimations": true,
- "blackout": [],
- "overwrite": false
-}
-
-exports['src/cypress/runner retries mochaEvents cleanses errors before emitting does not try to serialize error with err.actual as DOM node #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "visits",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "visits",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": false,
- "currentRetry": 0,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "retry",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": false,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": false,
- "currentRetry": 1,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "fail",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- },
- {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "title": "visits",
- "err": {
- "message": "[error message]",
- "name": "AssertionError",
- "stack": "match.string",
- "parsedStack": "match.array"
- },
- "state": "failed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "final": true,
- "currentRetry": 2,
- "retries": 2,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['serialize state - retries'] = {
- "currentId": "r6",
- "tests": "{Object 2}",
- "startTime": "1970-01-01T00:00:00.000Z",
- "emissions": {
- "started": {
- "r1": true,
- "r2": true,
- "r3": true,
- "r4": true,
- "r5": true,
- "r6": true
- },
- "ended": {
- "r3": true,
- "r2": true,
- "r5": true
- }
- },
- "passed": 2,
- "failed": 0,
- "pending": 0,
- "numLogs": 0
-}
diff --git a/packages/runner/__snapshots__/runner.mochaEvents.cy.js b/packages/runner/__snapshots__/runner.mochaEvents.cy.js
deleted file mode 100644
index d1bb34155a39..000000000000
--- a/packages/runner/__snapshots__/runner.mochaEvents.cy.js
+++ /dev/null
@@ -1,55 +0,0 @@
-exports['serialize state - hooks'] = {
- "currentId": "r6",
- "tests": "{Object 2}",
- "startTime": "1970-01-01T00:00:00.000Z",
- "emissions": {
- "started": {
- "r1": true,
- "r2": true,
- "r3": true,
- "r4": true,
- "r5": true,
- "r6": true
- },
- "ended": {
- "r3": true,
- "r2": true,
- "r5": true
- }
- },
- "passed": 2,
- "failed": 0,
- "pending": 0,
- "numLogs": 0
-}
-
-exports['src/cypress/runner other specs screenshots screenshot after failed test #1'] = [
- [
- "take:screenshot",
- {
- "titles": [
- "suite 1",
- "test 1"
- ],
- "testId": "r3",
- "testAttemptIndex": 0,
- "simple": true,
- "testFailure": true,
- "capture": "runner",
- "clip": {
- "x": 0,
- "y": 0,
- "width": 1000,
- "height": 660
- },
- "viewport": {
- "width": 1000,
- "height": 660
- },
- "scaled": true,
- "blackout": [],
- "overwrite": false,
- "startTime": "1970-01-01T00:00:00.000Z"
- }
- ]
-]
diff --git a/packages/runner/__snapshots__/studio.mochaEvents.cy.js b/packages/runner/__snapshots__/studio.mochaEvents.cy.js
deleted file mode 100644
index dbd8ab1da628..000000000000
--- a/packages/runner/__snapshots__/studio.mochaEvents.cy.js
+++ /dev/null
@@ -1,2872 +0,0 @@
-exports['studio mocha events only runs a single test by id #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events creates a new test when adding to a suite #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events can add new test to root runnable #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r2",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events hooks runs before hooks and test body but not after hooks when extending test #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events hooks runs before hooks but not after hooks when adding to suite #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before all\" hook",
- "hookName": "before all",
- "hookId": "h1",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "hook end",
- {
- "id": "r3",
- "title": "\"before each\" hook",
- "hookName": "before each",
- "hookId": "h2",
- "body": "[body]",
- "type": "hook",
- "duration": "match.number",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r3",
- "order": 1,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "before all": [
- {
- "hookId": "h1",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "before each": [
- {
- "hookId": "h2",
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- ],
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only test can be extended #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r3",
- "title": "nested suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r3",
- "title": "nested suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r4",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only test can be extended when there are multiple in the spec #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r3",
- "title": "nested suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 1,
- "title": "test 2",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r3",
- "title": "nested suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r5",
- "order": 1,
- "title": "test 2",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only test can extend a suite that contains an only spec #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r3",
- "title": "nested suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 2,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 2,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 2,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 2,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r3",
- "title": "nested suite 1",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 2,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only suite can be added to #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r3",
- "title": "nested suite 2",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 4,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 4,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 4,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 4,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r3",
- "title": "nested suite 2",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r8",
- "order": 4,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only suite can be added to when there are multiple in the spec #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r4",
- "title": "nested suite 3",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r11",
- "order": 6,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r11",
- "order": 6,
- "title": "New Test",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r11",
- "order": 6,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r11",
- "order": 6,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r4",
- "title": "nested suite 3",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r11",
- "order": 6,
- "title": "New Test",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only suite can extend a test within an only suite #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r3",
- "title": "nested suite 2",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 1,
- "title": "test 3",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 1,
- "title": "test 3",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 1,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 1,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r3",
- "title": "nested suite 2",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r7",
- "order": 1,
- "title": "test 3",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
-
-exports['studio mocha events only suite can extend a test within an only suite when there are multiple in the spec #1'] = [
- [
- "mocha",
- "start",
- {
- "start": "match.date"
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite",
- {
- "id": "r4",
- "title": "nested suite 3",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r10",
- "order": 1,
- "title": "test 5",
- "body": "[body]",
- "type": "test",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:before:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r10",
- "order": 1,
- "title": "test 5",
- "body": "[body]",
- "type": "test",
- "wallClockStartedAt": "match.date",
- "file": null,
- "invocationDetails": "{Object 9}",
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "pass",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r10",
- "order": 1,
- "title": "test 5",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test end",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r10",
- "order": 1,
- "title": "test 5",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r4",
- "title": "nested suite 3",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r2",
- "title": "suite",
- "root": false,
- "type": "suite",
- "file": null,
- "invocationDetails": "{Object 9}",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "test:after:run",
- {
- "_testConfig": {
- "testConfigList": [],
- "unverifiedTestConfig": {}
- },
- "id": "r10",
- "order": 1,
- "title": "test 5",
- "state": "passed",
- "body": "[body]",
- "type": "test",
- "duration": "match.number",
- "wallClockStartedAt": "match.date",
- "wallClockDuration": "match.number",
- "timings": {
- "lifecycle": "match.number",
- "test": {
- "fnDuration": "match.number",
- "afterFnDuration": "match.number"
- }
- },
- "file": null,
- "invocationDetails": "{Object 9}",
- "final": true,
- "currentRetry": 0,
- "retries": 0,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "suite end",
- {
- "id": "r1",
- "title": "",
- "root": true,
- "type": "suite",
- "file": "relative/path/to/spec.js",
- "retries": -1,
- "_slow": 10000
- }
- ],
- [
- "mocha",
- "end",
- {
- "end": "match.date"
- }
- ]
-]
From 0fcf6fd9bee4cdcf9b08e04523c531d55d945406 Mon Sep 17 00:00:00 2001
From: Cacie Prins
Date: Thu, 18 Jan 2024 09:31:12 -0500
Subject: [PATCH 005/127] test: fix flaky specs list test (#28744)
Co-authored-by: Jennifer Shehane
---
packages/app/cypress/e2e/specs_list_e2e.cy.ts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/packages/app/cypress/e2e/specs_list_e2e.cy.ts b/packages/app/cypress/e2e/specs_list_e2e.cy.ts
index 6d05d6c3e909..d4425ca42e2a 100644
--- a/packages/app/cypress/e2e/specs_list_e2e.cy.ts
+++ b/packages/app/cypress/e2e/specs_list_e2e.cy.ts
@@ -319,11 +319,14 @@ describe('App: Spec List (E2E)', () => {
clearSearchAndType(targetSpecFile)
cy.contains('a', targetSpecFile).click()
+ // make sure we are on the spec view before clicking back to the specs list
+ cy.findByTestId('runnable-header').contains(targetSpecFile)
+
cy.contains('input', targetSpecFile).should('not.exist')
cy.get('button[aria-controls="reporter-inline-specs-list"]').click({ force: true })
- cy.get('input').should('be.visible').and('have.value', targetSpecFile)
+ cy.get('@searchField').should('be.visible').and('have.value', targetSpecFile)
cy.findByTestId('sidebar-link-specs-page').click()
From 8327874cdbc3e6c4a0e832364ee2089ad96e53b3 Mon Sep 17 00:00:00 2001
From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Date: Thu, 18 Jan 2024 16:46:00 +0100
Subject: [PATCH 006/127] chore(deps): refresh dockerode@3.3.1 (#28726)
Co-authored-by: Matt Schile
Co-authored-by: Emily Rohrbough
---
yarn.lock | 50 ++++++++++++++++++++++++++++----------------------
1 file changed, 28 insertions(+), 22 deletions(-)
diff --git a/yarn.lock b/yarn.lock
index 7896eda9c724..7be05f34bcf9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9926,7 +9926,7 @@ asn1.js@^5.2.0:
minimalistic-assert "^1.0.0"
safer-buffer "^2.1.0"
-asn1@^0.2.4, asn1@~0.2.3:
+asn1@^0.2.6, asn1@~0.2.3:
version "0.2.6"
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d"
integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==
@@ -11016,6 +11016,11 @@ buffer@^5.1.0, buffer@^5.2.0, buffer@^5.2.1, buffer@^5.5.0, buffer@^5.6.0, buffe
base64-js "^1.3.1"
ieee754 "^1.1.13"
+buildcheck@~0.0.6:
+ version "0.0.6"
+ resolved "https://registry.yarnpkg.com/buildcheck/-/buildcheck-0.0.6.tgz#89aa6e417cfd1e2196e3f8fe915eb709d2fe4238"
+ integrity sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A==
+
builder-util-runtime@9.1.1:
version "9.1.1"
resolved "https://registry.yarnpkg.com/builder-util-runtime/-/builder-util-runtime-9.1.1.tgz#2da7b34e78a64ad14ccd070d6eed4662d893bd60"
@@ -12773,12 +12778,13 @@ cpr@^3.0.1:
mkdirp "~0.5.1"
rimraf "^2.5.4"
-cpu-features@0.0.2:
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/cpu-features/-/cpu-features-0.0.2.tgz#9f636156f1155fd04bdbaa028bb3c2fbef3cea7a"
- integrity sha512-/2yieBqvMcRj8McNzkycjW2v3OIUOibBfd2dLEJ0nWts8NobAxwiyw9phVNS6oDL8x8tz9F7uNVFEVpJncQpeA==
+cpu-features@~0.0.9:
+ version "0.0.9"
+ resolved "https://registry.yarnpkg.com/cpu-features/-/cpu-features-0.0.9.tgz#5226b92f0f1c63122b0a3eb84cb8335a4de499fc"
+ integrity sha512-AKjgn2rP2yJyfbepsmLfiYcmtNn/2eUvocUyM/09yB0YDiz39HteK/5/T4Onf0pmdYDMgkBoGvRLvEguzyL7wQ==
dependencies:
- nan "^2.14.1"
+ buildcheck "~0.0.6"
+ nan "^2.17.0"
crc@^3.8.0:
version "3.8.0"
@@ -13882,14 +13888,14 @@ dns-txt@^2.0.2:
buffer-indexof "^1.0.0"
docker-modem@^3.0.0:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-3.0.3.tgz#ac4bb1f32f81ac2e7120c5e99a068fab2458a32f"
- integrity sha512-Tgkn2a+yiNP9FoZgMa/D9Wk+D2Db///0KOyKSYZRJa8w4+DzKyzQMkczKSdR/adQ0x46BOpeNkoyEOKjPhCzjw==
+ version "3.0.8"
+ resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-3.0.8.tgz#ef62c8bdff6e8a7d12f0160988c295ea8705e77a"
+ integrity sha512-f0ReSURdM3pcKPNS30mxOHSbaFLcknGmQjwSfmbcdOw1XWKXVhukM3NJHhr7NpY9BIyyWQb0EBo3KQvvuU5egQ==
dependencies:
debug "^4.1.1"
readable-stream "^3.5.0"
split-ca "^1.0.1"
- ssh2 "^1.4.0"
+ ssh2 "^1.11.0"
dockerode@3.3.1:
version "3.3.1"
@@ -22420,10 +22426,10 @@ mz@^2.7.0:
object-assign "^4.0.1"
thenify-all "^1.0.0"
-nan@^2.10.0, nan@^2.12.1, nan@^2.14.1, nan@^2.15.0:
- version "2.15.0"
- resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee"
- integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==
+nan@^2.10.0, nan@^2.12.1, nan@^2.17.0, nan@^2.18.0:
+ version "2.18.0"
+ resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554"
+ integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
nano-time@1.0.0:
version "1.0.0"
@@ -28180,7 +28186,7 @@ speed-measure-webpack-plugin@1.4.2:
split-ca@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/split-ca/-/split-ca-1.0.1.tgz#6c83aff3692fa61256e0cd197e05e9de157691a6"
- integrity sha1-bIOv82kvphJW4M0ZfgXp3hV2kaY=
+ integrity sha512-Q5thBSxp5t8WPTTJQS59LrGqOZqOsrhDGDVm8azCqIBjSBd7nd9o2PM+mDulQQkh8h//4U6hFZnc/mul8t5pWQ==
split-string@^3.0.1, split-string@^3.0.2:
version "3.1.0"
@@ -28237,16 +28243,16 @@ ssestream@1.0.1:
resolved "https://registry.yarnpkg.com/ssestream/-/ssestream-1.0.1.tgz#351551b12c00e91e7550f38d558323f3f47b54c2"
integrity sha1-NRVRsSwA6R51UPONVYMj8/R7VMI=
-ssh2@^1.4.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/ssh2/-/ssh2-1.6.0.tgz#61aebc3a6910fe488f9c85cd8355bdf8d4724e05"
- integrity sha512-lxc+uvXqOxyQ99N2M7k5o4pkYDO5GptOTYduWw7hIM41icxvoBcCNHcj+LTKrjkL0vFcAl+qfZekthoSFRJn2Q==
+ssh2@^1.11.0:
+ version "1.15.0"
+ resolved "https://registry.yarnpkg.com/ssh2/-/ssh2-1.15.0.tgz#2f998455036a7f89e0df5847efb5421748d9871b"
+ integrity sha512-C0PHgX4h6lBxYx7hcXwu3QWdh4tg6tZZsTfXcdvc5caW/EMxaB4H9dWsl7qk+F7LAW762hp8VbXOX7x4xUYvEw==
dependencies:
- asn1 "^0.2.4"
+ asn1 "^0.2.6"
bcrypt-pbkdf "^1.0.2"
optionalDependencies:
- cpu-features "0.0.2"
- nan "^2.15.0"
+ cpu-features "~0.0.9"
+ nan "^2.18.0"
sshpk@^1.14.1, sshpk@^1.7.0:
version "1.16.1"
From 7e79fd7b48cd3775a198244ff62f26b59b59da91 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 18 Jan 2024 10:46:44 -0500
Subject: [PATCH 007/127] chore: Update Chrome (stable) to 120.0.6099.224
(#28738)
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Emily Rohrbough
---
browser-versions.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser-versions.json b/browser-versions.json
index 7d4d999e4731..0a7e2dcc9d86 100644
--- a/browser-versions.json
+++ b/browser-versions.json
@@ -1,5 +1,5 @@
{
"chrome:beta": "121.0.6167.57",
- "chrome:stable": "120.0.6099.216",
+ "chrome:stable": "120.0.6099.224",
"chrome:minimum": "64.0.3282.0"
}
From c6b0583d629fa5454b48f0078e4af65bbe776dc1 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 18 Jan 2024 10:52:06 -0600
Subject: [PATCH 008/127] chore: Update v8 snapshot cache (#28532)
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel
Co-authored-by: Jennifer Shehane
---
.../cache/darwin/snapshot-meta.json | 17 +++++++++--------
.../cache/linux/snapshot-meta.json | 17 +++++++++--------
.../cache/win32/snapshot-meta.json | 19 +++++++++++--------
3 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/tooling/v8-snapshot/cache/darwin/snapshot-meta.json b/tooling/v8-snapshot/cache/darwin/snapshot-meta.json
index 24e4ba28c193..62d2734a1355 100644
--- a/tooling/v8-snapshot/cache/darwin/snapshot-meta.json
+++ b/tooling/v8-snapshot/cache/darwin/snapshot-meta.json
@@ -25,6 +25,7 @@
"./node_modules/express/node_modules/debug/src/node.js",
"./node_modules/finalhandler/node_modules/debug/src/node.js",
"./node_modules/firefox-profile/node_modules/jsonfile/index.js",
+ "./node_modules/flatted/cjs/index.js",
"./node_modules/fs-extra/node_modules/jsonfile/index.js",
"./node_modules/get-package-info/node_modules/debug/src/node.js",
"./node_modules/graceful-fs/polyfills.js",
@@ -294,7 +295,6 @@
"./node_modules/firefox-profile/node_modules/fs-extra/lib/json/index.js",
"./node_modules/firefox-profile/node_modules/fs-extra/lib/json/jsonfile.js",
"./node_modules/firefox-profile/node_modules/fs-extra/lib/path-exists/index.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/xml2js.js",
"./node_modules/fluent-ffmpeg/index.js",
"./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js",
"./node_modules/fluent-ffmpeg/lib/utils.js",
@@ -465,6 +465,7 @@
"./node_modules/os-homedir/index.js",
"./node_modules/pako/lib/utils/strings.js",
"./node_modules/pako/lib/zlib/trees.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/xml2js.js",
"./node_modules/performance-now/lib/performance-now.js",
"./node_modules/phin/lib/phin.compiled.js",
"./node_modules/picocolors/picocolors.js",
@@ -1620,7 +1621,6 @@
"./node_modules/chrome-remote-interface/node_modules/ws/lib/validation.js",
"./node_modules/ci-info/index.js",
"./node_modules/ci-info/vendors.json",
- "./node_modules/circular-json/build/circular-json.node.js",
"./node_modules/cli-truncate/index.js",
"./node_modules/cli-truncate/node_modules/slice-ansi/index.js",
"./node_modules/coffeescript/lib/coffeescript/lexer.js",
@@ -1913,11 +1913,6 @@
"./node_modules/firefox-profile/node_modules/jsonfile/node_modules/universalify/index.js",
"./node_modules/firefox-profile/node_modules/jsonfile/utils.js",
"./node_modules/firefox-profile/node_modules/universalify/index.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/bom.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/builder.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/defaults.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/parser.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/processors.js",
"./node_modules/fluent-ffmpeg/lib/capabilities.js",
"./node_modules/fluent-ffmpeg/lib/ffprobe.js",
"./node_modules/fluent-ffmpeg/lib/options/audio.js",
@@ -2645,6 +2640,11 @@
"./node_modules/parse-bmfont-binary/index.js",
"./node_modules/parse-bmfont-xml/lib/index.js",
"./node_modules/parse-bmfont-xml/lib/parse-attribs.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/bom.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/builder.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/defaults.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/parser.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/processors.js",
"./node_modules/parse-glob/index.js",
"./node_modules/parse-glob/node_modules/is-extglob/index.js",
"./node_modules/parse-glob/node_modules/is-glob/index.js",
@@ -3984,6 +3984,7 @@
"./packages/proxy/lib/http/util/inject.ts",
"./packages/proxy/lib/http/util/replace_stream.ts",
"./packages/proxy/lib/http/util/rewriter.ts",
+ "./packages/proxy/lib/http/util/service-worker-manager.ts",
"./packages/proxy/lib/http/util/top-simulation.ts",
"./packages/proxy/lib/index.ts",
"./packages/proxy/lib/network-proxy.ts",
@@ -4311,5 +4312,5 @@
"./tooling/v8-snapshot/cache/darwin/snapshot-entry.js"
],
"deferredHashFile": "yarn.lock",
- "deferredHash": "eac0b3a082ef15b9e9470322b24f2a5a7ff7f3f04194507c10c5a02113fc5b6d"
+ "deferredHash": "f68909d919501dec5432c7b4fb80e7534251d4e9969b91c5834018efa1fd1c79"
}
\ No newline at end of file
diff --git a/tooling/v8-snapshot/cache/linux/snapshot-meta.json b/tooling/v8-snapshot/cache/linux/snapshot-meta.json
index ffe5c6db0609..057e02692a27 100644
--- a/tooling/v8-snapshot/cache/linux/snapshot-meta.json
+++ b/tooling/v8-snapshot/cache/linux/snapshot-meta.json
@@ -25,6 +25,7 @@
"./node_modules/express/node_modules/debug/src/node.js",
"./node_modules/finalhandler/node_modules/debug/src/node.js",
"./node_modules/firefox-profile/node_modules/jsonfile/index.js",
+ "./node_modules/flatted/cjs/index.js",
"./node_modules/fs-extra/node_modules/jsonfile/index.js",
"./node_modules/get-package-info/node_modules/debug/src/node.js",
"./node_modules/graceful-fs/polyfills.js",
@@ -294,7 +295,6 @@
"./node_modules/firefox-profile/node_modules/fs-extra/lib/json/index.js",
"./node_modules/firefox-profile/node_modules/fs-extra/lib/json/jsonfile.js",
"./node_modules/firefox-profile/node_modules/fs-extra/lib/path-exists/index.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/xml2js.js",
"./node_modules/fluent-ffmpeg/index.js",
"./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js",
"./node_modules/fluent-ffmpeg/lib/utils.js",
@@ -464,6 +464,7 @@
"./node_modules/os-homedir/index.js",
"./node_modules/pako/lib/utils/strings.js",
"./node_modules/pako/lib/zlib/trees.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/xml2js.js",
"./node_modules/performance-now/lib/performance-now.js",
"./node_modules/phin/lib/phin.compiled.js",
"./node_modules/picocolors/picocolors.js",
@@ -1621,7 +1622,6 @@
"./node_modules/chrome-remote-interface/node_modules/ws/lib/validation.js",
"./node_modules/ci-info/index.js",
"./node_modules/ci-info/vendors.json",
- "./node_modules/circular-json/build/circular-json.node.js",
"./node_modules/cli-truncate/index.js",
"./node_modules/cli-truncate/node_modules/slice-ansi/index.js",
"./node_modules/coffeescript/lib/coffeescript/lexer.js",
@@ -1914,11 +1914,6 @@
"./node_modules/firefox-profile/node_modules/jsonfile/node_modules/universalify/index.js",
"./node_modules/firefox-profile/node_modules/jsonfile/utils.js",
"./node_modules/firefox-profile/node_modules/universalify/index.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/bom.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/builder.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/defaults.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/parser.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/processors.js",
"./node_modules/fluent-ffmpeg/lib/capabilities.js",
"./node_modules/fluent-ffmpeg/lib/ffprobe.js",
"./node_modules/fluent-ffmpeg/lib/options/audio.js",
@@ -2646,6 +2641,11 @@
"./node_modules/parse-bmfont-binary/index.js",
"./node_modules/parse-bmfont-xml/lib/index.js",
"./node_modules/parse-bmfont-xml/lib/parse-attribs.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/bom.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/builder.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/defaults.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/parser.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/processors.js",
"./node_modules/parse-glob/index.js",
"./node_modules/parse-glob/node_modules/is-extglob/index.js",
"./node_modules/parse-glob/node_modules/is-glob/index.js",
@@ -3987,6 +3987,7 @@
"./packages/proxy/lib/http/util/inject.ts",
"./packages/proxy/lib/http/util/replace_stream.ts",
"./packages/proxy/lib/http/util/rewriter.ts",
+ "./packages/proxy/lib/http/util/service-worker-manager.ts",
"./packages/proxy/lib/http/util/top-simulation.ts",
"./packages/proxy/lib/index.ts",
"./packages/proxy/lib/network-proxy.ts",
@@ -4314,5 +4315,5 @@
"./tooling/v8-snapshot/cache/linux/snapshot-entry.js"
],
"deferredHashFile": "yarn.lock",
- "deferredHash": "eac0b3a082ef15b9e9470322b24f2a5a7ff7f3f04194507c10c5a02113fc5b6d"
+ "deferredHash": "f68909d919501dec5432c7b4fb80e7534251d4e9969b91c5834018efa1fd1c79"
}
\ No newline at end of file
diff --git a/tooling/v8-snapshot/cache/win32/snapshot-meta.json b/tooling/v8-snapshot/cache/win32/snapshot-meta.json
index 5c8be345ff62..42d205aa8821 100644
--- a/tooling/v8-snapshot/cache/win32/snapshot-meta.json
+++ b/tooling/v8-snapshot/cache/win32/snapshot-meta.json
@@ -25,6 +25,7 @@
"./node_modules/express/node_modules/debug/src/node.js",
"./node_modules/finalhandler/node_modules/debug/src/node.js",
"./node_modules/firefox-profile/node_modules/jsonfile/index.js",
+ "./node_modules/flatted/cjs/index.js",
"./node_modules/fs-extra/node_modules/jsonfile/index.js",
"./node_modules/get-package-info/node_modules/debug/src/node.js",
"./node_modules/graceful-fs/polyfills.js",
@@ -178,6 +179,8 @@
"./node_modules/@cypress/commit-info/node_modules/semver/semver.js",
"./node_modules/@cypress/get-windows-proxy/node_modules/debug/src/browser.js",
"./node_modules/@cypress/get-windows-proxy/node_modules/debug/src/index.js",
+ "./node_modules/@cypress/get-windows-proxy/node_modules/registry-js/dist/lib/index.js",
+ "./node_modules/@cypress/get-windows-proxy/node_modules/registry-js/dist/lib/registry.js",
"./node_modules/@cypress/request-promise/lib/rp.js",
"./node_modules/@cypress/request/index.js",
"./node_modules/@cypress/request/lib/helpers.js",
@@ -294,7 +297,6 @@
"./node_modules/firefox-profile/node_modules/fs-extra/lib/json/index.js",
"./node_modules/firefox-profile/node_modules/fs-extra/lib/json/jsonfile.js",
"./node_modules/firefox-profile/node_modules/fs-extra/lib/path-exists/index.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/xml2js.js",
"./node_modules/fluent-ffmpeg/index.js",
"./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js",
"./node_modules/fluent-ffmpeg/lib/utils.js",
@@ -464,6 +466,7 @@
"./node_modules/os-homedir/index.js",
"./node_modules/pako/lib/utils/strings.js",
"./node_modules/pako/lib/zlib/trees.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/xml2js.js",
"./node_modules/performance-now/lib/performance-now.js",
"./node_modules/phin/lib/phin.compiled.js",
"./node_modules/picomatch/index.js",
@@ -1622,7 +1625,6 @@
"./node_modules/chrome-remote-interface/node_modules/ws/lib/validation.js",
"./node_modules/ci-info/index.js",
"./node_modules/ci-info/vendors.json",
- "./node_modules/circular-json/build/circular-json.node.js",
"./node_modules/cli-truncate/index.js",
"./node_modules/cli-truncate/node_modules/slice-ansi/index.js",
"./node_modules/coffeescript/lib/coffeescript/lexer.js",
@@ -1915,11 +1917,6 @@
"./node_modules/firefox-profile/node_modules/jsonfile/node_modules/universalify/index.js",
"./node_modules/firefox-profile/node_modules/jsonfile/utils.js",
"./node_modules/firefox-profile/node_modules/universalify/index.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/bom.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/builder.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/defaults.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/parser.js",
- "./node_modules/firefox-profile/node_modules/xml2js/lib/processors.js",
"./node_modules/fluent-ffmpeg/lib/capabilities.js",
"./node_modules/fluent-ffmpeg/lib/ffprobe.js",
"./node_modules/fluent-ffmpeg/lib/options/audio.js",
@@ -2647,6 +2644,11 @@
"./node_modules/parse-bmfont-binary/index.js",
"./node_modules/parse-bmfont-xml/lib/index.js",
"./node_modules/parse-bmfont-xml/lib/parse-attribs.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/bom.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/builder.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/defaults.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/parser.js",
+ "./node_modules/parse-bmfont-xml/node_modules/xml2js/lib/processors.js",
"./node_modules/parse-glob/index.js",
"./node_modules/parse-glob/node_modules/is-extglob/index.js",
"./node_modules/parse-glob/node_modules/is-glob/index.js",
@@ -3985,6 +3987,7 @@
"./packages/proxy/lib/http/util/inject.ts",
"./packages/proxy/lib/http/util/replace_stream.ts",
"./packages/proxy/lib/http/util/rewriter.ts",
+ "./packages/proxy/lib/http/util/service-worker-manager.ts",
"./packages/proxy/lib/http/util/top-simulation.ts",
"./packages/proxy/lib/index.ts",
"./packages/proxy/lib/network-proxy.ts",
@@ -4312,5 +4315,5 @@
"./tooling/v8-snapshot/cache/win32/snapshot-entry.js"
],
"deferredHashFile": "yarn.lock",
- "deferredHash": "30882b5fc0ea16d52dc06032f70d588e3e98eea6fd417da00b88749dd9061ae1"
+ "deferredHash": "c372459c60afcff3be9b0e9cec69776ddc3524002b9af554ef24366d1bfcac53"
}
\ No newline at end of file
From ca0891ec2a6074f79b17b1000e4fc91d48971d34 Mon Sep 17 00:00:00 2001
From: Bill Glesias
Date: Fri, 19 Jan 2024 08:56:23 -0500
Subject: [PATCH 009/127] chore: set GH_TOKEN permissions on the job that only
allow the semantic pull request job, that runs with pull_request_target, to
have access to read the repository contents and pull-requests contents. The
token does not have write permissions and has disabled read permissions on
contexts that are not needed for the job (#28749)
---
.github/workflows/semantic-pull-request.yml | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml
index 8b61f18f8f61..dd874a65ae24 100644
--- a/.github/workflows/semantic-pull-request.yml
+++ b/.github/workflows/semantic-pull-request.yml
@@ -1,5 +1,21 @@
name: "Semantic Pull Request"
-
+# @see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
+permissions:
+ actions: none
+ checks: none
+ # to check out & read the repository
+ contents: read
+ deployments: none
+ id-token: none
+ issues: none
+ discussions: none
+ packages: none
+ pages: none
+ # to read pull-request data, including commits/issues linked
+ pull-requests: read
+ repository-projects: none
+ security-events: none
+ statuses: none
on:
pull_request_target:
types:
From cdc42b996f25d39e68cc562f51921098922b2f05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20Ledoux?=
Date: Fri, 19 Jan 2024 20:01:53 +0100
Subject: [PATCH 010/127] refactor: use cypress design button in launchpad
(#27795)
* install button package in launchpad
* refactor: remove test that does not test anything
* fix: naive implementation
* fix the button bar
* finish the job
* some more fixes
* size = sm => 24
* restore global header
* make sure learn more opens in a new window
* simplify lean more
* a set of fixes
* fix open range
* Apply suggestions from code review
Co-authored-by: Emily Rohrbough
* move constant after imports
* fix types
* fix: allow for mainvariant to be pending
* simplify import of button variants
* trigger
* remove the comment
* remove eslint ignores
* Revert "remove eslint ignores"
This reverts commit 9ffbcf20cb465860d150e63a13d21f930b537abe.
* remove useless no-duplicate imports
---------
Co-authored-by: Emily Rohrbough
Co-authored-by: Ryan Wilke
---
packages/launchpad/package.json | 3 +-
.../launchpad/src/components/code/FileRow.vue | 14 +++--
.../launchpad/src/global/GlobalPageHeader.vue | 18 +++----
.../src/migration/MajorVersionWelcome.vue | 8 ++-
.../src/migration/MigrationWizard.vue | 36 ++++++-------
.../launchpad/src/migration/OptOutModal.vue | 4 +-
packages/launchpad/src/setup/ButtonBar.vue | 32 +++++-------
.../src/setup/InstallDependencies.vue | 2 +-
.../launchpad/src/setup/OpenBrowserList.vue | 51 +++++++++----------
.../launchpad/src/setup/ScaffoldedFiles.vue | 4 +-
packages/launchpad/src/setup/WizardLayout.vue | 4 +-
yarn.lock | 9 +++-
12 files changed, 90 insertions(+), 95 deletions(-)
diff --git a/packages/launchpad/package.json b/packages/launchpad/package.json
index db5bd166963b..6f010afad768 100644
--- a/packages/launchpad/package.json
+++ b/packages/launchpad/package.json
@@ -20,6 +20,7 @@
},
"dependencies": {},
"devDependencies": {
+ "@cypress-design/vue-button": "^0.11.0",
"@graphql-typed-document-node/core": "^3.1.0",
"@headlessui/vue": "1.4.0",
"@intlify/unplugin-vue-i18n": "0.10.0",
@@ -77,4 +78,4 @@
"@packages/graphql"
]
}
-}
+}
\ No newline at end of file
diff --git a/packages/launchpad/src/components/code/FileRow.vue b/packages/launchpad/src/components/code/FileRow.vue
index 8340c8c376d4..c106bc1a1d47 100644
--- a/packages/launchpad/src/components/code/FileRow.vue
+++ b/packages/launchpad/src/components/code/FileRow.vue
@@ -45,7 +45,8 @@
@@ -60,8 +61,8 @@
-
-
-
-