@spscommerce/e2e-core 2.4.12 → 2.4.14

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.
@@ -5,7 +5,7 @@
5
5
 
6
6
  version: 2
7
7
  updates:
8
- - package-ecosystem: "yarn" # See documentation for possible values
8
+ - package-ecosystem: "npm" # See documentation for possible values
9
9
  directory: "/" # Location of package manifests
10
10
  schedule:
11
11
  interval: "weekly"
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.46.1-noble
1
+ FROM mcr.microsoft.com/playwright:v1.49.1-noble
2
2
 
3
3
  ARG BROWSER
4
4
 
@@ -7,5 +7,5 @@ WORKDIR /e2e
7
7
  COPY . .
8
8
  RUN corepack enable && corepack prepare yarn@4.4.0 --activate
9
9
  RUN yarn
10
- RUN if [ "$BROWSER" = "edge" ]; then npx playwright install msedge; fi
11
- RUN if [ "$BROWSER" = "chrome" ]; then npx playwright install chrome; fi
10
+ RUN if [ "$BROWSER" = "edge" ]; then npx playwright install msedge --only-shell ; fi
11
+ RUN if [ "$BROWSER" = "chrome" ]; then npx playwright install chrome --only-shell ; fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spscommerce/e2e-core",
3
- "version": "2.4.12",
3
+ "version": "2.4.14",
4
4
  "description": "An automation test framework which is based on Playwright.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "author": "SPS Commerce",
26
26
  "license": "UNLICENSED",
27
27
  "dependencies": {
28
- "@playwright/test": "1.46.1",
28
+ "@playwright/test": "1.49.1",
29
29
  "@typescript-eslint/eslint-plugin": "6.21.0",
30
30
  "@typescript-eslint/parser": "6.21.0",
31
31
  "dotenv": "16.4.5",
@@ -123,8 +123,8 @@ const config = {
123
123
  ['junit', { outputFile: path.join(process.cwd(), `results-e2e/reports/${reportName}`) }],
124
124
  ['list'],
125
125
  // Special reporters to transform video-s/screen-s to the form what can be displayed in the TestingInspector attachments
126
- [path.resolve(__dirname, './src/reporters/screenshots.ts')],
127
- [path.resolve(__dirname, './src/reporters/junitFix.ts'), { reportJunitFile: `results-e2e/reports/${reportName}` }],
126
+ [path.resolve(__dirname, './lib/reporters/screenshots')],
127
+ [path.resolve(__dirname, './lib/reporters/junitFix'), { reportJunitFile: `results-e2e/reports/${reportName}` }],
128
128
  ],
129
129
  /* Global setup file must export a single function. This function will be run once before all the tests */
130
130
  globalSetup: require.resolve('./lib/globalSetup'),