@@ -84,12 +84,12 @@ test('Verify full commands suggestions with index and query for FT.AGGREGATE', a
84
84
'students' ,
85
85
'type'
86
86
] ;
87
- const ftSortedCommands = [ 'FT.SEARCH' , 'FT.CREATE' , 'FT.EXPLAIN' , 'FT.PROFILE' ] ;
87
+ const ftSortedCommands = [ 'FT.SEARCH' , 'FT.AGGREGATE' , 'FT. CREATE', 'FT.EXPLAIN' , 'FT.PROFILE' ] ;
88
88
89
89
// Verify basic commands suggestions FT.SEARCH and FT.AGGREGATE
90
90
await t . typeText ( workbenchPage . queryInput , 'FT' , { replace : true } ) ;
91
91
// Verify custom sorting for FT. commands
92
- await t . expect ( await workbenchPage . MonacoEditor . getSuggestionsArrayFromMonaco ( 4 ) ) . eql ( ftSortedCommands , 'Wrong order of FT commands' ) ;
92
+ await t . expect ( await workbenchPage . MonacoEditor . getSuggestionsArrayFromMonaco ( 5 ) ) . eql ( ftSortedCommands , 'Wrong order of FT commands' ) ;
93
93
// Verify that the list with FT.SEARCH and FT.AGGREGATE auto-suggestions is displayed
94
94
await t . expect ( workbenchPage . MonacoEditor . monacoSuggestion . withText ( 'FT._LIST' ) . exists ) . ok ( 'FT._LIST auto-suggestions are not displayed' ) ;
95
95
await t . expect ( workbenchPage . MonacoEditor . monacoSuggestion . withText ( 'FT.AGGREGATE' ) . exists ) . ok ( 'FT.AGGREGATE auto-suggestions are not displayed' ) ;
@@ -386,9 +386,9 @@ test.skip
386
386
await t . typeText ( workbenchPage . queryInput , 'field2_num' , { replace : false } ) ;
387
387
await t . pressKey ( 'space' ) ;
388
388
await t . expect ( workbenchPage . MonacoEditor . monacoSuggestion . withExactText ( 'NUMERIC' ) . exists ) . ok ( 'query can not be prolong' ) ;
389
-
389
+
390
390
// Select NUMERIC keyword
391
- await t . typeText ( workbenchPage . queryInput , 'so' , { replace : false } ) ;
391
+ await t . typeText ( workbenchPage . queryInput , 'so' , { replace : false } ) ;
392
392
await t . pressKey ( 'tab' ) ;
393
393
394
394
await t . expect ( ( await workbenchPage . MonacoEditor . getTextFromMonaco ( ) ) . trim ( ) ) . eql ( `FT.CREATE ${ indexName3 } FILTER filterNew SCHEMA field_name TEXT SORTABLE field2_num NUMERIC` ) ;
0 commit comments