@@ -236,6 +236,53 @@ jobs:
236
236
RELEASE_CHANNEL : experimental
237
237
command : ./scripts/circleci/run_devtools_e2e_tests.js
238
238
239
+ run_fixtures_flight_tests :
240
+ docker :
241
+ - image : cimg/openjdk:20.0-node
242
+ environment : *environment
243
+ steps :
244
+ - checkout
245
+ - attach_workspace :
246
+ at : .
247
+ # Fixture copies some built packages from the workroot after install.
248
+ # That means dependencies of the built packages are not installed.
249
+ # We need to install dependencies of the workroot to fulfill all dependency constraints
250
+ - setup_node_modules
251
+ - restore_cache :
252
+ name : Restore yarn cache of fixture
253
+ keys :
254
+ - v2-yarn_cache_fixtures_flight-{{ arch }}-{{ checksum "yarn.lock" }}
255
+ - run :
256
+ name : Install fixture dependencies
257
+ working_directory : fixtures/flight
258
+ command : |
259
+ yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
260
+ if [ $? -ne 0 ]; then
261
+ yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
262
+ fi
263
+ - save_cache :
264
+ name : Save yarn cache of fixture
265
+ key : v2-yarn_cache_fixtures_flight-{{ arch }}-{{ checksum "yarn.lock" }}
266
+ paths :
267
+ - ~/.cache/yarn
268
+ - run :
269
+ working_directory : fixtures/flight
270
+ name : Playwright install deps
271
+ command : |
272
+ npx playwright install
273
+ sudo npx playwright install-deps
274
+ - run :
275
+ name : Run tests
276
+ working_directory : fixtures/flight
277
+ command : yarn test
278
+ environment :
279
+ # Otherwise the webserver is a blackbox
280
+ DEBUG : pw:webserver
281
+ - store_artifacts :
282
+ path : fixtures/flight/playwright-report
283
+ - store_artifacts :
284
+ path : fixtures/flight/test-results
285
+
239
286
run_devtools_tests_for_versions :
240
287
docker : *docker
241
288
environment : *environment
@@ -516,6 +563,9 @@ workflows:
516
563
- run_devtools_e2e_tests :
517
564
requires :
518
565
- build_devtools_and_process_artifacts
566
+ - run_fixtures_flight_tests :
567
+ requires :
568
+ - yarn_build
519
569
520
570
devtools_regression_tests :
521
571
unless : << pipeline.parameters.prerelease_commit_sha >>
0 commit comments