@spscommerce/e2e-core 2.4.8 → 2.4.10

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.
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "yarn" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "weekly"
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.29.0-focal
1
+ FROM mcr.microsoft.com/playwright:v1.46.1-noble
2
2
 
3
3
  ARG BROWSER
4
4
 
package/README.md CHANGED
@@ -125,6 +125,11 @@ RUN if [ "$BROWSER" = "chrome" ]; then npx playwright install chrome; fi
125
125
  ```
126
126
  > Attention:
127
127
  > Installed Playwright package version must match the Docker image version.
128
+ > You can find exact version here: https://mcr.microsoft.com/en-us/product/playwright/tags
129
+
130
+ ## Publish package
131
+ If you want to publish your package to the npm registry and have changed any files from `src` folder, you must build the package first. Run the following command: `yarn build`.
132
+ After that, push changed files from the `lib` and `src` folders to your PR.
128
133
 
129
134
  ## Run tests in CI (Azure Pipelines)
130
135
  In order to add an Azure Pipeline for your framework, head over to https://dev.azure.com/spscommerce/ and find your team. You can create a new pipeline by selecting your Git repository. For more information on getting started with Azure, visit https://github.com/SPSCommerce/azure-pipelines-config.
package/code-scan.yml ADDED
@@ -0,0 +1,32 @@
1
+ pr: none
2
+ trigger: none
3
+
4
+ schedules:
5
+ - cron: '0 7 * * MON-FRI'
6
+ displayName: Runs from Mon-Fri at 7:00 AM (UTC)
7
+ always: true
8
+ branches:
9
+ include:
10
+ - main
11
+
12
+ resources:
13
+ repositories:
14
+ - repository: templates
15
+ type: github
16
+ name: spscommerce/azure-pipelines-templates
17
+ endpoint: vsts-infrastructure-fulfillment
18
+
19
+ stages:
20
+ - stage: COMPILE
21
+ jobs:
22
+
23
+ - job: BUILD
24
+ pool: BUILD-LINUX
25
+ steps:
26
+ - checkout: self
27
+ clean: true
28
+
29
+ - template: core/code-scan.job.v1.yml@templates
30
+ parameters:
31
+ language: javascript
32
+ condition: succeeded()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spscommerce/e2e-core",
3
- "version": "2.4.8",
3
+ "version": "2.4.10",
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.29.0",
28
+ "@playwright/test": "1.46.1",
29
29
  "@typescript-eslint/eslint-plugin": "5.30.0",
30
30
  "@typescript-eslint/parser": "5.30.0",
31
31
  "dotenv": "16.0.3",