Exercise keyboard-visible Apps focus and refresh the generated web icon
This commit is contained in:
1 parent
005e3f3678
commit
dbaea786b1
2 files changed
+3
-2
No files matched your search
@@ -493,8 +493,9 @@ with contextlib.ExitStack() as stack:
|
|||||||
driver.press(label="Edit apps", role="button")
|
driver.press(label="Edit apps", role="button")
|
||||||
driver.wait(label="Done", role="button")
|
driver.wait(label="Done", role="button")
|
||||||
assert driver.find(label="Move app", role="button", visible=True)
|
assert driver.find(label="Move app", role="button", visible=True)
|
||||||
# Pointer activation does not promise keyboard focus.
|
# A pointer-focused button does not show keyboard
|
||||||
# Reach Done through the real Tab order before Enter.
|
# focus. Enter only activates after keyboard navigation.
|
||||||
|
driver.key("tab")
|
||||||
for _ in range(40):
|
for _ in range(40):
|
||||||
if driver.wait(label="Done", role="button")["focused"]:
|
if driver.wait(label="Done", role="button")["focused"]:
|
||||||
break
|
break
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.7 KiB |
Reference in new issue
Block a user