| + |
shell: |
|
| + |
node --version
|
| + |
npm --version
|
| + |
which node
|
| + |
which npm
|
| + |
|
| + |
cp -r ../../snapshots ./tests/visual/snapshots
|
| + |
|
| + |
mkdir -p ./tests/artifacts
|
| + |
./scripts/install-binaries
|
| + |
export PATH=$(./scripts/install-binaries --show-path):$PATH
|
| + |
|
| + |
npm ci
|
| + |
npm run build
|
| + |
|
| + |
exit=0
|
| + |
(npm run check) || exit=1
|
| + |
(npm run test:unit) || exit=1
|
| + |
(npm run test:httpd-api:unit) || exit=1
|
| + |
(npm run test:e2e -- --project chromium --config playwright.buildSmoke.config.ts) || exit=1
|
| + |
(
|
| + |
npm run test:e2e -- --project chromium
|
| + |
cp -r ./tests/artifacts ../../artifacts/e2e
|
| + |
) || exit=1
|
| + |
(
|
| + |
npm run test:e2e -- --project visual-desktop visual-mobile
|
| + |
cp -r ./tests/artifacts ../../artifacts/visual
|
| + |
) || exit=1
|
| + |
|
| + |
|
| + |
exit "$exit"
|