woocommerce-blocks icon indicating copy to clipboard operation
woocommerce-blocks copied to clipboard

[Flaky Test] should refresh the page only if the user click on button

Open github-actions[bot] opened this issue 2 years ago • 0 comments

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

Test title

should refresh the page only if the user click on button

Test path

tests/e2e/specs/shopper/filter-products-by-price.test.ts

Errors

Test passed after 2 failed attempts on fix/6695.
Test passed after 2 failed attempts on poc/6838-create-patterns.
  ● Filter Products by Price Block › with PHP classic template  › should refresh the page only if the user click on button

    TimeoutError: waiting for selector `.products.columns-3 > li` failed: timeout 30000ms exceeded

      at new WaitTask (../../node_modules/puppeteer/src/common/DOMWorld.ts:876:28)
      at DOMWorld._waitForSelectorInPage (../../node_modules/puppeteer/src/common/DOMWorld.ts:710:22)
      at Object.internalHandler.waitFor (../../node_modules/puppeteer/src/common/QueryHandler.ts:83:23)
      at DOMWorld.waitForSelector (../../node_modules/puppeteer/src/common/DOMWorld.ts:551:32)
      at Frame.waitForSelector (../../node_modules/puppeteer/src/common/FrameManager.ts:1310:47)
      at Page.waitForSelector (../../node_modules/puppeteer/src/common/Page.ts:3303:35)
      at Object.<anonymous> (../../tests/e2e/specs/shopper/filter-products-by-price.test.ts:206:15)
          at runMicrotasks (<anonymous>)

  ● Filter Products by Price Block › with PHP classic template  › should refresh the page only if the user click on button

    No element found for selector: .wc-block-components-filter-submit-button

      at assert (../../node_modules/puppeteer/src/common/assert.ts:29:11)
      at DOMWorld.click (../../node_modules/puppeteer/src/common/DOMWorld.ts:499:11)
          at runMicrotasks (<anonymous>)
          at async Promise.all (index 0)
      at clickLink (../../tests/utils/clickLink.js:7:2)
      at Object.<anonymous> (../../tests/e2e/specs/shopper/filter-products-by-price.test.ts:204:4)

github-actions[bot] avatar Aug 03 '22 00:08 github-actions[bot]