diff --git a/.github/workflows/playwright-test.yml b/.github/workflows/playwright-test.yml index 8db787260..5dd816775 100644 --- a/.github/workflows/playwright-test.yml +++ b/.github/workflows/playwright-test.yml @@ -3,18 +3,18 @@ name: Playwright Tests on: push: branches: [ 'main' ] - pull_request_target: + pull_request: branches: [ 'main' ] types: [ opened, reopened, synchronize, labeled ] jobs: test: + if: ${{ contains(github.event.pull_request.labels.*.name, 'safe to test') || github.actor == 'dependabot[bot]' }} name: Run Playwright Tests runs-on: ubuntu-latest container: - image: mcr.microsoft.com/playwright:v1.45.0-jammy + image: mcr.microsoft.com/playwright:v1.46.0-jammy - if: contains(github.event.pull_request.labels.*.name, 'safe to test') || ${{ github.actor == 'dependabot[bot]' }} steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/ui/package-lock.json b/ui/package-lock.json index 3464e1278..43f70bf72 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -54,7 +54,7 @@ "zod": "^3.23.8" }, "devDependencies": { - "@playwright/test": "^1.45.3", + "@playwright/test": "^1.46.0", "@storybook/addon-essentials": "^8.2.7", "@storybook/addon-interactions": "^8.2.7", "@storybook/addon-links": "^8.2.7", @@ -4486,12 +4486,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.45.3.tgz", - "integrity": "sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.0.tgz", + "integrity": "sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==", "devOptional": true, "dependencies": { - "playwright": "1.45.3" + "playwright": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -18411,12 +18411,12 @@ } }, "node_modules/playwright": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.45.3.tgz", - "integrity": "sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", + "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", "devOptional": true, "dependencies": { - "playwright-core": "1.45.3" + "playwright-core": "1.46.0" }, "bin": { "playwright": "cli.js" @@ -18429,9 +18429,9 @@ } }, "node_modules/playwright-core": { - "version": "1.45.3", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.45.3.tgz", - "integrity": "sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==", + "version": "1.46.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", + "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==", "devOptional": true, "bin": { "playwright-core": "cli.js" diff --git a/ui/package.json b/ui/package.json index b66070040..9faedfde4 100644 --- a/ui/package.json +++ b/ui/package.json @@ -59,7 +59,7 @@ "zod": "^3.23.8" }, "devDependencies": { - "@playwright/test": "^1.45.3", + "@playwright/test": "^1.46.0", "@storybook/addon-essentials": "^8.2.7", "@storybook/addon-interactions": "^8.2.7", "@storybook/addon-links": "^8.2.7",