Skip to content
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
5 changes: 4 additions & 1 deletion frontend/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ COPY --chmod=444 package.json pnpm-lock.yaml ./
RUN npm install --ignore-scripts -g pnpm && \
pnpm install --ignore-scripts

COPY . .
COPY components.json tailwind.config.js tsconfig.json vite.config.ts ./
COPY index.html index.html
COPY public public
COPY src src

RUN pnpm run build

Expand Down
7 changes: 6 additions & 1 deletion frontend/docker/Dockerfile.e2e.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ COPY --chmod=444 package.json pnpm-lock.yaml ./
RUN npm install --ignore-scripts -g pnpm && \
pnpm install --ignore-scripts

COPY . .
COPY __tests__/e2e __tests__/e2e
COPY __tests__/unit/data __tests__/unit/data
COPY index.html index.html
COPY playwright.config.ts playwright.config.ts
COPY src src
COPY tailwind.config.js tsconfig.json vite.config.ts ./
9 changes: 8 additions & 1 deletion frontend/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from '@playwright/test'
import { defineConfig, devices } from '@playwright/test'

export default defineConfig({
fullyParallel: true,
Expand All @@ -7,8 +7,15 @@ export default defineConfig({
name: 'Chromium',
use: { browserName: 'chromium' },
},
{
name: 'Mobile Safari - iPhone 13',
use: {
...devices['iPhone 13'],
},
},
],
reporter: [['list', { printSteps: true }]],
retries: 2,
testDir: './__tests__/e2e',
use: {
baseURL: 'http://localhost:3000',
Expand Down