Skip to content

Commit

Permalink
Merge pull request #1151 from PrestaShop/revert-1088-AddTestOfUpgrade…
Browse files Browse the repository at this point in the history
…FromInterface

Revert "UI tests - Add first scénario to upgrade from module interface"
  • Loading branch information
ga-devfront authored Feb 3, 2025
2 parents 1a1f9f3 + fcee43a commit 94f3197
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 1,758 deletions.
Empty file modified .github/workflows/checksUI.yml
100755 → 100644
Empty file.
12 changes: 6 additions & 6 deletions .github/workflows/sanity-tests.yml → .github/workflows/ui-test.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upgrade CLI
name: UI Tests
on:
## Check each PR
push:
Expand All @@ -20,10 +20,10 @@ env:
jobs:
ui_test_matrix:
if: github.event.pull_request.draft == false
name: Upgrade CLI (Matrix)
name: UI Tests (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')) && 'nightlySanity.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')) && 'nightly.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: Sanity Tests
name: UI 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: npm run test:sanity
run: npx playwright test

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

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

0 comments on commit 94f3197

Please sign in to comment.