Skip to content

Commit 68d7af3

Browse files
Skip running blocks E2E tests (#5446)
* Skip running blocks E2E tests * Add todo for un-skipping.
1 parent 4c32230 commit 68d7af3

File tree

3 files changed

+24
-25
lines changed

3 files changed

+24
-25
lines changed

.github/workflows/e2e-pull-request.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
test_groups: [ 'wcpay', 'subscriptions', 'blocks' ]
33+
test_groups: [ 'wcpay', 'subscriptions' ] # [TODO] Unskip blocks tests after investigating constant failures.
3434
test_branches: [ 'merchant', 'shopper' ]
35-
exclude:
36-
- test_groups: 'blocks'
37-
test_branches: 'merchant'
3835

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

.github/workflows/e2e-test.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,27 +67,28 @@ jobs:
6767
uses: ./.github/actions/e2e/run-log-tests
6868

6969
# Run tests against WC Checkout blocks & WC latest
70-
blocks-tests:
71-
runs-on: ubuntu-20.04
72-
name: WC - latest | blocks - shopper
70+
# [TODO] Unskip blocks tests after investigating constant failures.
71+
# blocks-tests:
72+
# runs-on: ubuntu-20.04
73+
# name: WC - latest | blocks - shopper
7374

74-
env:
75-
E2E_WP_VERSION: 'latest'
76-
E2E_WC_VERSION: 'latest'
77-
E2E_GROUP: 'blocks'
78-
E2E_BRANCH: 'shopper'
79-
SKIP_WC_SUBSCRIPTIONS_TESTS: 1 #skip installing & running subscriptions tests
80-
SKIP_WC_ACTION_SCHEDULER_TESTS: 1 #skip installing & running action scheduler tests
75+
# env:
76+
# E2E_WP_VERSION: 'latest'
77+
# E2E_WC_VERSION: 'latest'
78+
# E2E_GROUP: 'blocks'
79+
# E2E_BRANCH: 'shopper'
80+
# SKIP_WC_SUBSCRIPTIONS_TESTS: 1 #skip installing & running subscriptions tests
81+
# SKIP_WC_ACTION_SCHEDULER_TESTS: 1 #skip installing & running action scheduler tests
8182

82-
steps:
83-
- name: Checkout WCPay repository
84-
uses: actions/checkout@v2
83+
# steps:
84+
# - name: Checkout WCPay repository
85+
# uses: actions/checkout@v2
8586

86-
- name: Setup E2E environment
87-
uses: ./.github/actions/e2e/env-setup
87+
# - name: Setup E2E environment
88+
# uses: ./.github/actions/e2e/env-setup
8889

89-
- name: Run tests, upload screenshots & logs
90-
uses: ./.github/actions/e2e/run-log-tests
90+
# - name: Run tests, upload screenshots & logs
91+
# uses: ./.github/actions/e2e/run-log-tests
9192

9293
# Run tests against WP Nightly & WC latest
9394
wp-nightly-tests:
@@ -96,11 +97,8 @@ jobs:
9697
strategy:
9798
fail-fast: false
9899
matrix:
99-
test_groups: [ 'wcpay', 'subscriptions', 'blocks' ]
100+
test_groups: [ 'wcpay', 'subscriptions' ] # [TODO] Unskip blocks tests after investigating constant failures.
100101
test_branches: [ 'merchant', 'shopper' ]
101-
exclude:
102-
- test_groups: 'blocks'
103-
test_branches: 'merchant'
104102

105103
name: WP - nightly | WC - latest | ${{ matrix.test_groups }} - ${{ matrix.test_branches }}
106104

changelog/skip-blocks-e2e-tests

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: dev
3+
4+
Skip running blocks E2E tests, add comment for the same.

0 commit comments

Comments
 (0)