From 67c3536f795f1bf8d9cbd0dd704899f16557d5af Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 4 Feb 2023 21:50:43 +0800 Subject: [PATCH] nixosTests.vscodium: rename "Get Started" to "Welcome" https://github.com/microsoft/vscode/commit/c258547b50e70486896a3dafcc1447fe28ea4400 --- nixos/tests/vscodium.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/nixos/tests/vscodium.nix b/nixos/tests/vscodium.nix index 37bb649889b4..3eda8b6cfb20 100644 --- a/nixos/tests/vscodium.nix +++ b/nixos/tests/vscodium.nix @@ -33,13 +33,6 @@ let }; enableOCR = true; - # testScriptWithTypes:55: error: Item "function" of - # "Union[Callable[[Callable[..., Any]], ContextManager[Any]], ContextManager[Any]]" - # has no attribute "__enter__" - # with codium_running: - # ^ - skipTypeCheck = true; - testScript = '' @polling_condition def codium_running(): @@ -50,10 +43,10 @@ let machine.wait_for_unit('graphical.target') - codium_running.wait() - with codium_running: + 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') + machine.wait_for_text('Welcome') machine.screenshot('start_screen') test_string = 'testfile'