I'm trying to automate a scenario where in the service queries the DB and renders the data on to the UI. This rendering process takes quiet a lot of time (around 3 mins). Playwright doesn't wait till the page load complete. I tried using
await page.waitForLoadState();,
await page.waitForLoadState('networkidle');
await page.waitForLoadState('domcontentloaded'); and
await page.setDefaultNavigationTimeout(150);
I'm working on an angular application, i have a lot of scenarios where in i face these type of sync issues.