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(