SEC-10095 test(cypress): demote unstable tests (#36099)

* test(cypress): demote unstable tests

* follow fixes

* fix merging playwright reports
Этот коммит содержится в:
sabril
2026-04-15 21:38:49 +08:00
коммит произвёл GitHub
родитель 82b3f494b4
Коммит 7ab7f0bd00
83 изменённых файлов: 23 добавлений и 98 удалений

Просмотреть файл

@@ -228,16 +228,8 @@ jobs:
mkdir -p results/reporter
# Merge blob reports using Playwright merge-reports (per docs)
# Pin version to match the one used to generate blob reports (avoids format mismatch)
PW_VERSION=$(node -e "const p=require('./package.json');process.stdout.write(p.dependencies?.['@playwright/test']||p.devDependencies?.['@playwright/test']||'')")
npm install --no-save @playwright/test@${PW_VERSION}
npx playwright merge-reports --config merge.config.mjs ./shard-results/results/blob-report/ || true
# If merge-reports produced no results.json (no blob reports), fall back to
# the json reporter output written directly by the test shard
if [ ! -f results/reporter/results.json ] && [ -f shard-results/results/reporter/results.json ]; then
cp shard-results/results/reporter/results.json results/reporter/results.json
fi
npm install --no-save @playwright/test
npx playwright merge-reports --config merge.config.mjs ./shard-results/results/blob-report/
- name: ci/calculate
id: calculate
uses: ./.github/actions/calculate-playwright-results