Skip to content

Commit

Permalink
Merge split UPE tests with main gateway tests (#7954)
Browse files Browse the repository at this point in the history
Co-authored-by: Timur Karimov <[email protected]>
  • Loading branch information
timur27 and Timur Karimov authored Jan 19, 2024
1 parent a7904e5 commit 06ccfd5
Show file tree
Hide file tree
Showing 14 changed files with 1,211 additions and 2,769 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/e2e-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,8 @@ jobs:
strategy:
fail-fast: false
matrix:
test_groups: [ 'wcpay', 'subscriptions', 'upe', 'upeSplit' ] # [TODO] Unskip blocks tests after investigating constant failures.
test_groups: [ 'wcpay', 'subscriptions' ] # [TODO] Unskip blocks tests after investigating constant failures.
test_branches: [ 'merchant', 'shopper' ]
exclude:
- test_groups: 'upe'
test_branches: 'merchant'
- test_groups: 'upeSplit'
test_branches: 'merchant'

name: WC - latest | ${{ matrix.test_groups }} - ${{ matrix.test_branches }}

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/e2e-tests-atomic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,12 @@ jobs:
fail-fast: false
max-parallel: 1
matrix:
test_groups: [ 'wcpay', 'subscriptions', 'upe', 'upeSplit' ]
test_groups: [ 'wcpay', 'subscriptions' ]
test_branches: [ 'merchant', 'shopper' ]
exclude:
- test_groups: 'subscriptions'
- test_groups: 'wcpay'
test_branches: 'merchant'
- test_groups: 'upe'
test_branches: 'merchant'
- test_groups: 'upeSplit'
test_branches: 'merchant'

env:
E2E_GROUP: ${{ matrix.test_groups }}
Expand Down
4 changes: 4 additions & 0 deletions changelog/merge-upe-non-upe-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: dev

Merge UPE tests into the single and main gateway test file for unit and E2E tests.
2 changes: 0 additions & 2 deletions tests/e2e/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const e2ePaths = {
wcpay: path.resolve( __dirname, '../specs/wcpay' ),
subscriptions: path.resolve( __dirname, '../specs/subscriptions' ),
blocks: path.resolve( __dirname, '../specs/blocks' ),
upe: path.resolve( __dirname, '../specs/upe' ),
upeSplit: path.resolve( __dirname, '../specs/upe-split' ),
};

// Allow E2E tests to run specific tests - wcpay, subscriptions, blocks, all (default).
Expand Down

This file was deleted.

112 changes: 0 additions & 112 deletions tests/e2e/specs/upe/shopper/shopper-upe-enabled-all-flows.spec.js

This file was deleted.

Loading

0 comments on commit 06ccfd5

Please sign in to comment.