Bug description

In the default auth_driver, there's a page load to /login to set user cookie

With the default page.goto, playwright failed with "An error occurred: Page.goto: Timeout 30000ms exceeded" I tried a test script with page.goto(""http://superset:8088"", wait_until='load' , timeout=60000) and it failed the same way

Changing wait_until to "networkidle" doesn't help. The only thing work is "domcontentloaded"

So I overwrite the auth_driver with page.goto(headless_url("/login"), wait_until="domcontentloaded") and everything work like it should.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.