nixosTests.vscodium: Relax OCR tests again

As long as *some text* displays on the screen everything is fine.

https://hydra.nixos.org/build/297031399/nixlog/9
This commit is contained in:
Bobby Rong
2025-05-14 20:43:03 +08:00
parent 90d3d27faa
commit 3f2e482b29
+2 -2
View File
@@ -62,14 +62,14 @@ let
codium_running.wait() # type: ignore[union-attr]
with codium_running: # type: ignore[union-attr]
# Wait until vscodium is visible. "File" is in the menu bar.
machine.wait_for_text('Get Started with')
machine.wait_for_text('(Get|Started|with|Customize|theme)')
machine.screenshot('start_screen')
test_string = 'testfile'
# Create a new file
machine.send_key('ctrl-n')
machine.wait_for_text('Untitled')
machine.wait_for_text('(Untitled|Select|language|template|dismiss)')
machine.screenshot('empty_editor')
# Type a string