nixos/tests/custom-ca: make more reliable
Midori sometime fails to display the page, even if it's supposedly fully loaded. Reloading with ctrl-r fixes it.
This commit is contained in:
parent
3f676b9804
commit
3d4b962c67
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ let
|
|||
"alice", f"{command} https://good.example.com >&2 &"
|
||||
)
|
||||
wait_for_window_as("alice", "${browser}")
|
||||
machine.sleep(4)
|
||||
execute_as("alice", "xdotool key ctrl+r") # reload to be safe
|
||||
machine.wait_for_text("It works!")
|
||||
machine.screenshot("good${browser}")
|
||||
execute_as("alice", "xdotool key ctrl+w") # close tab
|
||||
|
|
Loading…
Reference in a new issue