From 3f2e482b298c1369cd91f6942c9e125fea158e76 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 14 May 2025 20:37:04 +0800 Subject: [PATCH] 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 --- nixos/tests/vscodium.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/vscodium.nix b/nixos/tests/vscodium.nix index 8600ccb81436..a3efd07bf501 100644 --- a/nixos/tests/vscodium.nix +++ b/nixos/tests/vscodium.nix @@ -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