devbridge / test-juggler

E2E test automation framework by Devbridge
MIT License
10 stars 6 forks source link

Flaky test in "pageObjectModel.test.js" #74

Closed vaidasmaciulis closed 3 years ago

vaidasmaciulis commented 3 years ago

pageObjectModel.test.js has a flaky test. Fails sporadically with error:

  ● Example › should access an element defined directly in page

    expect(received).resolves.toBeTruthy()

    Received: false

      21 |         await HomePage.FeedBackLink.click();
      22 |         console.log("Clicked on feedback link");
    > 23 |         await expect(FeedbackPage.TitleText.exists()).resolves.toBeTruthy();
         |                                                                ^
      24 |     });
      25 | });
      26 | }

      at Object.toBeTruthy (node_modules/expect/build/index.js:198:20)
      at Object.<anonymous> (example/tests/pageObjectModel.test.js:23:64)