NYM-1199: Add visual flow report for Node Families E2E tests

Enhances Playwright E2E tests by capturing full-page screenshots at each
journey step, which are then stitched into a static `e2e-report/index.html`
filmstrip.

This report is uploaded as a CI artifact (even on failure) to provide a
visual overview of test execution, aiding in the detection of UI regressions
and expediting debugging of test failures.
This commit is contained in:
Yana Matrosova
2026-06-09 14:27:56 +03:00
parent 2007894ee6
commit c9e2d18ef3
9 changed files with 159 additions and 4 deletions
+18 -1
View File
@@ -72,7 +72,24 @@ jobs:
run: |
cp -R nym-wallet/storybook-static "$OUTPUT_DIR"
- name: Upload storybook to CI build server
- name: Stage e2e visual flow report
# Generated by the Playwright run (globalTeardown) regardless of pass/fail; `always()`
# so a failing run still uploads the filmstrip for inspection. mkdir covers the
# e2e-failure path where "Prepare build output directory" was skipped.
if: always()
shell: bash
env:
REPORT_DIR: ci-builds/${{ github.ref_name }}/nym-wallet/e2e-report/
run: |
if [ -d nym-wallet/e2e-report ]; then
mkdir -p "$REPORT_DIR"
cp -R nym-wallet/e2e-report/. "$REPORT_DIR"
else
echo "no e2e-report produced"
fi
- name: Upload CI artifacts (storybook + e2e visual report)
if: always()
continue-on-error: true
uses: easingthemes/ssh-deploy@main
env: