@@ -97,7 +97,7 @@ declare namespace CodeceptJS {
97
97
* }
98
98
* }
99
99
* ```
100
- */
100
+ */
101
101
helpers ?: {
102
102
/**
103
103
* Run web tests controlling browsers via Playwright engine.
@@ -289,7 +289,7 @@ declare namespace CodeceptJS {
289
289
* ```js
290
290
* bootstrap: 'bootstrap.js',
291
291
* ```
292
- */
292
+ */
293
293
bootstrap ?: ( ( ) => Promise < void > ) | boolean | string ;
294
294
/**
295
295
* [Execute code after tests](https://codecept.io/bootstrap/) finished.
@@ -303,7 +303,7 @@ declare namespace CodeceptJS {
303
303
* ```js
304
304
* teardown: 'teardown.js',
305
305
* ```
306
- */
306
+ */
307
307
teardown ?: ( ( ) => Promise < void > ) | boolean | string ;
308
308
/**
309
309
* [Execute code before launching tests in parallel mode](https://codecept.io/bootstrap/#bootstrapall-teardownall)
@@ -312,7 +312,7 @@ declare namespace CodeceptJS {
312
312
bootstrapAll ?: ( ( ) => Promise < void > ) | boolean | string ;
313
313
/**
314
314
* [Execute JS code after finishing tests in parallel mode](https://codecept.io/bootstrap/#bootstrapall-teardownall)
315
- */
315
+ */
316
316
teardownAll ?: ( ( ) => Promise < void > ) | boolean | string ;
317
317
318
318
/** Enable [localized test commands](https://codecept.io/translation/) */
@@ -328,7 +328,7 @@ declare namespace CodeceptJS {
328
328
* ```
329
329
* require: ["should"]
330
330
* ```
331
- */
331
+ */
332
332
require ?: Array < string > ;
333
333
334
334
/**
@@ -423,15 +423,18 @@ declare namespace CodeceptJS {
423
423
| { ios : string }
424
424
| { android : string ; ios : string }
425
425
| { react : string }
426
+ | { vue : string }
426
427
| { shadow : string [ ] }
427
428
| { custom : string } ;
428
429
429
430
interface CustomLocators { }
431
+ interface OtherLocators { props ?: object }
430
432
type LocatorOrString =
431
433
| string
432
434
| ILocator
433
435
| Locator
434
- | CustomLocators ;
436
+ | OtherLocators
437
+ | CustomLocators [ keyof CustomLocators ] ;
435
438
436
439
type StringOrSecret = string | CodeceptJS . Secret ;
437
440
0 commit comments