File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55
55
--overrides '{\
56
56
"containerOverrides":[{\
57
57
"name":"playwright",\
58
- "command"\
59
- [ "npx"," playwright"," test"]}]}'
58
+ "command":["sh", "-c", \
59
+ "npx playwright install && npx playwright test"]}]}'
60
60
continue-on-error : false # Ensure it stops if the ECS task fails
61
61
62
62
- name : Upload test results as artifact
@@ -115,8 +115,8 @@ jobs:
115
115
assignPublicIp=\"ENABLED\"}" \
116
116
--overrides '{"containerOverrides":\
117
117
[{"name":"playwright",\
118
- "command":["npx", \
119
- "playwright"," test"]}]}'
118
+ "command":["sh", "-c", \
119
+ "npx playwright install && npx playwright test"]}]}'
120
120
continue-on-error : false # Ensure it stops if the ECS task fails
121
121
122
122
- name : Upload test results as artifact
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ services:
160
160
# - rabbitmq-data:/var/lib/rabbitmq
161
161
162
162
playwright :
163
- image : mcr.microsoft.com/playwright:v1.41.2 -jammy
163
+ image : mcr.microsoft.com/playwright:v1.50.1 -jammy
164
164
working_dir : /workspace
165
165
volumes :
166
166
- ./playwright:/workspace
@@ -174,7 +174,7 @@ services:
174
174
- PW_XFD_USER_ROLE=${PW_XFD_USER_ROLE}
175
175
- PW_XFD_USERNAME=${PW_XFD_USERNAME}
176
176
command : >
177
- /bin/bash -c "npm ci && npx playwright test"
177
+ /bin/bash -c "npm ci && npx playwright install --with-deps && npx playwright test"
178
178
179
179
volumes :
180
180
postgres-data :
You can’t perform that action at this time.
0 commit comments