Konamiman/woocommerce

[Flaky Test] User can update product quantity

Closed this issue · 2 comments

Flaky test detected. This is an auto-generated issue by GitHub Actions. Please do NOT edit this manually.

Test title

User can update product quantity

Test path

/plugins/woocommerce-blocks/tests/e2e/tests/cart/cart-block.shopper.block_theme.spec.ts

Errors

[2024-09-05T10:12:07.196Z] Test passed after 1 failed attempt on trunk.
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)

Locator: getByLabel('Quantity of Album in your cart.')
Expected string: "5"
Received string: "4"
Call log:
  - expect.toHaveValue with timeout 5000ms
  - waiting for getByLabel('Quantity of Album in your cart.')
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"
  -   locator resolved to <input min="1" step="1" value="4" max="9999" type="number" aria-label="Quantity of Album in your cart." class="wc-block-components-quantity-selector__input"/>
  -   unexpected value "4"

    at /home/runner/work/woocommerce/woocommerce/plugins/woocommerce-blocks/tests/e2e/tests/cart/cart-block.shopper.block_theme.spec.ts:210:5

This issue is being marked as stale due to inactivity. It will be auto-closed if no further activity occurs within the next 2 days.

Auto-closed due to inactivity. Please re-open if you believe this issue is still valid.