make setup_authentik support en ui
This commit is contained in:
parent
98f496db72
commit
db9df2cb90
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ def create_invite_link(admin_context: BrowserContext, env_config: dict[str, str]
|
||||||
page.locator('input[name="name"]').click()
|
page.locator('input[name="name"]').click()
|
||||||
linkname = "test_link_123"
|
linkname = "test_link_123"
|
||||||
page.locator('input[name="name"]').fill(linkname)
|
page.locator('input[name="name"]').fill(linkname)
|
||||||
page.get_by_placeholder("Wählen Sie ein Objekt aus.").click()
|
placeholder_pattern = re.compile(r"Wählen Sie ein|Select an")
|
||||||
|
page.get_by_placeholder(placeholder_pattern).click()
|
||||||
page.get_by_role("option", name=re.compile(r"invitation-enrollment-flow")).click()
|
page.get_by_role("option", name=re.compile(r"invitation-enrollment-flow")).click()
|
||||||
|
|
||||||
# force, because else we get "intercepts pointer events"
|
# force, because else we get "intercepts pointer events"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue