testaro 76.2.1 → 76.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.
- package/CONTAINERS.md +3 -1
- package/Dockerfile +1 -1
- package/package.json +2 -3
package/CONTAINERS.md
CHANGED
|
@@ -14,7 +14,9 @@ Containerization is practical. The reference image runs every Testaro tool:
|
|
|
14
14
|
|
|
15
15
|
## Version coupling
|
|
16
16
|
|
|
17
|
-
The tag of the base image in the `Dockerfile` (`mcr.microsoft.com/playwright:v1.
|
|
17
|
+
The tag of the base image in the `Dockerfile` (such as `mcr.microsoft.com/playwright:v1.62.0-noble`) must match the version of the `playwright` package in `package-lock.json`, so that the browsers baked into the image are the ones the installed Playwright expects. When you update dependencies, check the version of the `playwright` package (with `npm list playwright --depth=0`) and incorporate that version into the `Dockerfile`.
|
|
18
|
+
|
|
19
|
+
However, to be sure that this works, check `https://mcr.microsoft.com/v2/playwright/tags/list` to determine whether an image for that version exists yet. If not and you want to run Testaro containerized, pin the version in `package.json` to the last version for which a base image exists and use that version in `Dockerfile`, too.
|
|
18
20
|
|
|
19
21
|
## The Chromium sandbox
|
|
20
22
|
|
package/Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
# The base-image tag must match the version of the playwright package in
|
|
11
11
|
# package-lock.json, so that the browsers baked into the image are the ones
|
|
12
12
|
# the installed Playwright expects.
|
|
13
|
-
FROM mcr.microsoft.com/playwright:v1.
|
|
13
|
+
FROM mcr.microsoft.com/playwright:v1.62.0-noble
|
|
14
14
|
|
|
15
15
|
# Install a headless Java runtime for the nuVnu test (vnu-jar); baking it in
|
|
16
16
|
# prevents vnu-jar from downloading a Temurin runtime over the network on
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testaro",
|
|
3
|
-
"version": "76.2.
|
|
3
|
+
"version": "76.2.2",
|
|
4
4
|
"description": "Run 1300 web accessibility tests from 10 tools and get a standardized report",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"url": "https://github.com/jrpool/testaro/issues"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/jrpool/testaro#readme",
|
|
32
|
-
"//": "playwright is temporarily pinned to version 1.61.1 because mcr.microsoft.com/playwright:v1.62.0-noble has not yet been released, so containerized deployment requires version 1.61.1.",
|
|
33
32
|
"dependencies": {
|
|
34
33
|
"@qualweb/core": "*",
|
|
35
34
|
"@qualweb/act-rules": "*",
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
"axe-playwright": "*",
|
|
46
45
|
"dotenv": "*",
|
|
47
46
|
"pixelmatch": "*",
|
|
48
|
-
"playwright": "
|
|
47
|
+
"playwright": "*",
|
|
49
48
|
"playwright-dompath": "*",
|
|
50
49
|
"playwright-extra": "*",
|
|
51
50
|
"playwright-extra-plugin-stealth": "*",
|