codeceptjs 3.0.6 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +92 -8
- package/README.md +9 -1
- package/bin/codecept.js +28 -17
- package/docs/build/Appium.js +69 -0
- package/docs/build/GraphQL.js +9 -10
- package/docs/build/Playwright.js +271 -63
- package/docs/build/Protractor.js +2 -0
- package/docs/build/Puppeteer.js +56 -18
- package/docs/build/REST.js +16 -3
- package/docs/build/WebDriver.js +82 -16
- package/docs/changelog.md +93 -9
- package/docs/configuration.md +15 -2
- package/docs/email.md +8 -8
- package/docs/examples.md +3 -3
- package/docs/helpers/Appium.md +66 -68
- package/docs/helpers/MockRequest.md +3 -3
- package/docs/helpers/Playwright.md +269 -203
- package/docs/helpers/Puppeteer.md +17 -1
- package/docs/helpers/REST.md +23 -9
- package/docs/helpers/WebDriver.md +3 -2
- package/docs/locators.md +27 -0
- package/docs/mobile.md +2 -1
- package/docs/nightmare.md +0 -5
- package/docs/parallel.md +14 -7
- package/docs/playwright.md +178 -11
- package/docs/plugins.md +61 -69
- package/docs/react.md +1 -1
- package/docs/reports.md +5 -4
- package/lib/actor.js +1 -2
- package/lib/codecept.js +13 -2
- package/lib/command/definitions.js +8 -1
- package/lib/command/interactive.js +4 -2
- package/lib/command/run-multiple/collection.js +4 -0
- package/lib/container.js +3 -3
- package/lib/helper/Appium.js +41 -0
- package/lib/helper/GraphQL.js +9 -10
- package/lib/helper/Playwright.js +218 -70
- package/lib/helper/Protractor.js +2 -0
- package/lib/helper/Puppeteer.js +56 -18
- package/lib/helper/REST.js +12 -0
- package/lib/helper/WebDriver.js +82 -16
- package/lib/helper/errors/ConnectionRefused.js +1 -1
- package/lib/helper/extras/Popup.js +1 -1
- package/lib/helper/extras/React.js +44 -32
- package/lib/interfaces/gherkin.js +1 -0
- package/lib/listener/exit.js +2 -4
- package/lib/listener/helpers.js +3 -4
- package/lib/locator.js +7 -0
- package/lib/mochaFactory.js +11 -6
- package/lib/output.js +5 -2
- package/lib/plugin/allure.js +7 -18
- package/lib/plugin/commentStep.js +1 -1
- package/lib/plugin/{puppeteerCoverage.js → coverage.js} +10 -22
- package/lib/plugin/customLocator.js +2 -2
- package/lib/plugin/screenshotOnFail.js +5 -0
- package/lib/plugin/subtitles.js +88 -0
- package/lib/plugin/tryTo.js +1 -1
- package/lib/step.js +4 -2
- package/lib/ui.js +6 -2
- package/package.json +5 -4
- package/typings/index.d.ts +44 -21
- package/typings/types.d.ts +137 -16
package/typings/types.d.ts
CHANGED
|
@@ -886,6 +886,45 @@ declare namespace CodeceptJS {
|
|
|
886
886
|
* @returns attribute value
|
|
887
887
|
*/
|
|
888
888
|
grabTextFrom(locator: CodeceptJS.LocatorOrString): Promise<string>;
|
|
889
|
+
/**
|
|
890
|
+
* Grab number of visible elements by locator.
|
|
891
|
+
* Resumes test execution, so **should be used inside async function with `await`** operator.
|
|
892
|
+
*
|
|
893
|
+
* ```js
|
|
894
|
+
* let numOfElements = await I.grabNumberOfVisibleElements('p');
|
|
895
|
+
* ```
|
|
896
|
+
* @param locator - located by CSS|XPath|strict locator.
|
|
897
|
+
* @returns number of visible elements
|
|
898
|
+
*/
|
|
899
|
+
grabNumberOfVisibleElements(locator: CodeceptJS.LocatorOrString): Promise<number>;
|
|
900
|
+
/**
|
|
901
|
+
* Can be used for apps only with several values ("contentDescription", "text", "className", "resourceId")
|
|
902
|
+
*
|
|
903
|
+
* Retrieves an attribute from an element located by CSS or XPath and returns it to test.
|
|
904
|
+
* Resumes test execution, so **should be used inside async with `await`** operator.
|
|
905
|
+
* If more than one element is found - attribute of first element is returned.
|
|
906
|
+
*
|
|
907
|
+
* ```js
|
|
908
|
+
* let hint = await I.grabAttributeFrom('#tooltip', 'title');
|
|
909
|
+
* ```
|
|
910
|
+
* @param locator - element located by CSS|XPath|strict locator.
|
|
911
|
+
* @param attr - attribute name.
|
|
912
|
+
* @returns attribute value
|
|
913
|
+
*/
|
|
914
|
+
grabAttributeFrom(locator: CodeceptJS.LocatorOrString, attr: string): Promise<string>;
|
|
915
|
+
/**
|
|
916
|
+
* Can be used for apps only with several values ("contentDescription", "text", "className", "resourceId")
|
|
917
|
+
* Retrieves an array of attributes from elements located by CSS or XPath and returns it to test.
|
|
918
|
+
* Resumes test execution, so **should be used inside async with `await`** operator.
|
|
919
|
+
*
|
|
920
|
+
* ```js
|
|
921
|
+
* let hints = await I.grabAttributeFromAll('.tooltip', 'title');
|
|
922
|
+
* ```
|
|
923
|
+
* @param locator - element located by CSS|XPath|strict locator.
|
|
924
|
+
* @param attr - attribute name.
|
|
925
|
+
* @returns attribute value
|
|
926
|
+
*/
|
|
927
|
+
grabAttributeFromAll(locator: CodeceptJS.LocatorOrString, attr: string): Promise<string[]>;
|
|
889
928
|
/**
|
|
890
929
|
* Retrieves an array of value from a form located by CSS or XPath and returns it to test.
|
|
891
930
|
* Resumes test execution, so **should be used inside async function with `await`** operator.
|
|
@@ -909,6 +948,16 @@ declare namespace CodeceptJS {
|
|
|
909
948
|
* @returns attribute value
|
|
910
949
|
*/
|
|
911
950
|
grabValueFrom(locator: CodeceptJS.LocatorOrString): Promise<string>;
|
|
951
|
+
/**
|
|
952
|
+
* Saves a screenshot to ouput folder (set in codecept.json or codecept.conf.js).
|
|
953
|
+
* Filename is relative to output folder.
|
|
954
|
+
*
|
|
955
|
+
* ```js
|
|
956
|
+
* I.saveScreenshot('debug.png');
|
|
957
|
+
* ```
|
|
958
|
+
* @param fileName - file name to save.
|
|
959
|
+
*/
|
|
960
|
+
saveScreenshot(fileName: string): void;
|
|
912
961
|
/**
|
|
913
962
|
* Scroll element into viewport.
|
|
914
963
|
*
|
|
@@ -2363,11 +2412,13 @@ declare namespace CodeceptJS {
|
|
|
2363
2412
|
* This helper should be configured in codecept.json or codecept.conf.js
|
|
2364
2413
|
*
|
|
2365
2414
|
* * `url`: base url of website to be tested
|
|
2366
|
-
* * `browser`: a browser to test on, either: `chromium`, `firefox`, `webkit`. Default: chromium.
|
|
2415
|
+
* * `browser`: a browser to test on, either: `chromium`, `firefox`, `webkit`, `electron`. Default: chromium.
|
|
2367
2416
|
* * `show`: (optional, default: false) - show browser window.
|
|
2368
2417
|
* * `restart`: (optional, default: true) - restart browser between tests.
|
|
2369
2418
|
* * `disableScreenshots`: (optional, default: false) - don't save screenshot on failure.
|
|
2370
2419
|
* * `emulate`: (optional, default: {}) launch browser in device emulation mode.
|
|
2420
|
+
* * `video`: (optional, default: false) enables video recording for failed tests; videos are saved into `output/videos` folder
|
|
2421
|
+
* * `trace`: (optional, default: false) record [tracing information](https://playwright.dev/docs/trace-viewer) with screenshots and snapshots.
|
|
2371
2422
|
* * `fullPageScreenshots` (optional, default: false) - make full page screenshots on failure.
|
|
2372
2423
|
* * `uniqueScreenshotNames`: (optional, default: false) - option to prevent screenshot override if you have scenarios with the same name in different suites.
|
|
2373
2424
|
* * `keepBrowserState`: (optional, default: false) - keep browser state between tests when `restart` is set to false.
|
|
@@ -2382,6 +2433,23 @@ declare namespace CodeceptJS {
|
|
|
2382
2433
|
* * `userAgent`: (optional) user-agent string.
|
|
2383
2434
|
* * `manualStart`: (optional, default: false) - do not start browser before a test, start it manually inside a helper with `this.helpers["Playwright"]._startBrowser()`.
|
|
2384
2435
|
* * `chromium`: (optional) pass additional chromium options
|
|
2436
|
+
* * `electron`: (optional) pass additional electron options
|
|
2437
|
+
*
|
|
2438
|
+
* #### Video Recording Customization
|
|
2439
|
+
*
|
|
2440
|
+
* By default, video is saved to `output/video` dir. You can customize this path by passing `dir` option to `recordVideo` option.
|
|
2441
|
+
*
|
|
2442
|
+
* * `video`: enables video recording for failed tests; videos are saved into `output/videos` folder
|
|
2443
|
+
* * `keepVideoForPassedTests`: - save videos for passed tests
|
|
2444
|
+
* * `recordVideo`: [additional options for videos customization](https://playwright.dev/docs/next/api/class-browser#browser-new-context)
|
|
2445
|
+
*
|
|
2446
|
+
* #### Trace Recording Customization
|
|
2447
|
+
*
|
|
2448
|
+
* Trace recording provides a complete information on test execution and includes DOM snapshots, screenshots, and network requests logged during run.
|
|
2449
|
+
* Traces will be saved to `output/trace`
|
|
2450
|
+
*
|
|
2451
|
+
* * `trace`: enables trace recording for failed tests; trace are saved into `output/trace` folder
|
|
2452
|
+
* * `keepTraceForPassedTests`: - save trace for passed tests
|
|
2385
2453
|
*
|
|
2386
2454
|
* #### Example #1: Wait for 0 network connections.
|
|
2387
2455
|
*
|
|
@@ -2426,7 +2494,7 @@ declare namespace CodeceptJS {
|
|
|
2426
2494
|
* }
|
|
2427
2495
|
* ```
|
|
2428
2496
|
*
|
|
2429
|
-
* #### Example #4: Connect to remote browser by specifying [websocket endpoint](https://
|
|
2497
|
+
* #### Example #4: Connect to remote browser by specifying [websocket endpoint](https://playwright.dev/docs/api/class-browsertype#browsertypeconnectparams)
|
|
2430
2498
|
*
|
|
2431
2499
|
* ```js
|
|
2432
2500
|
* {
|
|
@@ -2434,7 +2502,7 @@ declare namespace CodeceptJS {
|
|
|
2434
2502
|
* Playwright: {
|
|
2435
2503
|
* url: "http://localhost",
|
|
2436
2504
|
* chromium: {
|
|
2437
|
-
* browserWSEndpoint:
|
|
2505
|
+
* browserWSEndpoint: 'ws://localhost:9222/devtools/browser/c5aa6160-b5bc-4d53-bb49-6ecb36cd2e0a'
|
|
2438
2506
|
* }
|
|
2439
2507
|
* }
|
|
2440
2508
|
* }
|
|
@@ -2452,6 +2520,7 @@ declare namespace CodeceptJS {
|
|
|
2452
2520
|
* url: "http://localhost",
|
|
2453
2521
|
* show: true // headless mode not supported for extensions
|
|
2454
2522
|
* chromium: {
|
|
2523
|
+
* userDataDir: '/tmp/playwright-tmp', // necessary to launch the browser in normal mode instead of incognito,
|
|
2455
2524
|
* args: [
|
|
2456
2525
|
* `--disable-extensions-except=${pathToExtension}`,
|
|
2457
2526
|
* `--load-extension=${pathToExtension}`
|
|
@@ -3466,6 +3535,10 @@ declare namespace CodeceptJS {
|
|
|
3466
3535
|
* @param [arg] - optional argument to pass to the function
|
|
3467
3536
|
*/
|
|
3468
3537
|
executeScript(fn: string | ((...params: any[]) => any), arg?: any): Promise<any>;
|
|
3538
|
+
/**
|
|
3539
|
+
* Grab Locator if called within Context
|
|
3540
|
+
*/
|
|
3541
|
+
_contextLocator(locator: any): void;
|
|
3469
3542
|
/**
|
|
3470
3543
|
* Retrieves a text from an element located by CSS or XPath and returns it to test.
|
|
3471
3544
|
* Resumes test execution, so **should be used inside async with `await`** operator.
|
|
@@ -3896,6 +3969,29 @@ declare namespace CodeceptJS {
|
|
|
3896
3969
|
* @returns Element bounding rectangle
|
|
3897
3970
|
*/
|
|
3898
3971
|
grabElementBoundingRect(locator: LocatorOrString, elementSize?: string): Promise<DOMRect> | Promise<number>;
|
|
3972
|
+
/**
|
|
3973
|
+
* Mocks network request using [`browserContext.route`](https://playwright.dev/docs/api/class-browsercontext#browser-context-route) of Playwright
|
|
3974
|
+
*
|
|
3975
|
+
* ```js
|
|
3976
|
+
* I.mockRoute(/(\.png$)|(\.jpg$)/, route => route.abort());
|
|
3977
|
+
* ```
|
|
3978
|
+
* This method allows intercepting and mocking requests & responses. [Learn more about it](https://playwright.dev/docs/network#handle-requests)
|
|
3979
|
+
* @param [url] - URL, regex or pattern for to match URL
|
|
3980
|
+
* @param [handler] - a function to process request
|
|
3981
|
+
*/
|
|
3982
|
+
mockRoute(url?: string, handler?: (...params: any[]) => any): void;
|
|
3983
|
+
/**
|
|
3984
|
+
* Stops network mocking created by `mockRoute`.
|
|
3985
|
+
*
|
|
3986
|
+
* ```js
|
|
3987
|
+
* I.stopMockingRoute(/(\.png$)|(\.jpg$)/);
|
|
3988
|
+
* I.stopMockingRoute(/(\.png$)|(\.jpg$)/, previouslySetHandler);
|
|
3989
|
+
* ```
|
|
3990
|
+
* If no handler is passed, all mock requests for the rote are disabled.
|
|
3991
|
+
* @param [url] - URL, regex or pattern for to match URL
|
|
3992
|
+
* @param [handler] - a function to process request
|
|
3993
|
+
*/
|
|
3994
|
+
stopMockingRoute(url?: string, handler?: (...params: any[]) => any): void;
|
|
3899
3995
|
}
|
|
3900
3996
|
/**
|
|
3901
3997
|
* This helper works the same as MockRequest helper. It has been included for backwards compatibility
|
|
@@ -5288,6 +5384,7 @@ declare namespace CodeceptJS {
|
|
|
5288
5384
|
* }
|
|
5289
5385
|
* }
|
|
5290
5386
|
* ```
|
|
5387
|
+
* > Note: When connecting to remote browser `show` and specific `chrome` options (e.g. `headless` or `devtools`) are ignored.
|
|
5291
5388
|
*
|
|
5292
5389
|
* #### Example #5: Target URL with provided basic authentication
|
|
5293
5390
|
*
|
|
@@ -5302,10 +5399,25 @@ declare namespace CodeceptJS {
|
|
|
5302
5399
|
* }
|
|
5303
5400
|
* }
|
|
5304
5401
|
* ```
|
|
5402
|
+
* #### Troubleshooting
|
|
5305
5403
|
*
|
|
5404
|
+
* Error Message: `No usable sandbox!`
|
|
5405
|
+
*
|
|
5406
|
+
* When running Puppeteer on CI try to disable sandbox if you see that message
|
|
5407
|
+
*
|
|
5408
|
+
* ```
|
|
5409
|
+
* helpers: {
|
|
5410
|
+
* Puppeteer: {
|
|
5411
|
+
* url: 'http://localhost',
|
|
5412
|
+
* show: false,
|
|
5413
|
+
* chrome: {
|
|
5414
|
+
* args: ['--no-sandbox', '--disable-setuid-sandbox']
|
|
5415
|
+
* }
|
|
5416
|
+
* },
|
|
5417
|
+
* }
|
|
5418
|
+
* ```
|
|
5306
5419
|
*
|
|
5307
5420
|
*
|
|
5308
|
-
* Note: When connecting to remote browser `show` and specific `chrome` options (e.g. `headless` or `devtools`) are ignored.
|
|
5309
5421
|
*
|
|
5310
5422
|
* ## Access From Helpers
|
|
5311
5423
|
*
|
|
@@ -6844,8 +6956,9 @@ declare namespace CodeceptJS {
|
|
|
6844
6956
|
class REST {
|
|
6845
6957
|
/**
|
|
6846
6958
|
* Executes axios request
|
|
6959
|
+
* @returns response
|
|
6847
6960
|
*/
|
|
6848
|
-
_executeRequest(request: any):
|
|
6961
|
+
_executeRequest(request: any): Promise<any>;
|
|
6849
6962
|
/**
|
|
6850
6963
|
* Generates url based on format sent (takes endpoint + url if latter lacks 'http')
|
|
6851
6964
|
*/
|
|
@@ -6865,8 +6978,9 @@ declare namespace CodeceptJS {
|
|
|
6865
6978
|
* I.sendGetRequest('/api/users.json');
|
|
6866
6979
|
* ```
|
|
6867
6980
|
* @param [headers = {}] - the headers object to be sent. By default it is sent as an empty object
|
|
6981
|
+
* @returns response
|
|
6868
6982
|
*/
|
|
6869
|
-
sendGetRequest(url: any, headers?: any):
|
|
6983
|
+
sendGetRequest(url: any, headers?: any): Promise<any>;
|
|
6870
6984
|
/**
|
|
6871
6985
|
* Sends POST request to API.
|
|
6872
6986
|
*
|
|
@@ -6879,8 +6993,9 @@ declare namespace CodeceptJS {
|
|
|
6879
6993
|
* ```
|
|
6880
6994
|
* @param [payload = {}] - the payload to be sent. By default it is sent as an empty object
|
|
6881
6995
|
* @param [headers = {}] - the headers object to be sent. By default it is sent as an empty object
|
|
6996
|
+
* @returns response
|
|
6882
6997
|
*/
|
|
6883
|
-
sendPostRequest(url: any, payload?: any, headers?: any):
|
|
6998
|
+
sendPostRequest(url: any, payload?: any, headers?: any): Promise<any>;
|
|
6884
6999
|
/**
|
|
6885
7000
|
* Sends PATCH request to API.
|
|
6886
7001
|
*
|
|
@@ -6893,8 +7008,9 @@ declare namespace CodeceptJS {
|
|
|
6893
7008
|
* ```
|
|
6894
7009
|
* @param [payload = {}] - the payload to be sent. By default it is sent as an empty object
|
|
6895
7010
|
* @param [headers = {}] - the headers object to be sent. By default it is sent as an empty object
|
|
7011
|
+
* @returns response
|
|
6896
7012
|
*/
|
|
6897
|
-
sendPatchRequest(url: string, payload?: any, headers?: any):
|
|
7013
|
+
sendPatchRequest(url: string, payload?: any, headers?: any): Promise<any>;
|
|
6898
7014
|
/**
|
|
6899
7015
|
* Sends PUT request to API.
|
|
6900
7016
|
*
|
|
@@ -6907,8 +7023,9 @@ declare namespace CodeceptJS {
|
|
|
6907
7023
|
* ```
|
|
6908
7024
|
* @param [payload = {}] - the payload to be sent. By default it is sent as an empty object
|
|
6909
7025
|
* @param [headers = {}] - the headers object to be sent. By default it is sent as an empty object
|
|
7026
|
+
* @returns response
|
|
6910
7027
|
*/
|
|
6911
|
-
sendPutRequest(url: string, payload?: any, headers?: any):
|
|
7028
|
+
sendPutRequest(url: string, payload?: any, headers?: any): Promise<any>;
|
|
6912
7029
|
/**
|
|
6913
7030
|
* Sends DELETE request to API.
|
|
6914
7031
|
*
|
|
@@ -6916,8 +7033,9 @@ declare namespace CodeceptJS {
|
|
|
6916
7033
|
* I.sendDeleteRequest('/api/users/1');
|
|
6917
7034
|
* ```
|
|
6918
7035
|
* @param [headers = {}] - the headers object to be sent. By default it is sent as an empty object
|
|
7036
|
+
* @returns response
|
|
6919
7037
|
*/
|
|
6920
|
-
sendDeleteRequest(url: any, headers?: any):
|
|
7038
|
+
sendDeleteRequest(url: any, headers?: any): Promise<any>;
|
|
6921
7039
|
}
|
|
6922
7040
|
/**
|
|
6923
7041
|
* SeleniumWebdriver helper is based on the official [Selenium Webdriver JS](https://www.npmjs.com/package/selenium-webdriver)
|
|
@@ -8451,6 +8569,7 @@ declare namespace CodeceptJS {
|
|
|
8451
8569
|
* @param value - text value to fill.
|
|
8452
8570
|
*
|
|
8453
8571
|
* {{ react }}
|
|
8572
|
+
* {{ custom }}
|
|
8454
8573
|
*/
|
|
8455
8574
|
fillField(field: CodeceptJS.LocatorOrString, value: CodeceptJS.StringOrSecret): void;
|
|
8456
8575
|
/**
|
|
@@ -8649,8 +8768,6 @@ declare namespace CodeceptJS {
|
|
|
8649
8768
|
* @param locator - element located by CSS|XPath|strict locator.
|
|
8650
8769
|
* @param attr - attribute name.
|
|
8651
8770
|
* @returns attribute value
|
|
8652
|
-
*
|
|
8653
|
-
* Appium: can be used for apps only with several values ("contentDescription", "text", "className", "resourceId")
|
|
8654
8771
|
*/
|
|
8655
8772
|
grabAttributeFromAll(locator: CodeceptJS.LocatorOrString, attr: string): Promise<string[]>;
|
|
8656
8773
|
/**
|
|
@@ -8664,8 +8781,6 @@ declare namespace CodeceptJS {
|
|
|
8664
8781
|
* @param locator - element located by CSS|XPath|strict locator.
|
|
8665
8782
|
* @param attr - attribute name.
|
|
8666
8783
|
* @returns attribute value
|
|
8667
|
-
*
|
|
8668
|
-
* Appium: can be used for apps only with several values ("contentDescription", "text", "className", "resourceId")
|
|
8669
8784
|
*/
|
|
8670
8785
|
grabAttributeFrom(locator: CodeceptJS.LocatorOrString, attr: string): Promise<string>;
|
|
8671
8786
|
/**
|
|
@@ -9753,7 +9868,7 @@ declare namespace CodeceptJS {
|
|
|
9753
9868
|
/**
|
|
9754
9869
|
* Get current config.
|
|
9755
9870
|
*/
|
|
9756
|
-
static get(key
|
|
9871
|
+
static get(key?: string, val?: any): any;
|
|
9757
9872
|
/**
|
|
9758
9873
|
* Appends values to current config
|
|
9759
9874
|
*/
|
|
@@ -9868,6 +9983,7 @@ declare namespace CodeceptJS {
|
|
|
9868
9983
|
before: 'global.before';
|
|
9869
9984
|
after: 'global.after';
|
|
9870
9985
|
result: 'global.result';
|
|
9986
|
+
failures: 'global.failures';
|
|
9871
9987
|
};
|
|
9872
9988
|
const multiple: {
|
|
9873
9989
|
before: 'multiple.before';
|
|
@@ -10012,6 +10128,7 @@ declare namespace CodeceptJS {
|
|
|
10012
10128
|
isCustom(): boolean;
|
|
10013
10129
|
isStrict(): boolean;
|
|
10014
10130
|
isAccessibilityId(): boolean;
|
|
10131
|
+
isBasic(): boolean;
|
|
10015
10132
|
toXPath(): string;
|
|
10016
10133
|
or(locator: CodeceptJS.LocatorOrString): Locator;
|
|
10017
10134
|
find(locator: CodeceptJS.LocatorOrString): Locator;
|
|
@@ -10048,7 +10165,7 @@ declare namespace CodeceptJS {
|
|
|
10048
10165
|
* Print information for a process
|
|
10049
10166
|
* Used in multiple-run
|
|
10050
10167
|
*/
|
|
10051
|
-
function process(process: string): string;
|
|
10168
|
+
function process(process: string | null): string;
|
|
10052
10169
|
/**
|
|
10053
10170
|
* Print information in --debug mode
|
|
10054
10171
|
*/
|
|
@@ -10149,6 +10266,10 @@ declare namespace CodeceptJS {
|
|
|
10149
10266
|
* Get a list of all chained tasks
|
|
10150
10267
|
*/
|
|
10151
10268
|
scheduled(): string;
|
|
10269
|
+
/**
|
|
10270
|
+
* Get the queue id
|
|
10271
|
+
*/
|
|
10272
|
+
getQueueId(): number;
|
|
10152
10273
|
/**
|
|
10153
10274
|
* Get a state of current queue and tasks
|
|
10154
10275
|
*/
|