codeceptjs 3.5.6 → 3.5.7-beta.1

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.
Files changed (140) hide show
  1. package/CHANGELOG.md +2950 -0
  2. package/docs/bdd.md +11 -7
  3. package/docs/build/ApiDataFactory.js +2 -1
  4. package/docs/build/Appium.js +25 -23
  5. package/docs/build/Expect.js +422 -0
  6. package/docs/build/Nightmare.js +53 -56
  7. package/docs/build/Playwright.js +166 -103
  8. package/docs/build/Protractor.js +66 -69
  9. package/docs/build/Puppeteer.js +79 -79
  10. package/docs/build/TestCafe.js +56 -55
  11. package/docs/build/WebDriver.js +81 -82
  12. package/docs/changelog.md +388 -1
  13. package/docs/commands.md +12 -0
  14. package/docs/community-helpers.md +8 -4
  15. package/docs/examples.md +8 -2
  16. package/docs/helpers/Appium.md +50 -32
  17. package/docs/helpers/Expect.md +275 -0
  18. package/docs/helpers/Nightmare.md +141 -94
  19. package/docs/helpers/Playwright.md +280 -211
  20. package/docs/helpers/Protractor.md +229 -169
  21. package/docs/helpers/Puppeteer.md +256 -185
  22. package/docs/helpers/TestCafe.md +201 -149
  23. package/docs/helpers/WebDriver.md +252 -178
  24. package/docs/mobile.md +17 -21
  25. package/docs/plugins.md +35 -1
  26. package/docs/webapi/amOnPage.mustache +1 -1
  27. package/docs/webapi/appendField.mustache +1 -1
  28. package/docs/webapi/attachFile.mustache +1 -1
  29. package/docs/webapi/blur.mustache +1 -0
  30. package/docs/webapi/checkOption.mustache +1 -1
  31. package/docs/webapi/clearCookie.mustache +1 -1
  32. package/docs/webapi/clearField.mustache +1 -1
  33. package/docs/webapi/click.mustache +1 -1
  34. package/docs/webapi/clickLink.mustache +1 -1
  35. package/docs/webapi/closeCurrentTab.mustache +1 -1
  36. package/docs/webapi/closeOtherTabs.mustache +1 -1
  37. package/docs/webapi/dontSee.mustache +1 -1
  38. package/docs/webapi/dontSeeCheckboxIsChecked.mustache +1 -1
  39. package/docs/webapi/dontSeeCookie.mustache +1 -1
  40. package/docs/webapi/dontSeeCurrentUrlEquals.mustache +1 -1
  41. package/docs/webapi/dontSeeElement.mustache +1 -1
  42. package/docs/webapi/dontSeeElementInDOM.mustache +1 -1
  43. package/docs/webapi/dontSeeInCurrentUrl.mustache +1 -1
  44. package/docs/webapi/dontSeeInField.mustache +1 -1
  45. package/docs/webapi/dontSeeInSource.mustache +1 -1
  46. package/docs/webapi/dontSeeInTitle.mustache +1 -1
  47. package/docs/webapi/doubleClick.mustache +1 -1
  48. package/docs/webapi/downloadFile.mustache +1 -1
  49. package/docs/webapi/dragAndDrop.mustache +1 -1
  50. package/docs/webapi/dragSlider.mustache +1 -1
  51. package/docs/webapi/executeAsyncScript.mustache +0 -2
  52. package/docs/webapi/executeScript.mustache +0 -2
  53. package/docs/webapi/fillField.mustache +1 -1
  54. package/docs/webapi/focus.mustache +1 -0
  55. package/docs/webapi/forceClick.mustache +1 -1
  56. package/docs/webapi/forceRightClick.mustache +1 -1
  57. package/docs/webapi/grabCookie.mustache +1 -1
  58. package/docs/webapi/grabDataFromPerformanceTiming.mustache +1 -1
  59. package/docs/webapi/moveCursorTo.mustache +1 -1
  60. package/docs/webapi/openNewTab.mustache +1 -1
  61. package/docs/webapi/pressKey.mustache +1 -1
  62. package/docs/webapi/pressKeyDown.mustache +1 -1
  63. package/docs/webapi/pressKeyUp.mustache +1 -1
  64. package/docs/webapi/pressKeyWithKeyNormalization.mustache +1 -1
  65. package/docs/webapi/refreshPage.mustache +1 -1
  66. package/docs/webapi/resizeWindow.mustache +1 -1
  67. package/docs/webapi/rightClick.mustache +1 -1
  68. package/docs/webapi/saveElementScreenshot.mustache +1 -1
  69. package/docs/webapi/saveScreenshot.mustache +1 -1
  70. package/docs/webapi/say.mustache +1 -1
  71. package/docs/webapi/scrollIntoView.mustache +1 -1
  72. package/docs/webapi/scrollPageToBottom.mustache +1 -1
  73. package/docs/webapi/scrollPageToTop.mustache +1 -1
  74. package/docs/webapi/scrollTo.mustache +1 -1
  75. package/docs/webapi/see.mustache +1 -1
  76. package/docs/webapi/seeAttributesOnElements.mustache +1 -1
  77. package/docs/webapi/seeCheckboxIsChecked.mustache +1 -1
  78. package/docs/webapi/seeCookie.mustache +1 -1
  79. package/docs/webapi/seeCssPropertiesOnElements.mustache +1 -1
  80. package/docs/webapi/seeCurrentUrlEquals.mustache +1 -1
  81. package/docs/webapi/seeElement.mustache +1 -1
  82. package/docs/webapi/seeElementInDOM.mustache +1 -1
  83. package/docs/webapi/seeInCurrentUrl.mustache +1 -1
  84. package/docs/webapi/seeInField.mustache +1 -1
  85. package/docs/webapi/seeInPopup.mustache +1 -1
  86. package/docs/webapi/seeInSource.mustache +1 -1
  87. package/docs/webapi/seeInTitle.mustache +1 -1
  88. package/docs/webapi/seeNumberOfElements.mustache +1 -1
  89. package/docs/webapi/seeNumberOfVisibleElements.mustache +1 -1
  90. package/docs/webapi/seeTextEquals.mustache +1 -1
  91. package/docs/webapi/seeTitleEquals.mustache +1 -1
  92. package/docs/webapi/selectOption.mustache +1 -1
  93. package/docs/webapi/setCookie.mustache +1 -1
  94. package/docs/webapi/setGeoLocation.mustache +1 -1
  95. package/docs/webapi/switchTo.mustache +1 -1
  96. package/docs/webapi/switchToNextTab.mustache +1 -1
  97. package/docs/webapi/switchToPreviousTab.mustache +1 -1
  98. package/docs/webapi/type.mustache +1 -1
  99. package/docs/webapi/uncheckOption.mustache +1 -1
  100. package/docs/webapi/wait.mustache +1 -1
  101. package/docs/webapi/waitForClickable.mustache +1 -1
  102. package/docs/webapi/waitForDetached.mustache +1 -1
  103. package/docs/webapi/waitForElement.mustache +1 -1
  104. package/docs/webapi/waitForEnabled.mustache +1 -1
  105. package/docs/webapi/waitForFunction.mustache +1 -1
  106. package/docs/webapi/waitForInvisible.mustache +1 -1
  107. package/docs/webapi/waitForText.mustache +1 -1
  108. package/docs/webapi/waitForValue.mustache +1 -1
  109. package/docs/webapi/waitForVisible.mustache +1 -1
  110. package/docs/webapi/waitInUrl.mustache +1 -1
  111. package/docs/webapi/waitNumberOfVisibleElements.mustache +1 -1
  112. package/docs/webapi/waitToHide.mustache +1 -1
  113. package/docs/webapi/waitUrlEquals.mustache +1 -1
  114. package/lib/ai.js +12 -3
  115. package/lib/cli.js +3 -1
  116. package/lib/command/dryRun.js +2 -1
  117. package/lib/helper/ApiDataFactory.js +2 -1
  118. package/lib/helper/Appium.js +7 -5
  119. package/lib/helper/Expect.js +422 -0
  120. package/lib/helper/Playwright.js +91 -32
  121. package/lib/helper/Puppeteer.js +2 -2
  122. package/lib/html.js +3 -3
  123. package/lib/interfaces/gherkin.js +21 -2
  124. package/lib/output.js +1 -1
  125. package/lib/pause.js +6 -3
  126. package/lib/plugin/autoLogin.js +35 -3
  127. package/lib/plugin/heal.js +40 -7
  128. package/lib/recorder.js +12 -5
  129. package/package.json +15 -8
  130. package/translations/de-DE.js +5 -0
  131. package/translations/fr-FR.js +1 -0
  132. package/translations/it-IT.js +1 -0
  133. package/translations/ja-JP.js +5 -0
  134. package/translations/pl-PL.js +5 -0
  135. package/translations/pt-BR.js +1 -0
  136. package/translations/ru-RU.js +1 -0
  137. package/translations/zh-CN.js +5 -0
  138. package/translations/zh-TW.js +5 -0
  139. package/typings/promiseBasedTypes.d.ts +904 -862
  140. package/typings/types.d.ts +904 -845
