@argos-ci/playwright 4.2.1 → 4.2.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/index.js +3 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -302,6 +302,9 @@ ${reasons.map((reason) => `- ${reason}`).join("\n")}
302
302
  })
303
303
  ]);
304
304
  }
305
+ await page.evaluate(
306
+ () => window.__ARGOS__.afterEach()
307
+ );
305
308
  await options.afterScreenshot?.();
306
309
  };
307
310
  if (viewports) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/playwright",
3
3
  "description": "Playwright SDK for visual testing with Argos.",
4
- "version": "4.2.1",
4
+ "version": "4.2.2",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -47,7 +47,7 @@
47
47
  "node": ">=18.16.0"
48
48
  },
49
49
  "dependencies": {
50
- "@argos-ci/browser": "3.1.1",
50
+ "@argos-ci/browser": "3.1.2",
51
51
  "@argos-ci/core": "3.1.0",
52
52
  "@argos-ci/util": "2.3.0",
53
53
  "chalk": "^5.4.1",
@@ -65,5 +65,5 @@
65
65
  "test": "pnpm exec -- playwright test",
66
66
  "e2e": "UPLOAD_TO_ARGOS=true pnpm run test"
67
67
  },
68
- "gitHead": "40ece1cf28bcd480b3d749aafd2945b224eba739"
68
+ "gitHead": "10a2ccddf43fa1fced8f8625d24b1d3f19e4096c"
69
69
  }