Skip to content

Commit

Permalink
Update playwright (#321)
Browse files Browse the repository at this point in the history
* update playwright

* add flag to docker run

* update playwright in design package
  • Loading branch information
ethangardner authored Sep 25, 2024
1 parent f798696 commit daad546
Show file tree
Hide file tree
Showing 4 changed files with 996 additions and 435 deletions.
4 changes: 2 additions & 2 deletions e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# base image with Node.js and playwright preinstalled
FROM mcr.microsoft.com/playwright:v1.46.0-jammy as base
FROM mcr.microsoft.com/playwright:v1.47.2-noble as base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV NODE_ENV=test
RUN apt-get update && apt-get install -y netcat
RUN apt-get -y update && apt-get install -y netcat-openbsd
WORKDIR /srv/apps/atj-platform
COPY ./pnpm-lock.yaml ./pnpm-lock.yaml
COPY ./package.json ./package.json
Expand Down
2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "export E2E_ENDPOINT=http://localhost:4321; pnpm playwright test --ui-port=8080 --ui-host=0.0.0.0"
},
"devDependencies": {
"@playwright/test": "^1.46.0",
"@playwright/test": "^1.47.2",
"@storybook/test-runner": "^0.19.1",
"path-to-regexp": "^7.1.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dist/**/*"
],
"devDependencies": {
"@playwright/test": "^1.46.0",
"@playwright/test": "^1.47.2",
"@storybook/addon-a11y": "^8.2.8",
"@storybook/addon-coverage": "^1.0.4",
"@storybook/addon-essentials": "^8.2.8",
Expand Down Expand Up @@ -56,7 +56,7 @@
"install": "^0.13.0",
"jsdom": "^24.1.1",
"onchange": "^7.1.0",
"playwright": "^1.46.1",
"playwright": "^1.47.2",
"prop-types": "^15.8.1",
"react-dom": "^18.3.1",
"vite": "^5.4.0",
Expand Down
Loading

0 comments on commit daad546

Please sign in to comment.