diff --git a/.github/scripts/nebula_create.sh b/.github/scripts/nebula_create.sh index 4a9e19063..2ba448a9b 100755 --- a/.github/scripts/nebula_create.sh +++ b/.github/scripts/nebula_create.sh @@ -30,5 +30,11 @@ if [ "$BUILD" = "true" ]; then yarn run build fi if [ "$TEST" = "true" ]; then + echo "Installing Playwright browser for this generated project" + if [ "${CI:-false}" = "true" ]; then + yarn playwright install chromium --with-deps + else + yarn playwright install chromium + fi yarn run test:e2e fi \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23d4cf284..0f22d7a60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,8 +188,6 @@ jobs: path: . - name: Install dependencies run: yarn install --immutable - - name: Install Playwright Chromium - run: npx playwright install chromium --with-deps - run: chmod +x .github/scripts/nebula_create.sh - name: Create Nebula visualization project (Picasso) run: .github/scripts/nebula_create.sh generated/hello none false false true true diff --git a/commands/serve/package.json b/commands/serve/package.json index e62840e98..9bf8b98bf 100644 --- a/commands/serve/package.json +++ b/commands/serve/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "@nebula.js/cli-build": "^6.8.0", - "@qlik/api": "^2.7.0", + "@qlik/api": "^2.8.0", "body-parser": "2.2.2", "chalk": "4.1.2", "chokidar": "5.0.0", @@ -67,7 +67,7 @@ "@nebula.js/snapshooter": "^6.8.0", "@nebula.js/stardust": "^6.8.0", "@nebula.js/ui": "^6.8.0", - "@playwright/test": "^1.49.0", + "@playwright/test": "^1.60.0", "autosuggest-highlight": "3.3.4", "babel-loader": "10.1.1", "d3-require": "1.3.0", diff --git a/package.json b/package.json index 33622b452..7d423e4be 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@commitlint/cli": "20.5.0", "@commitlint/config-conventional": "20.5.0", "@jest/globals": "^30.3.0", - "@playwright/test": "1.59.1", + "@playwright/test": "^1.60.0", "@rollup/plugin-babel": "7.0.0", "@rollup/plugin-commonjs": "29.0.2", "@rollup/plugin-json": "6.1.0", diff --git a/yarn.lock b/yarn.lock index 77022e2fe..579caa669 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3825,8 +3825,8 @@ __metadata: "@nebula.js/snapshooter": "npm:^6.8.0" "@nebula.js/stardust": "npm:^6.8.0" "@nebula.js/ui": "npm:^6.8.0" - "@playwright/test": "npm:^1.49.0" - "@qlik/api": "npm:^2.7.0" + "@playwright/test": "npm:^1.60.0" + "@qlik/api": "npm:^2.8.0" autosuggest-highlight: "npm:3.3.4" babel-loader: "npm:10.1.1" body-parser: "npm:2.2.2" @@ -4949,7 +4949,7 @@ __metadata: languageName: node linkType: hard -"@qlik/api@npm:2.8.0, @qlik/api@npm:^2.7.0": +"@qlik/api@npm:2.8.0, @qlik/api@npm:^2.8.0": version: 2.8.0 resolution: "@qlik/api@npm:2.8.0" dependencies: @@ -16883,7 +16883,7 @@ __metadata: "@commitlint/cli": "npm:20.5.0" "@commitlint/config-conventional": "npm:20.5.0" "@jest/globals": "npm:^30.3.0" - "@playwright/test": "npm:1.59.1" + "@playwright/test": "npm:^1.60.0" "@rollup/plugin-babel": "npm:7.0.0" "@rollup/plugin-commonjs": "npm:29.0.2" "@rollup/plugin-json": "npm:6.1.0"