@@ -270,7 +270,7 @@ return [
270
270
await driver . sendKeys ( Key . ENTER ) ;
271
271
await driver . findContentWait ( '.ace_content' , / ^ M E D I A N \( $ / , 1000 ) ;
272
272
await driver . sendKeys ( Key . ESCAPE ) ;
273
- await gu . waitAppFocus ( true ) ;
273
+ await gu . waitAppFocus ( ) ;
274
274
275
275
// Check that this works also for table names ("fri" finds "Friends")
276
276
await driver . sendKeys ( '=' ) ;
@@ -301,7 +301,7 @@ return [
301
301
await driver . sendKeys ( Key . DOWN , Key . DOWN , Key . ENTER ) ;
302
302
await driver . findContentWait ( '.ace_content' , / ^ F r i e n d s \. l o o k u p O n e \( $ / , 1000 ) ;
303
303
await driver . sendKeys ( Key . ESCAPE , Key . ESCAPE ) ;
304
- await gu . waitAppFocus ( true ) ;
304
+ await gu . waitAppFocus ( ) ;
305
305
306
306
// Check that some built-in values are recognized in lowercase.
307
307
async function testBuiltin ( typedText : string , expectedCompletion : string ) {
@@ -311,7 +311,7 @@ return [
311
311
await gu . waitToPass ( async ( ) =>
312
312
assert . include ( await driver . findAll ( '.ace_autocomplete .ace_line' , el => el . getText ( ) ) , expectedCompletion ) ) ;
313
313
await driver . sendKeys ( Key . ESCAPE , Key . ESCAPE ) ;
314
- await gu . waitAppFocus ( true ) ;
314
+ await gu . waitAppFocus ( ) ;
315
315
}
316
316
await testBuiltin ( 'tr' , 'Tr\nue\n ' ) ;
317
317
await testBuiltin ( 'fa' , 'Fa\nlse\n ' ) ;
@@ -349,7 +349,7 @@ return [
349
349
await driver . findContent ( '.ace_autocomplete .ace_line span' , / v a l u e / ) . click ( ) ;
350
350
await driver . findContentWait ( '.ace_content' , / ^ M E D I A N \( $ / , 1000 ) ;
351
351
await driver . sendKeys ( Key . ESCAPE ) ;
352
- await gu . waitAppFocus ( true ) ;
352
+ await gu . waitAppFocus ( ) ;
353
353
354
354
// Check that this works also for table names ("fri" finds "Friends")
355
355
await driver . sendKeys ( '=' ) ;
@@ -391,6 +391,6 @@ return [
391
391
await driver . findContent ( '.ace_autocomplete .ace_line' , / l o o k u p R e c o r d s / ) . findContent ( 'span' , / F r i e n d s / ) . click ( ) ;
392
392
await driver . findContentWait ( '.ace_content' , / ^ F r i e n d s \. l o o k u p R e c o r d s \( $ / , 1000 ) ;
393
393
await driver . sendKeys ( Key . ESCAPE , Key . ESCAPE ) ;
394
- await gu . waitAppFocus ( true ) ;
394
+ await gu . waitAppFocus ( ) ;
395
395
} ) ;
396
396
} ) ;
0 commit comments