Skip to content

Validate and present custom error for not in allowed emails coupons #4005

Validate and present custom error for not in allowed emails coupons

Validate and present custom error for not in allowed emails coupons #4005

Triggered via pull request March 20, 2024 10:19
Status Failure
Total duration 1h 14m 49s
Artifacts 2

smoke-test-pr-merge.yml

on: pull_request
Runs k6 Performance tests
9m 52s
Runs k6 Performance tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 10 warnings, and 1 notice
[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product: plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js#L107
1) [Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Small').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Small').first() - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" 105 | await expect( 106 | page.getByText( attributesData.options[ 0 ] ).first() > 107 | ).toBeVisible(); | ^ 108 | 109 | await page 110 | .locator( at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:107:6
[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product: plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js#L107
1) [Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Small').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Small').first() - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" 105 | await expect( 106 | page.getByText( attributesData.options[ 0 ] ).first() > 107 | ).toBeVisible(); | ^ 108 | 109 | await page 110 | .locator( at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:107:6
[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product: plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js#L107
1) [Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 20000ms waiting for expect(locator).toBeVisible() Locator: getByText('Small').first() Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 20000ms - waiting for getByText('Small').first() - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" - locator resolved to <option value="small-items">Small Items</option> - unexpected value "hidden" 105 | await expect( 106 | page.getByText( attributesData.options[ 0 ] ).first() > 107 | ).toBeVisible(); | ^ 108 | 109 | await page 110 | .locator( at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/create-variable-product-block-editor.spec.js:107:6
[Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js:108:2 › Shopper Cart & Checkout Block Tax Display › can create Cart Block page: plugins/woocommerce/tests/e2e-pw/utils/editor.js#L14
2) [Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js:108:2 › Shopper Cart & Checkout Block Tax Display › can create Cart Block page Error: page.waitForFunction: Timeout 20000ms exceeded. at ../utils/editor.js:14 12 | const disableWelcomeModal = async ( { page } ) => { 13 | await page.waitForLoadState(); > 14 | await page.waitForFunction( () => window?.wp?.data ); | ^ 15 | 16 | const isWelcomeGuideActive = await page.evaluate( () => 17 | wp.data.select( 'core/edit-post' ).isFeatureActive( 'welcomeGuide' ) at disableWelcomeModal (/home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/utils/editor.js:14:13) at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce/tests/e2e-pw/tests/shopper/cart-checkout-block-calculate-tax.spec.js:115:3
Run E2E tests
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js:56:3 › Variations tab › Create variable product › can create a variation option and publish the product 1 flaky [Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js:108:2 › Shopper Cart & Checkout Block Tax Display › can create Cart Block page 5 skipped 350 passed (33.2m)
Run API tests
Failed to restore: Cache service responded with 429
Run API tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3, aws-actions/configure-aws-credentials@v1-node16. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Runs k6 Performance tests
Failed to restore: Cache service responded with 429
Run E2E tests
Failed to restore: Cache service responded with 429
Slow Test: plugins/woocommerce/[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/products/block-editor/create-variable-product-block-editor.spec.js took 2.0m
Slow Test: plugins/woocommerce/[Chrome] › merchant/create-restricted-coupons.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/create-restricted-coupons.spec.js took 1.4m
Slow Test: plugins/woocommerce/[Chrome] › merchant/order-edit.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/order-edit.spec.js took 1.0m
Slow Test: plugins/woocommerce/[Chrome] › merchant/order-search.spec.js#L1
plugins/woocommerce/[Chrome] › merchant/order-search.spec.js took 1.0m
Slow Test: plugins/woocommerce/[Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js#L1
plugins/woocommerce/[Chrome] › shopper/cart-checkout-block-calculate-tax.spec.js took 59.7s
Run E2E tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3, aws-actions/configure-aws-credentials@v1-node16, actions/github-script@v6, slackapi/slack-github-action@v1.23.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
api-pr-merge-43872-run-4005 Expired
5.46 MB
e2e-pr-merge-43872-run-4005 Expired
77.6 MB