зеркало из https://github.com/mozilla/fxa.git
add html reporting to smoke tests
This commit is contained in:
Родитель
2ab7a0edf5
Коммит
f0d78f2b76
|
@ -656,6 +656,19 @@ jobs:
|
|||
- run-playwright-tests:
|
||||
project: << parameters.project >>
|
||||
- store-artifacts
|
||||
- run:
|
||||
name: create HTML Reports
|
||||
command: |
|
||||
cd artifacts/blob-report
|
||||
echo "Creating HTML reports"
|
||||
ls -l
|
||||
if ls *.zip 1> /dev/null 2>&1; then
|
||||
npx playwright test --reporter=html
|
||||
else
|
||||
echo "No report zip files found, skipping HTML merge."
|
||||
fi
|
||||
- store_artifacts:
|
||||
path: playwright-report
|
||||
|
||||
# Runs functional tests using playwright. These tests support splitting
|
||||
# and parallel execution.
|
||||
|
|
Загрузка…
Ссылка в новой задаче