mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
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
|
@ -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