Run daily tests in an environment with HPOS enabled #54
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
hpos-build-and-e2e-tests-daily.yml
on: schedule
Runs E2E tests with HPOS enabled.
23m 21s
Runs API tests with HPOS enabled.
5m 59s
Annotations
11 errors, 5 warnings, and 1 notice
[Chrome] › admin-analytics/analytics-data.spec.js:193:2 › Analytics-related tests › use date filter on overview page:
plugins/woocommerce/tests/e2e-pw/tests/admin-analytics/analytics-data.spec.js#L198
1) [Chrome] › admin-analytics/analytics-data.spec.js:193:2 › Analytics-related tests › use date filter on overview page
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('menuitem', { name: 'Total sales $1,229.30 No change from Previous year:' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByRole('menuitem', { name: 'Total sales $1,229.30 No change from Previous year:' })
196 | // assert that current month is shown and that values are for that
197 | await expect( page.getByText( 'Month to date' ).first() ).toBeVisible();
> 198 | await expect( page.getByRole( 'menuitem', { name: 'Total sales $1,229.30 No change from Previous year:' } ) ).toBeVisible();
| ^
199 | await expect( page.getByRole( 'menuitem', { name: 'Net sales $1,229.30 No change from Previous year:' } ) ).toBeVisible();
200 | await expect( page.getByRole( 'menuitem', { name: 'Orders 10 No change from Previous year:' } ) ).toBeVisible();
201 | await expect( page.getByRole( 'menuitem', { name: 'Products sold 110 No change from Previous year:' } ) ).toBeVisible();
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/admin-analytics/analytics-data.spec.js:198:113
|
[Chrome] › merchant/customer-payment-page.spec.js:99:3 › WooCommerce Merchant Flow: Orders > Customer Payment Page › can pay for the order through the customer payment page:
plugins/woocommerce/tests/e2e-pw/tests/merchant/customer-payment-page.spec.js#L112
2) [Chrome] › merchant/customer-payment-page.spec.js:99:3 › WooCommerce Merchant Flow: Orders > Customer Payment Page › can pay for the order through the customer payment page
Error: Timed out 20000ms waiting for expect(locator).toContainText(expected)
Locator: locator('h1.entry-title')
Expected string: "Order received"
Received string: "Pay for order"
Call log:
- expect.toContainText with timeout 20000ms
- waiting for locator('h1.entry-title')
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
- locator resolved to <h1 class="entry-title">Pay for order</h1>
- unexpected value "Pay for order"
110 |
111 | // Verify we landed on the order received page
> 112 | await expect( page.locator( 'h1.entry-title' ) ).toContainText(
| ^
113 | 'Order received'
114 | );
115 | await expect(
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/customer-payment-page.spec.js:112:53
|
[Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation:
plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js#L1
3) [Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation › Click on the "Variations" tab.
Test timeout of 120000ms exceeded.
|
[Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation:
plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js#L131
3) [Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation › Click on the "Variations" tab.
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
- waiting for locator('.variations_tab')
129 |
130 | await test.step( 'Click on the "Variations" tab.', async () => {
> 131 | await page.locator( '.variations_tab' ).click();
| ^
132 | } );
133 |
134 | await test.step(
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js:131:44
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js:130:14
|
[Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation:
plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js#L1
3) [Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation › Click on the "Variations" tab.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation:
plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js#L131
3) [Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation › Click on the "Variations" tab.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
- waiting for locator('.variations_tab')
129 |
130 | await test.step( 'Click on the "Variations" tab.', async () => {
> 131 | await page.locator( '.variations_tab' ).click();
| ^
132 | } );
133 |
134 | await test.step(
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js:131:44
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/create-variations.spec.js:130:14
|
[Chrome] › merchant/products/add-variable-product/update-variations.spec.js:335:2 › Update variations › can bulk edit variations:
plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/update-variations.spec.js#L1
4) [Chrome] › merchant/products/add-variable-product/update-variations.spec.js:335:2 › Update variations › can bulk edit variations › Click on the "Variations" tab.
Test timeout of 120000ms exceeded.
|
[Chrome] › merchant/products/add-variable-product/update-variations.spec.js:335:2 › Update variations › can bulk edit variations:
plugins/woocommerce/tests/e2e-pw/tests/merchant/products/add-variable-product/update-variations.spec.js#L343
4) [Chrome] › merchant/products/add-variable-product/update-variations.spec.js:335:2 › Update variations › can bulk edit variations › Click on the "Variations" tab.
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Variations' }).last()
- locator resolved to <a href="admin.php?page=wc-admin&path=%2Fanalytics%…>Variations</a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #11
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside of the viewport
- retrying click action, attempt #12
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is outside o
|
[Chrome] › merchant/products/block-editor/enable-block-product-editor.spec.js:46:3 › Enable block product editor › Enabled › is not hooked up to sidebar "Add New":
plugins/woocommerce/tests/e2e-pw/utils/simple-products.js#L67
5) [Chrome] › merchant/products/block-editor/enable-block-product-editor.spec.js:46:3 › Enable block product editor › Enabled › is not hooked up to sidebar "Add New"
Error: Timed out 20000ms waiting for expect(locator).toContainText(expected)
Locator: locator('#woocommerce-product-data h2')
Expected string: "Product data"
Received string: ""
Call log:
- expect.toContainText with timeout 20000ms
- waiting for locator('#woocommerce-product-data h2')
at ../utils/simple-products.js:67
65 | await expect(
66 | page.locator( '#woocommerce-product-data h2' )
> 67 | ).toContainText( 'Product data' );
| ^
68 | }
69 |
70 | /**
at expectOldProductEditor (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/simple-products.js:67:4)
at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/enable-block-product-editor.spec.js:49:10
|
[Chrome] › shopper/cart-block-coupons.spec.js:119:2 › Cart Block Applying Coupons › allows cart block to apply coupon of any type:
plugins/woocommerce/tests/e2e-pw/tests/shopper/cart-block-coupons.spec.js#L149
6) [Chrome] › shopper/cart-block-coupons.spec.js:119:2 › Cart Block Applying Coupons › allows cart block to apply coupon of any type
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.wc-block-components-totals-footer-item > .wc-block-components-totals-item__value')
Expected string: "$50.00"
Received string: "$57.50"
Call log:
- expect.toHaveText with timeout 20000ms
- waiting for locator('.wc-block-components-totals-footer-item > .wc-block-components-totals-item__value')
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
- locator resolved to <span class="wc-block-formatted-money-amount wc-block-…>$57.50</span>
- unexpected value "$57.50"
147 | '.wc-block-components-totals-footer-item > .wc-block-components-totals-item__value'
148 | )
> 149 | ).toHaveText( totals[ i ] );
| ^
150 | await page
151 | .getByLabel( `Remove coupon "${ coupons[ i ].code }
|
Publish test reports
Process completed with exit code 4.
|
Slow Test:
plugins/woocommerce/[Chrome] › merchant/products/add-variable-product/create-variations.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/add-variable-product/create-variations.spec.js took 4.4m
|
Slow Test:
plugins/woocommerce/[Chrome] › shopper/order-email-receiving.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/order-email-receiving.spec.js took 4.1m
|
Slow Test:
plugins/woocommerce/[Chrome] › shopper/checkout.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/checkout.spec.js took 3.2m
|
Slow Test:
plugins/woocommerce/[Chrome] › merchant/products/add-variable-product/update-variations.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/add-variable-product/update-variations.spec.js took 2.9m
|
Slow Test:
plugins/woocommerce/[Chrome] › merchant/order-search.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/order-search.spec.js took 2.4m
|
🎭 Playwright Run Summary
12 flaky
[Chrome] › admin-analytics/analytics-data.spec.js:193:2 › Analytics-related tests › use date filter on overview page
[Chrome] › merchant/customer-payment-page.spec.js:99:3 › WooCommerce Merchant Flow: Orders > Customer Payment Page › can pay for the order through the customer payment page
[Chrome] › merchant/products/add-variable-product/create-variations.spec.js:102:2 › Add variations › can manually add a variation
[Chrome] › merchant/products/add-variable-product/update-variations.spec.js:335:2 › Update variations › can bulk edit variations
[Chrome] › merchant/products/block-editor/enable-block-product-editor.spec.js:46:3 › Enable block product editor › Enabled › is not hooked up to sidebar "Add New"
[Chrome] › shopper/cart-block-coupons.spec.js:119:2 › Cart Block Applying Coupons › allows cart block to apply coupon of any type
[Chrome] › shopper/cart-block.spec.js:135:2 › Cart Block page › can add product to cart block, increase quantity, manage cross-sell products and proceed to checkout
[Chrome] › shopper/checkout-coupons.spec.js:127:2 › Checkout coupons › allows checkout to apply multiple coupons
[Chrome] › shopper/checkout.spec.js:142:2 › Checkout page › allows customer to choose available payment methods
[Chrome] › shopper/checkout.spec.js:170:2 › Checkout page › allows customer to fill billing details
[Chrome] › shopper/order-email-receiving.spec.js:53:2 › Shopper Order Email Receiving › should receive order email after purchasing an item
[Chrome] › shopper/tax/checkout-calculate-tax.spec.js:104:3 › Tax rates in the cart and checkout › Shopper Tax Display Tests › checks that taxes are calculated properly on totals, inclusive tax displayed properly
3 skipped
246 passed (16.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
api-test-report---pr-54
Expired
|
5.46 MB |
|
e2e-test-report---pr-54
Expired
|
108 MB |
|