Skip to content

Commit

Permalink
Close editors before running One Click Trial UI test (#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
TamiTakamiya authored Sep 26, 2024
1 parent 460e52a commit 6922325
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ui-test/lightspeedOneClickTrialUITest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6922325

Please sign in to comment.