File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/view/common/SuggestBox/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments