File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ COPY --chmod=444 package.json pnpm-lock.yaml ./
66RUN npm install --ignore-scripts -g pnpm && \
77 pnpm install --ignore-scripts
88
9- COPY . .
9+ COPY components.json tailwind.config.js tsconfig.json vite.config.ts ./
10+ COPY index.html index.html
11+ COPY public public
12+ COPY src src
1013
1114RUN pnpm run build
1215
Original file line number Diff line number Diff line change @@ -8,4 +8,9 @@ COPY --chmod=444 package.json pnpm-lock.yaml ./
88RUN npm install --ignore-scripts -g pnpm && \
99 pnpm install --ignore-scripts
1010
11- COPY . .
11+ COPY __tests__/e2e __tests__/e2e
12+ COPY __tests__/unit/data __tests__/unit/data
13+ COPY index.html index.html
14+ COPY playwright.config.ts playwright.config.ts
15+ COPY src src
16+ COPY tailwind.config.js tsconfig.json vite.config.ts ./
Original file line number Diff line number Diff line change 1- import { defineConfig } from '@playwright/test'
1+ import { defineConfig , devices } from '@playwright/test'
22
33export default defineConfig ( {
44 fullyParallel : true ,
@@ -7,8 +7,15 @@ export default defineConfig({
77 name : 'Chromium' ,
88 use : { browserName : 'chromium' } ,
99 } ,
10+ {
11+ name : 'Mobile Safari - iPhone 13' ,
12+ use : {
13+ ...devices [ 'iPhone 13' ] ,
14+ } ,
15+ } ,
1016 ] ,
1117 reporter : [ [ 'list' , { printSteps : true } ] ] ,
18+ retries : 2 ,
1219 testDir : './__tests__/e2e' ,
1320 use : {
1421 baseURL : 'http://localhost:3000' ,
You can’t perform that action at this time.
0 commit comments