Skip to content

Commit 9fe643c

Browse files
ljagielapczeglik-iohk
authored andcommitted
chore: run all midnight e2e tests for bundle release (#2176)
1 parent 0a4d212 commit 9fe643c

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/release-lace-bundle.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,10 @@ jobs:
457457
runs-on: ubuntu-22.04
458458
needs: bundle
459459
if: ${{ github.event.inputs.test_mode != 'none' }}
460+
strategy:
461+
fail-fast: false
462+
matrix:
463+
batch: [1, 2, 3, 4, 5, 6, 7, 8]
460464

461465
steps:
462466
- name: Checkout repository
@@ -510,20 +514,28 @@ jobs:
510514
- name: Start XVFB
511515
run: Xvfb :99 &
512516

513-
- name: Execute Midnight E2E smoke test
517+
- name: Execute Midnight E2E tests
514518
working-directory: v2/apps/midnight-extension-e2e
515519
env:
516520
WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }}
517521
DISPLAY: ":99.0"
518522
LMP_BUNDLE: "true"
519523
USE_CUSTOM_FEATURE_FLAGS: false
520-
run: npx wdio run wdio.conf.chrome.ts --spec=./src/features/ReleaseSmokeTest.feature
524+
BATCH: ${{ matrix.batch }}
525+
run: |
526+
if [ "${{ env.TEST_MODE }}" == "smoke" ]; then
527+
TAGS_TO_RUN="--cucumberOpts.tags='@Smoke'";
528+
else
529+
TAGS_TO_RUN="";
530+
fi
531+
runCommand="npx wdio run wdio.conf.chrome.ts --suite batch${BATCH} ${TAGS_TO_RUN}"
532+
eval "$runCommand"
521533
522534
- name: Publish artifacts (logs, reports, screenshots)
523535
uses: actions/upload-artifact@v4
524536
if: always()
525537
with:
526-
name: midnight-runner-artifacts
538+
name: midnight-runner-artifacts-${{ matrix.batch }}
527539
path: |
528540
v2/apps/midnight-extension-e2e/screenshots
529541
v2/apps/midnight-extension-e2e/logs
@@ -564,7 +576,8 @@ jobs:
564576
uses: actions/download-artifact@v5
565577
with:
566578
path: ./midnight/artifacts
567-
name: midnight-runner-artifacts
579+
pattern: midnight-runner-artifacts-*
580+
merge-multiple: true
568581

569582
- name: Create v1 allure properties
570583
working-directory: "./v1/artifacts/reports/allure/results"

0 commit comments

Comments
 (0)