ntcong opened a new issue, #34076: URL: https://github.com/apache/superset/issues/34076
### Bug description In the default auth_driver, there's [a page load to](https://github.com/apache/superset/blob/42db43c68683b0fce73d87cda885b379c2a41d4d/superset/utils/machine_auth.py#L93) `/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 - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org