Skip to content

Commit

Permalink
fix: various Playwright improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Mar 6, 2024
1 parent ef7a775 commit a9e6110
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci_canary
name: Publish Canary Image
on:
workflow_dispatch:
push:
Expand Down
14 changes: 3 additions & 11 deletions Dockerfile.canary
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
FROM node:20-bookworm as base
FROM node:20-bookworm


WORKDIR /

# RUN apk --update --no-cache \
# add g++ make python3

FROM base as build

WORKDIR /
WORKDIR /src

COPY ../ ./
RUN npm ci
RUN npm run build

WORKDIR /apps/laboratory/
WORKDIR ./apps/laboratory/

RUN npm run playwright:install

Expand Down
10 changes: 5 additions & 5 deletions apps/laboratory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"build:laboratory": "next build",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"playwright:start": "npm run dev:laboratory",
"playwright:install": "npx playwright install --with-deps",
"playwright:test": "npx playwright test",
"playwright:test:wallet": "npx playwright test --grep 'connect-qr.spec.ts|wallet.spec.ts'",
"playwright:test:siwe": "npx playwright test --grep siwe.spec.ts",
"playwright:test:canary": "npx playwright test --retries=0 --grep canary.spec.ts --project='Desktop Chrome/wagmi'",
"playwright:install": "playwright install --with-deps",
"playwright:test": "playwright test",
"playwright:test:wallet": "playwright test --grep 'connect-qr.spec.ts|wallet.spec.ts'",
"playwright:test:siwe": "playwright test --grep siwe.spec.ts",
"playwright:test:canary": "playwright test --retries=0 --grep canary.spec.ts --project='Desktop Chrome/wagmi'",
"playwright:debug": "npm run playwright:test -- --debug",
"playwright:debug:wallet": "npm run playwright:test:wallet -- --debug",
"playwright:debug:siwe": "npm run playwright:test:siwe -- --debug",
Expand Down

0 comments on commit a9e6110

Please sign in to comment.