ci: re-enable e2e suite (hydration step 5)
ci-deploy / build-deploy-test (push) Failing after 14m54s
ci-deploy / build-deploy-test (push) Failing after 14m54s
After hoisting today to the route loader (with useRef fallback) the React #423 hydration error is gone on /onlineboard and /flights-map (verified live). Breadcrumb-parity assertions should now pass because city dictionaries resolve correctly without WAF flake. If e2e still fails, the failure signature points to which of hydration-fix steps 2-4 to do next.
This commit is contained in:
@@ -133,24 +133,20 @@ jobs:
|
||||
https://ui-dashboard.gnerim.ru/api/dictionary/1/cities \
|
||||
| grep -iE "^HTTP|x-cache-status"
|
||||
|
||||
# E2e suite is temporarily disabled while we triage real assertion
|
||||
# failures (breadcrumb locale mismatches, etc.) — the CI/CD pipeline
|
||||
# itself (build → deploy → health) is working. Re-enable after the
|
||||
# specs are fixed or partitioned into release-verify.
|
||||
# - name: Install Playwright browsers
|
||||
# id: playwright_install
|
||||
# run: pnpm exec playwright install --with-deps chromium
|
||||
#
|
||||
# - name: Run Playwright e2e
|
||||
# id: e2e
|
||||
# env:
|
||||
# BASE_URL: https://ui-dashboard.gnerim.ru
|
||||
# BASIC_AUTH_USER: ${{ secrets.BASIC_AUTH_USER }}
|
||||
# BASIC_AUTH_PASS: ${{ secrets.BASIC_AUTH_PASS }}
|
||||
# run: pnpm test:e2e
|
||||
- name: Install Playwright browsers
|
||||
id: playwright_install
|
||||
run: pnpm exec playwright install --with-deps chromium
|
||||
|
||||
- name: Run Playwright e2e
|
||||
id: e2e
|
||||
env:
|
||||
BASE_URL: https://ui-dashboard.gnerim.ru
|
||||
BASIC_AUTH_USER: ${{ secrets.BASIC_AUTH_USER }}
|
||||
BASIC_AUTH_PASS: ${{ secrets.BASIC_AUTH_PASS }}
|
||||
run: pnpm test:e2e
|
||||
|
||||
- name: Rollback on failure (post-deploy steps)
|
||||
if: failure() && (steps.swap.outcome == 'failure' || steps.health.outcome == 'failure')
|
||||
if: failure() && (steps.swap.outcome == 'failure' || steps.health.outcome == 'failure' || steps.e2e.outcome == 'failure')
|
||||
id: rollback
|
||||
run: scripts/ci/deploy-container.sh rollback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user