Online Training: Web test automation with CodeceptJS. Sign up now!

Testcafe chrome browser is blank for 2 seconds after clicking on page closing button

Hi Everyone,
I have faced a really weird issue. Lastday I observed that my e2e tests are failing in chrome browser if there are any steps after closing a page. For example

  • From order grid, clicking on a order open a order detail page
  • Clicking on a Close button in order detail page back to the order grid page again

In real chrome browser, there is no waiting time before starting of scripting loading but in testcafe there are 2 second waiting time before starting of scripting loading.

Can any one help me to determine why this happen in testcafe chrome browser and how I can solve it. I have attached screenshot of chrome performance tools.
ScreenShot- https://www.screencast.com/t/B5pJU0Zuo