File tree 2 files changed +5
-4
lines changed
packages/browser-tests/cypress
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ Cypress.Commands.add("getGridCol", (n) =>
110
110
Cypress . Commands . add ( "getGridRows" , ( ) => cy . get ( ".qg-r" ) . filter ( ":visible" ) ) ;
111
111
112
112
Cypress . Commands . add ( "typeQuery" , ( query ) =>
113
- cy . getEditor ( ) . realClick ( ) . type ( query )
113
+ cy . getEditor ( ) . realClick ( ) . focused ( ) . type ( query )
114
114
) ;
115
115
116
116
Cypress . Commands . add ( "typeQueryDirectly" , ( query ) => {
@@ -149,7 +149,9 @@ Cypress.Commands.add("getMountedEditor", () =>
149
149
cy . get ( ".monaco-scrollable-element" )
150
150
) ;
151
151
152
- Cypress . Commands . add ( "getEditor" , ( ) => cy . get ( ".monaco-editor[role='code']" ) ) ;
152
+ Cypress . Commands . add ( "getEditor" , ( ) => {
153
+ cy . get ( ".monaco-editor[role='code']" ) ;
154
+ } ) ;
153
155
154
156
Cypress . Commands . add ( "getEditorContent" , ( ) =>
155
157
cy
Original file line number Diff line number Diff line change @@ -456,8 +456,7 @@ describe("editor tabs", () => {
456
456
cy . getByDataHook ( "editor-tabs-history-item" ) . should ( "not.exist" ) ;
457
457
} ) ;
458
458
459
- // TODO: fix the flakiness
460
- it . skip ( "should drag tabs" , ( ) => {
459
+ it ( "should drag tabs" , ( ) => {
461
460
cy . get ( ".new-tab-button" ) . click ( ) ;
462
461
463
462
cy . getEditorTabByTitle ( "SQL" ) . should ( "be.visible" ) ;
You can’t perform that action at this time.
0 commit comments