mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix(e2e): click exact Login button so SSO control is not matched
Playwright strict mode matched both Login and Login with SSO
This commit is contained in:
parent
5c52b01ba3
commit
a0cf03cb2a
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ def ui_page(browser: "Browser") -> "Iterator[Page]":
|
|||
username.wait_for(state="visible", timeout=30_000)
|
||||
username.fill(UI_USERNAME)
|
||||
page.get_by_placeholder("Enter your password").fill(UI_PASSWORD)
|
||||
page.get_by_role("button", name="Login").click()
|
||||
page.get_by_role("button", name="Login", exact=True).click()
|
||||
page.wait_for_function("() => document.cookie.includes('token=')")
|
||||
yield page
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue