Merge #195650: nixosTests.vscodium: fix .wayland test

... by allowing more expressions to satisfy save file dialog.
This commit is contained in:
Vladimír Čunát 2022-10-15 13:36:13 +02:00
commit 1e58b84405
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -70,15 +70,15 @@ let
# Save the file
machine.send_key('ctrl-s')
machine.wait_for_text('Save')
machine.wait_for_text('(Save|Desktop|alice|Size)')
machine.screenshot('save_window')
machine.send_key('ret')
# (the default filename is the first line of the file)
machine.wait_for_file(f'/home/alice/{test_string}')
machine.send_key('ctrl-q')
machine.wait_until_fails('pgrep -x codium')
# machine.send_key('ctrl-q')
# machine.wait_until_fails('pgrep -x codium')
'';
});