@@ -302,6 +302,7 @@ test('Cross-sheet formula with VLOOKUP', async ({ page }) => {
302
302
// Click on the first cell in Column1 to reference it as the first argument
303
303
await mito . locator ( '.mito-grid-cell[mito-col-index="0"]' ) . first ( ) . click ( ) ;
304
304
// Type the comma to separate the arguments
305
+ await mito . locator ( 'input#cell-editor-input' ) . press ( 'End' ) ;
305
306
await mito . locator ( 'input#cell-editor-input' ) . press ( ',' ) ;
306
307
307
308
// Navigate to the other sheet and select the range of columns
@@ -310,6 +311,7 @@ test('Cross-sheet formula with VLOOKUP', async ({ page }) => {
310
311
await mito . locator ( '.endo-column-header-final-text' , { hasText : 'Column1' } ) . click ( ) ;
311
312
await mito . locator ( '.endo-column-header-final-text' , { hasText : 'Column3' } ) . click ( { modifiers : [ 'Shift' ] } ) ;
312
313
// Finish the formula
314
+ await mito . locator ( 'input#cell-editor-input' ) . press ( 'End' ) ;
313
315
await mito . locator ( 'input#cell-editor-input' ) . pressSequentially ( ', 2)' ) ;
314
316
315
317
// Navigate back to the first sheet and check that the values are correct
@@ -332,6 +334,7 @@ test('Cross-sheet formula with VLOOKUP - pressing enter from another sheet', asy
332
334
// Click on the first cell in Column1 to reference it as the first argument
333
335
await mito . locator ( '.mito-grid-cell[mito-col-index="0"]' ) . first ( ) . click ( ) ;
334
336
// Type the comma to separate the arguments
337
+ await mito . locator ( 'input#cell-editor-input' ) . press ( 'End' ) ;
335
338
await mito . locator ( 'input#cell-editor-input' ) . press ( ',' ) ;
336
339
337
340
// Navigate to the other sheet and select the range of columns
@@ -340,6 +343,7 @@ test('Cross-sheet formula with VLOOKUP - pressing enter from another sheet', asy
340
343
await mito . locator ( '.endo-column-header-final-text' , { hasText : 'Column1' } ) . click ( ) ;
341
344
await mito . locator ( '.endo-column-header-final-text' , { hasText : 'Column3' } ) . click ( { modifiers : [ 'Shift' ] } ) ;
342
345
// Finish the formula
346
+ await mito . locator ( 'input#cell-editor-input' ) . press ( 'End' ) ;
343
347
await mito . locator ( 'input#cell-editor-input' ) . pressSequentially ( ', 2)' ) ;
344
348
await mito . locator ( 'input#cell-editor-input' ) . press ( 'Enter' ) ;
345
349
0 commit comments