@element-hq/element-web-playwright-common 2.2.4 → 2.2.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@element-hq/element-web-playwright-common",
3
3
  "type": "module",
4
- "version": "2.2.4",
4
+ "version": "2.2.5",
5
5
  "license": "SEE LICENSE IN README.md",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  "@axe-core/playwright": "^4.10.1",
33
33
  "@testcontainers/postgresql": "^11.0.0",
34
34
  "glob": "^13.0.0",
35
- "lodash-es": "^4.17.21",
35
+ "lodash-es": "^4.17.23",
36
36
  "mailpit-api": "^1.2.0",
37
37
  "strip-ansi": "^7.1.0",
38
38
  "testcontainers": "^11.0.0",
@@ -11,10 +11,8 @@ IMAGE_NAME="element-web-playwright-common"
11
11
  build_image() {
12
12
  echo "Building $IMAGE_NAME image in $SCRIPT_DIR"
13
13
 
14
- # Fetch the playwright version
15
- # .data.version is for yarn classic
16
- # .children.Version is for yarn berry
17
- PW_VERSION=$(yarn info --manifest --json @playwright/test | jq -r '.data.version // .children.Version')
14
+ # Check the playwright version
15
+ PW_VERSION=$(yarn list --pattern @playwright/test --depth=0 --json --non-interactive --no-progress | jq -r '.data.trees[].name | split("@") | last')
18
16
  echo "with Playwright version $PW_VERSION"
19
17
 
20
18
  # Build image