fix: wait for agnocomplete in test
This commit is contained in:
parent
5295e931a5
commit
ba41ae4000
1 changed files with 2 additions and 1 deletions
|
@ -210,6 +210,7 @@ def test_can_change_owner(map, live_server, login, user):
|
|||
close = page.locator(".umap-field-owner .close")
|
||||
close.click()
|
||||
input = page.locator("input.edit-owner")
|
||||
with page.expect_response(re.compile(r".*/agnocomplete/.*")):
|
||||
input.type(user.username)
|
||||
input.press("Tab")
|
||||
save = page.get_by_role("button", name="Save")
|
||||
|
|
Loading…
Reference in a new issue