Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: various Playwright improvements #2031

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading