diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index 0c46a48..feb5206 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -19,5 +19,4 @@ jobs: - name: Run the test run: | npm ci - npx playwright install --with-deps npm test diff --git a/package.json b/package.json index d6b0e83..3ec2617 100755 --- a/package.json +++ b/package.json @@ -209,7 +209,7 @@ "test:jshint": "jshint src/main", "test:lockfile-lint": "npx lockfile-lint -p package-lock.json", "test:mocha": "mocha test/unit", - "test:playwright": "playwright test test/e2e --browser all" + "test:playwright": "npx playwright install && playwright test test/e2e --browser all" }, "dependencies": { "detect-europe-js": "^0.1.2",