@argos-ci/cypress 3.3.1 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/support.js +4 -1
  2. package/package.json +3 -3
package/dist/support.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  } from "@argos-ci/util/browser";
12
12
 
13
13
  // package.json
14
- var version = "3.3.0";
14
+ var version = "3.3.1";
15
15
 
16
16
  // src/support.ts
17
17
  function injectArgos() {
@@ -122,6 +122,9 @@ Cypress.Commands.add(
122
122
  }
123
123
  cy.writeFile(getMetadataPath(ref.props.path), JSON.stringify(metadata));
124
124
  });
125
+ cy.window({ log: false }).then((window) => {
126
+ window.__ARGOS__.afterEach();
127
+ });
125
128
  }
126
129
  if (viewports) {
127
130
  for (const viewport of viewports) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/cypress",
3
3
  "description": "Cypress SDK for visual testing with Argos.",
4
- "version": "3.3.1",
4
+ "version": "3.3.2",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "node": ">=18.0.0"
46
46
  },
47
47
  "dependencies": {
48
- "@argos-ci/browser": "3.1.1",
48
+ "@argos-ci/browser": "3.1.2",
49
49
  "@argos-ci/core": "3.1.0",
50
50
  "@argos-ci/util": "2.3.0",
51
51
  "cypress-wait-until": "^3.0.2"
@@ -65,5 +65,5 @@
65
65
  "test": "pnpm exec cypress run",
66
66
  "e2e": "UPLOAD_TO_ARGOS=true pnpm run test"
67
67
  },
68
- "gitHead": "40ece1cf28bcd480b3d749aafd2945b224eba739"
68
+ "gitHead": "10a2ccddf43fa1fced8f8625d24b1d3f19e4096c"
69
69
  }