mdn / yari

The platform code behind MDN Web Docs
Mozilla Public License 2.0
1.19k stars 501 forks source link

Flaky test: testing/tests/headless.sitesearch.spec.ts:59:3 › Site search › search and go to page 2 #6990

Open caugner opened 2 years ago

caugner commented 2 years ago

Here's another flaky test:

   1) testing/tests/headless.sitesearch.spec.ts:59:3 › Site search › search and go to page 2 ========

    Error: expect(received).toBeTruthy()

    Received: false

      79 |     await page.click('a:has-text("Next")');
      80 |     expect(await page.isVisible("text=(page 2)")).toBeTruthy();
    > 81 |     expect(await page.isVisible("text=Serial 10")).toBeTruthy();
         |                                                    ^
      82 |     expect(await page.isVisible("text=Serial 19")).toBeTruthy();
      83 |     expect(await page.isVisible('a:has-text("Previous")')).toBeTruthy();
      84 |     expect(await page.isVisible('a:has-text("Next")')).toBeFalsy();

        at /home/runner/work/yari/yari/testing/tests/headless.sitesearch.spec.ts:81:52

Source: https://github.com/mdn/yari/runs/8023892333?check_suite_focus=true#step:10:26

caugner commented 2 years ago

Again: https://github.com/mdn/yari/runs/8035114160?check_suite_focus=true#step:10:26

caugner commented 2 years ago

It's still happening: 😕