Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI tests - Add first scénario to upgrade from module interface #1088

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .github/workflows/checksUI.yml
100644 → 100755
Empty file.
12 changes: 6 additions & 6 deletions .github/workflows/ui-test.yml → .github/workflows/sanity-tests.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: UI Tests
name: Upgrade CLI
on:
## Check each PR
push:
Expand All @@ -20,10 +20,10 @@ env:
jobs:
ui_test_matrix:
if: github.event.pull_request.draft == false
name: UI Tests (Matrix)
name: Upgrade CLI (Matrix)
runs-on: ubuntu-latest
env:
JSON_FILE: ${{ (github.event_name == 'schedule' || (github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'dev' && github.event.pull_request.base.ref == 'master')) && 'nightly.json' || 'sanity.json' }}
JSON_FILE: ${{ (github.event_name == 'schedule' || (github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'dev' && github.event.pull_request.base.ref == 'master')) && 'nightlySanity.json' || 'sanity.json' }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
run: echo "matrix=$(jq -c '. | del(.include[] | select(has("comment")))' .github/workflows/ui-test/${{ env.JSON_FILE }})" >> $GITHUB_OUTPUT

ui_test:
name: UI Tests
name: Sanity Tests
runs-on: ubuntu-latest
needs: ui_test_matrix
strategy:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
DB_PASSWD: prestashop
DB_NAME: prestashop
DB_PREFIX: ps_
run: npx playwright test
run: npm run test:sanity

- name: Rollback
run: |
Expand All @@ -128,7 +128,7 @@ jobs:
DB_PASSWD: prestashop
DB_NAME: prestashop
DB_PREFIX: ps_
run: npx playwright test
run: npm run test:sanity

- name: Export Docker errors
working-directory: tests/UI/
Expand Down
File renamed without changes.
Loading
Loading