@@ -4,7 +4,7 @@
4
4
 
5
5
  **Extends Webdriver**
6
6
 
7
- Appium helper extends [Webriver][1] helper.
7
+ Appium helper extends [Webdriver][1] helper.
8
8
  It supports all browser methods and also includes special methods for mobile apps testing.
9
9
  You can use this helper to test Web on desktop and mobile devices and mobile apps.
10
10
 
@@ -25,7 +25,7 @@ Launch the daemon: `appium`
25
25
 
26
26
  This helper should be configured in codecept.conf.ts or codecept.conf.js
27
27
 
28
- - `appiumV2`: set this to true if you want to run tests with Appiumv2. See more how to setup [here][3]
28
+ - `appiumV2`: set this to true if you want to run tests with AppiumV2. See more how to setup [here][3]
29
29
  - `app`: Application path. Local path or remote URL to an .ipa or .apk file, or a .zip containing one of these. Alias to desiredCapabilities.appPackage
30
30
  - `host`: (default: 'localhost') Appium host
31
31
  - `port`: (default: '4723') Appium port
@@ -99,7 +99,7 @@ helpers: {
99
99
  }
100
100
  ```
101
101
 
102
- Example Android App using Appiumv2 on BrowserStack:
102
+ Example Android App using AppiumV2 on BrowserStack:
103
103
 
104
104
  ```js
