Skip to content

Commit ef6cdb5

Browse files
committed
👷 chore(shopify-e2e): moved shopify e2e test to a daily schedule
1 parent 7c81df8 commit ef6cdb5

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

‎.gitlab-ci.yml‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ e2e:
254254
- yarn build:apps
255255
# Browsers are pre-installed in the CI image. If playwright (current or pinned 1.40.1)
256256
# is upgraded without rebuilding the image, this job will crash — rebuild the image to fix it.
257-
- FORCE_COLOR=1 PW_BROWSER=$BROWSER yarn test:e2e --project=$BROWSER
257+
# Shopify is excluded here: it only runs on a schedule (see e2e-shopify-scheduled)
258+
- FORCE_COLOR=1 PW_BROWSER=$BROWSER yarn test:e2e --project=$BROWSER --grep-invert "shopify"
258259
after_script:
259260
- node ./scripts/test/export-test-result.ts e2e
260261

@@ -633,6 +634,30 @@ api-performance-benchmark:
633634
- yarn
634635
- node ./scripts/api-performance/index.ts
635636

637+
########################################################################################################################
638+
# Shopify e2e (scheduled, against a live external store)
639+
########################################################################################################################
640+
641+
e2e-shopify-scheduled:
642+
stage: task
643+
extends:
644+
- .base-configuration
645+
- .resource-allocation-4-cpus
646+
only:
647+
variables:
648+
- $TARGET_TASK_NAME == "e2e-shopify-scheduled"
649+
artifacts:
650+
when: always
651+
reports:
652+
junit: test-report/e2e/*.xml
653+
script:
654+
- yarn
655+
- yarn build
656+
- yarn build:apps
657+
- FORCE_COLOR=1 PW_BROWSER=chromium yarn test:e2e --project=chromium -g "shopify"
658+
after_script:
659+
- node ./scripts/test/export-test-result.ts e2e
660+
636661
########################################################################################################################
637662
# Check expired telemetry
638663
########################################################################################################################

0 commit comments

Comments
 (0)