Skip to content

Commit d1b81b3

Browse files
committed
Skip suggest box tests using Tab
1 parent 89ce6cf commit d1b81b3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

extensions/ql-vscode/src/view/common/SuggestBox/__tests__/SuggestBox.test.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,14 @@ describe("SuggestBox", () => {
172172
expect(onChange).toHaveBeenCalledWith("Argument[block].Parameter[1]");
173173
});
174174

175-
it("selects an option using Tab", async () => {
175+
// Skipped because it's flaky
176+
it.skip("selects an option using Tab", async () => {
176177
render({
177178
value: "Argument[block].1",
178179
});
179180

180181
await userEvent.click(screen.getByRole("combobox"));
181-
await userEvent.keyboard("{Enter}");
182+
await userEvent.keyboard("{Tab}");
182183

183184
expect(onChange).toHaveBeenCalledWith("Argument[block].Parameter[1]");
184185
});
@@ -208,7 +209,8 @@ describe("SuggestBox", () => {
208209
expect(screen.queryByRole("option")).not.toBeInTheDocument();
209210
});
210211

211-
it("closes the options when selecting an option using Tab", async () => {
212+
// Skipped because it's flaky
213+
it.skip("closes the options when selecting an option using Tab", async () => {
212214
render({
213215
value: "Argument[block].1",
214216
});

0 commit comments

Comments
 (0)