105
105
  {
@@ -136,7 +136,7 @@ helpers: {
136
136
  }
137
137
  ```
138
138
 
139
- Additional configuration params can be used from [https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md][4]
139
+ Additional configuration params can be used from [https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/caps.md][4]
140
140
 
141
141
  ## Access From Helpers
142
142
 
@@ -886,7 +886,8 @@ I.appendField('password', secret('123456'));
886
886
 
887
887
  - `field` **([string][5] \| [object][10])** located by label|name|CSS|XPath|strict locator
888
888
  - `value` **[string][5]** text value to append.
889
- ⚠️ returns a _promise_ which is synchronized internally by recorder
889
+
890
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
890
891
 
891
892
  ### checkOption
892
893
 
@@ -904,8 +905,9 @@ I.checkOption('agree', '//form');
904
905
  #### Parameters
905
906
 
906
907
  - `field` **([string][5] \| [object][10])** checkbox located by label | name | CSS | XPath | strict locator.
907
- - `context` **([string][5]? | [object][10])** (optional, `null` by default) element located by CSS | XPath | strict locator.
908
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `null`)
908
+ - `context` **([string][5]? | [object][10])** (optional, `null` by default) element located by CSS | XPath | strict locator. (optional, default `null`)
909
+
910
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
909
911
 
910
912
  ### click
911
913
 
@@ -934,8 +936,9 @@ I.click({css: 'nav a.login'});
934
936
  #### Parameters
935
937
 
936
938
  - `locator` **([string][5] \| [object][10])** clickable link or button located by text, or any element located by CSS|XPath|strict locator.
937
- - `context` **([string][5]? | [object][10] | null)** (optional, `null` by default) element to search in CSS|XPath|Strict locator.
938
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `null`)
939
+ - `context` **([string][5]? | [object][10] | null)** (optional, `null` by default) element to search in CSS|XPath|Strict locator. (optional, default `null`)
940
+
941
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
939
942
 
940
943
  ### dontSeeCheckboxIsChecked
941
944
 
@@ -950,7 +953,8 @@ I.dontSeeCheckboxIsChecked('agree'); // located by name
950
953
  #### Parameters
951
954
 
952
955
  - `field` **([string][5] \| [object][10])** located by label|name|CSS|XPath|strict locator.
953
- ⚠️ returns a _promise_ which is synchronized internally by recorder
956
+
957
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
954
958
 
955
959
  ### dontSeeElement
956
960
 
@@ -963,7 +967,8 @@ I.dontSeeElement('.modal'); // modal is not shown
963
967
  #### Parameters
964
968
 
965
969
  - `locator` **([string][5] \| [object][10])** located by CSS|XPath|Strict locator.
966
- ⚠️ returns a _promise_ which is synchronized internally by recorder
970
+
971
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
967
972
 
968
973
  ### dontSeeInField
969
974
 
@@ -979,7 +984,8 @@ I.dontSeeInField({ css: 'form input.email' }, 'user@user.com'); // field by CSS
979
984
 
980
985
  - `field` **([string][5] \| [object][10])** located by label|name|CSS|XPath|strict locator.
981
986
  - `value` **([string][5] \| [object][10])** value to check.
982
- ⚠️ returns a _promise_ which is synchronized internally by recorder
987
+
988
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
983
989
 
984
990
  ### dontSee
985
991
 
@@ -994,8 +1000,9 @@ I.dontSee('Login', '.nav'); // no login inside .nav element
994
1000
  #### Parameters
995
1001
 
996
1002
  - `text` **[string][5]** which is not present.
997
- - `context` **([string][5] \| [object][10])?** (optional) element located by CSS|XPath|strict locator in which to perfrom search.
998
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `null`)
1003
+ - `context` **([string][5] \| [object][10])?** (optional) element located by CSS|XPath|strict locator in which to perfrom search. (optional, default `null`)
1004
+
1005
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
999
1006
 
1000
1007
  ### fillField
1001
1008
 
@@ -1017,7 +1024,8 @@ I.fillField({css: 'form#login input[name=username]'}, 'John');
1017
1024
 
1018
1025
  - `field` **([string][5] \| [object][10])** located by label|name|CSS|XPath|strict locator.
1019
1026
  - `value` **([string][5] \| [object][10])** text value to fill.
1020
- ⚠️ returns a _promise_ which is synchronized internally by recorder
1027
+
1028
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1021
1029
 
1022
1030
  ### grabTextFromAll
1023
1031
 
@@ -1162,7 +1170,8 @@ I.scrollIntoView('#submit', { behavior: "smooth", block: "center", inline: "cent
1162
1170
 
1163
1171
  - `locator` **([string][5] \| [object][10])** located by CSS|XPath|strict locator.
1164
1172
  - `scrollIntoViewOptions` **ScrollIntoViewOptions** see [https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView][17].
1165
- ⚠️ returns a _promise_ which is synchronized internally by recorderSupported only for web testing
1173
+
1174
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorderSupported only for web testing
1166
1175
 
1167
1176
  ### seeCheckboxIsChecked
1168
1177
 
@@ -1177,7 +1186,8 @@ I.seeCheckboxIsChecked({css: '#signup_form input[type=checkbox]'});
1177
1186
  #### Parameters
1178
1187
 
1179
1188
  - `field` **([string][5] \| [object][10])** located by label|name|CSS|XPath|strict locator.
1180
- ⚠️ returns a _promise_ which is synchronized internally by recorder
1189
+
1190
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1181
1191
 
1182
1192
  ### seeElement
1183
1193
 
@@ -1191,7 +1201,8 @@ I.seeElement('#modal');
1191
1201
  #### Parameters
1192
1202
 
1193
1203
  - `locator` **([string][5] \| [object][10])** located by CSS|XPath|strict locator.
1194
- ⚠️ returns a _promise_ which is synchronized internally by recorder
1204
+
1205
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1195
1206
 
1196
1207
  ### seeInField
1197
1208
 
@@ -1209,7 +1220,8 @@ I.seeInField('#searchform input','Search');
1209
1220
 
1210
1221
  - `field` **([string][5] \| [object][10])** located by label|name|CSS|XPath|strict locator.
1211
1222
  - `value` **([string][5] \| [object][10])** value to check.
1212
- ⚠️ returns a _promise_ which is synchronized internally by recorder
1223
+
1224
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1213
1225
 
1214
1226
  ### see
1215
1227
 
@@ -1225,8 +1237,9 @@ I.see('Register', {css: 'form.register'}); // use strict locator
1225
1237
  #### Parameters
1226
1238
 
1227
1239
  - `text` **[string][5]** expected on page.
1228
- - `context` **([string][5]? | [object][10])** (optional, `null` by default) element located by CSS|Xpath|strict locator in which to search for text.
1229
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `null`)
1240
+ - `context` **([string][5]? | [object][10])** (optional, `null` by default) element located by CSS|Xpath|strict locator in which to search for text. (optional, default `null`)
1241
+
1242
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1230
1243
 
1231
1244
  ### selectOption
1232
1245
 
@@ -1253,7 +1266,8 @@ I.selectOption('Which OS do you use?', ['Android', 'iOS']);
1253
1266
 
1254
1267
  - `select` **([string][5] \| [object][10])** field located by label|name|CSS|XPath|strict locator.
1255
1268
  - `option` **([string][5] \| [Array][8]<any>)** visible text or value of option.
1256
- ⚠️ returns a _promise_ which is synchronized internally by recorderSupported only for web testing
1269
+
1270
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorderSupported only for web testing
1257
1271
 
1258
1272
  ### waitForElement
1259
1273
 
@@ -1268,8 +1282,9 @@ I.waitForElement('.btn.continue', 5); // wait for 5 secs
1268
1282
  #### Parameters
1269
1283
 
1270
1284
  - `locator` **([string][5] \| [object][10])** element located by CSS|XPath|strict locator.
1271
- - `sec` **[number][12]?** (optional, `1` by default) time in seconds to wait
1272
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `null`)
1285
+ - `sec` **[number][12]?** (optional, `1` by default) time in seconds to wait (optional, default `null`)
1286
+
1287
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1273
1288
 
1274
1289
  ### waitForVisible
1275
1290
 
@@ -1283,8 +1298,9 @@ I.waitForVisible('#popup');
1283
1298
  #### Parameters
1284
1299
 
1285
1300
  - `locator` **([string][5] \| [object][10])** element located by CSS|XPath|strict locator.
1286
- - `sec` **[number][12]** (optional, `1` by default) time in seconds to wait
1287
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `1`)
1301
+ - `sec` **[number][12]** (optional, `1` by default) time in seconds to wait (optional, default `1`)
1302
+
1303
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1288
1304
 
1289
1305
  ### waitForInvisible
1290
1306
 
@@ -1298,8 +1314,9 @@ I.waitForInvisible('#popup');
1298
1314
  #### Parameters
1299
1315
 
1300
1316
  - `locator` **([string][5] \| [object][10])** element located by CSS|XPath|strict locator.
1301
- - `sec` **[number][12]** (optional, `1` by default) time in seconds to wait
1302
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `1`)
1317
+ - `sec` **[number][12]** (optional, `1` by default) time in seconds to wait (optional, default `1`)
1318
+
1319
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1303
1320
 
1304
1321
  ### waitForText
1305
1322
 
@@ -1316,16 +1333,17 @@ I.waitForText('Thank you, form has been submitted', 5, '#modal');
1316
1333
 
1317
1334
  - `text` **[string][5]** to wait for.
1318
1335
  - `sec` **[number][12]** (optional, `1` by default) time in seconds to wait (optional, default `1`)
1319
- - `context` **([string][5] \| [object][10])?** (optional) element located by CSS|XPath|strict locator.
1320
- ⚠️ returns a _promise_ which is synchronized internally by recorder (optional, default `null`)
1336
+ - `context` **([string][5] \| [object][10])?** (optional) element located by CSS|XPath|strict locator. (optional, default `null`)
1337
+
1338
+ Returns **[Promise][6]<void>** automatically synchronized promise through #recorder
1321
1339
 
1322
1340
  [1]: http://codecept.io/helpers/WebDriver/
1323
1341
 
1324
- [2]: http://appium.io/
1342
+ [2]: https://appium.io/docs/en/2.1/
1325
1343
 
1326
1344
  [3]: https://codecept.io/mobile/#setting-up
1327
1345
 
1328
- [4]: https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md
1346
+ [4]: https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/caps.md
1329
1347
 
1330
1348
  [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
1331
1349
 
@@ -0,0 +1,275 @@
1
+ ---
2
+ permalink: /helpers/Expect
3
+ editLink: false
4
+ sidebar: auto
5
+ title: Expect
6
+ ---
7
+
8
+ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->
9
+
10
+ ## ExpectHelper
11
+
12
+ This helper allows performing assertions based on Chai.
13
+
14
+ ### Examples
15
+
16
+ Zero-configuration when paired with other helpers like REST, Playwright:
17
+
18
+ ```js
19
+ // inside codecept.conf.js
20
+ {
21
+ helpers: {
22
+ Playwright: {...},
23
+ ExpectHelper: {},
24
+ }
25
+ }
26
+ ```
27
+
28
+ ## Methods
29
+
30
+ ### expectAbove
31
+
32
+ #### Parameters
33
+
34
+ - `targetData` **any**
35
+ - `aboveThan` **any** number | Date
36
+ - `customErrorMsg` **any**
37
+
38
+ ### expectBelow
39
+
40
+ #### Parameters
41
+
42
+ - `targetData` **any**
43
+ - `belowThan` **any** number | Date
44
+ - `customErrorMsg` **any**
45
+
46
+ ### expectContain
47
+
48
+ #### Parameters
49
+
50
+ - `actualValue` **any**
51
+ - `expectedValueToContain` **any**
52
+ - `customErrorMsg` **any**
53
+
54
+ ### expectDeepEqual
55
+
56
+ #### Parameters
57
+
58
+ - `actualValue` **any**
59
+ - `expectedValue` **any**
60
+ - `customErrorMsg` **any**
61
+
62
+ ### expectDeepEqualExcluding
63
+
64
+ expects members of two JSON objects are deeply equal excluding some properties
65
+
66
+ #### Parameters
67
+
68
+ - `actualValue` **any**
69
+ - `expectedValue` **any**
70
+ - `fieldsToExclude` **any**
71
+ - `customErrorMsg` **any**
72
+
73
+ ### expectDeepIncludeMembers
74
+
75
+ expects an array to be a superset of another array
76
+
77
+ #### Parameters
78
+
79
+ - `superset` **any**
80
+ - `set` **any**
81
+ - `customErrorMsg` **any**
82
+
83
+ ### expectDeepMembers
84
+
85
+ expects members of two arrays are deeply equal
86
+
87
+ #### Parameters
88
+
89
+ - `actualValue` **any**
90
+ - `expectedValue` **any**
91
+ - `customErrorMsg` **any**
92
+
93
+ ### expectEmpty
94
+
95
+ #### Parameters
96
+
97
+ - `targetData` **any**
98
+ - `customErrorMsg` **any**
99
+
100
+ ### expectEndsWith
101
+
102
+ #### Parameters
103
+
104
+ - `actualValue` **any**
105
+ - `expectedValueToEndWith` **any**
106
+ - `customErrorMsg` **any**
107
+
108
+ ### expectEqual
109
+
110
+ #### Parameters
111
+
112
+ - `actualValue` **any**
113
+ - `expectedValue` **any**
114
+ - `customErrorMsg` **any**
115
+
116
+ ### expectEqualIgnoreCase
117
+
118
+ #### Parameters
119
+
120
+ - `actualValue` **any**
121
+ - `expectedValue` **any**
122
+ - `customErrorMsg` **any**
123
+
124
+ ### expectFalse
125
+
126
+ #### Parameters
127
+
128
+ - `targetData` **any**
129
+ - `customErrorMsg` **any**
130
+
131
+ ### expectHasAProperty
132
+
133
+ #### Parameters
134
+
135
+ - `targetData` **any**
136
+ - `propertyName` **any**
137
+ - `customErrorMsg` **any**
138
+
139
+ ### expectHasProperty
140
+
141
+ #### Parameters
142
+
143
+ - `targetData` **any**
144
+ - `propertyName` **any**
145
+ - `customErrorMsg` **any**
146
+
147
+ ### expectJsonSchema
148
+
149
+ #### Parameters
150
+
151
+ - `targetData` **any**
152
+ - `jsonSchema` **any**
153
+ - `customErrorMsg` **any**
154
+
155
+ ### expectJsonSchemaUsingAJV
156
+
157
+ #### Parameters
158
+
159
+ - `targetData` **any**
160
+ - `jsonSchema` **any**
161
+ - `customErrorMsg` **any**
162
+ - `ajvOptions` **any** Pass AJV options
163
+
164
+ ### expectLengthAboveThan
165
+
166
+ #### Parameters
167
+
168
+ - `targetData` **any**
169
+ - `lengthAboveThan` **any**
170
+ - `customErrorMsg` **any**
171
+
172
+ ### expectLengthBelowThan
173
+
174
+ #### Parameters
175
+
176
+ - `targetData` **any**
177
+ - `lengthBelowThan` **any**
178
+ - `customErrorMsg` **any**
179
+
180
+ ### expectLengthOf
181
+
182
+ #### Parameters
183
+
184
+ - `targetData` **any**
185
+ - `length` **any**
186
+ - `customErrorMsg` **any**
187
+
188
+ ### expectMatchesPattern
189
+
190
+ expects a JSON object matches a provided pattern
191
+
192
+ #### Parameters
193
+
194
+ - `actualValue` **any**
195
+ - `expectedPattern` **any**
196
+ - `customErrorMsg` **any**
197
+
198
+ ### expectMatchRegex
199
+
200
+ #### Parameters
201
+
202
+ - `targetData` **any**
203
+ - `regex` **any**
204
+ - `customErrorMsg` **any**
205
+
206
+ ### expectNotContain
207
+
208
+ #### Parameters
209
+
210
+ - `actualValue` **any**
211
+ - `expectedValueToNotContain` **any**
212
+ - `customErrorMsg` **any**
213
+
214
+ ### expectNotDeepEqual
215
+
216
+ #### Parameters
217
+
218
+ - `actualValue` **any**
219
+ - `expectedValue` **any**
220
+ - `customErrorMsg` **any**
221
+
222
+ ### expectNotEndsWith
223
+
224
+ #### Parameters
225
+
226
+ - `actualValue` **any**
227
+ - `expectedValueToNotEndWith` **any**
228
+ - `customErrorMsg` **any**
229
+
230
+ ### expectNotEqual
231
+
232
+ #### Parameters
233
+
234
+ - `actualValue` **any**
235
+ - `expectedValue` **any**
236
+ - `customErrorMsg` **any**
237
+
238
+ ### expectNotStartsWith
239
+
240
+ #### Parameters
241
+
242
+ - `actualValue` **any**
243
+ - `expectedValueToNotStartWith` **any**
244
+ - `customErrorMsg` **any**
245
+
246
+ ### expectStartsWith
247
+
248
+ #### Parameters
249
+
250
+ - `actualValue` **any**
251
+ - `expectedValueToStartWith` **any**
252
+ - `customErrorMsg` **any**
253
+
254
+ ### expectToBeA
255
+
256
+ #### Parameters
257
+
258
+ - `targetData` **any**
259
+ - `type` **any**
260
+ - `customErrorMsg` **any**
261
+
262
+ ### expectToBeAn
263
+
264
+ #### Parameters
265
+
266
+ - `targetData` **any**
267
+ - `type` **any**
268
+ - `customErrorMsg` **any**
269
+
270
+ ### expectTrue
271
+
272
+ #### Parameters
273
+
274
+ - `targetData` **any**
275
+ - `customErrorMsg` **any**