From 1e8f2b92cea4cdec1e1d7a63e496fa93785b75b4 Mon Sep 17 00:00:00 2001 From: Tami Takamiya Date: Thu, 26 Sep 2024 10:16:27 -0400 Subject: [PATCH] Close editors before running One Click Trial UI test --- test/ui-test/lightspeedOneClickTrialUITest.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ui-test/lightspeedOneClickTrialUITest.ts b/test/ui-test/lightspeedOneClickTrialUITest.ts index 5d1359485..729b870f1 100644 --- a/test/ui-test/lightspeedOneClickTrialUITest.ts +++ b/test/ui-test/lightspeedOneClickTrialUITest.ts @@ -50,6 +50,8 @@ export function lightspeedOneClickTrialUITest(): void { "ansible.lightspeed.suggestions.enabled", true, ); + // Close settings and other open editors (if any) + await new EditorView().closeAllEditors(); // Set "UI Test" and "One Click" options for mock server await axios.post(