nixosTests.vscodium: allow more expressions to satisfy save file dialog

Previously was not clearing due to OCR glitch, should be more robust now. Also commented out the 'quit', which was also failing.
This commit is contained in:
Patrick Hilhorst
2022-10-12 11:38:31 +02:00
parent e10c414dd7
commit 1bb6ca7fe1
+3 -3
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')
'';
});