@seontechnologies/playwright-utils 3.10.0

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 (933) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +727 -0
  3. package/dist/cjs/api-request/api-request-fixture.d.ts +47 -0
  4. package/dist/cjs/api-request/api-request-fixture.d.ts.map +1 -0
  5. package/dist/cjs/api-request/api-request-fixture.js +26 -0
  6. package/dist/cjs/api-request/api-request-fixture.js.map +1 -0
  7. package/dist/cjs/api-request/api-request.d.ts +108 -0
  8. package/dist/cjs/api-request/api-request.d.ts.map +1 -0
  9. package/dist/cjs/api-request/api-request.js +326 -0
  10. package/dist/cjs/api-request/api-request.js.map +1 -0
  11. package/dist/cjs/api-request/fixtures.d.ts +3 -0
  12. package/dist/cjs/api-request/fixtures.d.ts.map +1 -0
  13. package/dist/cjs/api-request/fixtures.js +13 -0
  14. package/dist/cjs/api-request/fixtures.js.map +1 -0
  15. package/dist/cjs/api-request/index.d.ts +7 -0
  16. package/dist/cjs/api-request/index.d.ts.map +1 -0
  17. package/dist/cjs/api-request/index.js +11 -0
  18. package/dist/cjs/api-request/index.js.map +1 -0
  19. package/dist/cjs/api-request/schema-validation/core.d.ts +13 -0
  20. package/dist/cjs/api-request/schema-validation/core.d.ts.map +1 -0
  21. package/dist/cjs/api-request/schema-validation/core.js +55 -0
  22. package/dist/cjs/api-request/schema-validation/core.js.map +1 -0
  23. package/dist/cjs/api-request/schema-validation/fixture.d.ts +20 -0
  24. package/dist/cjs/api-request/schema-validation/fixture.d.ts.map +1 -0
  25. package/dist/cjs/api-request/schema-validation/fixture.js +17 -0
  26. package/dist/cjs/api-request/schema-validation/fixture.js.map +1 -0
  27. package/dist/cjs/api-request/schema-validation/index.d.ts +6 -0
  28. package/dist/cjs/api-request/schema-validation/index.d.ts.map +1 -0
  29. package/dist/cjs/api-request/schema-validation/index.js +13 -0
  30. package/dist/cjs/api-request/schema-validation/index.js.map +1 -0
  31. package/dist/cjs/api-request/schema-validation/internal/file-loader.d.ts +50 -0
  32. package/dist/cjs/api-request/schema-validation/internal/file-loader.d.ts.map +1 -0
  33. package/dist/cjs/api-request/schema-validation/internal/file-loader.js +126 -0
  34. package/dist/cjs/api-request/schema-validation/internal/file-loader.js.map +1 -0
  35. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.d.ts +43 -0
  36. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.d.ts.map +1 -0
  37. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.js +147 -0
  38. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.js.map +1 -0
  39. package/dist/cjs/api-request/schema-validation/internal/promise-extension.d.ts +10 -0
  40. package/dist/cjs/api-request/schema-validation/internal/promise-extension.d.ts.map +1 -0
  41. package/dist/cjs/api-request/schema-validation/internal/promise-extension.js +14 -0
  42. package/dist/cjs/api-request/schema-validation/internal/promise-extension.js.map +1 -0
  43. package/dist/cjs/api-request/schema-validation/internal/response-extension.d.ts +18 -0
  44. package/dist/cjs/api-request/schema-validation/internal/response-extension.d.ts.map +1 -0
  45. package/dist/cjs/api-request/schema-validation/internal/response-extension.js +212 -0
  46. package/dist/cjs/api-request/schema-validation/internal/response-extension.js.map +1 -0
  47. package/dist/cjs/api-request/schema-validation/internal/result-builder.d.ts +62 -0
  48. package/dist/cjs/api-request/schema-validation/internal/result-builder.d.ts.map +1 -0
  49. package/dist/cjs/api-request/schema-validation/internal/result-builder.js +140 -0
  50. package/dist/cjs/api-request/schema-validation/internal/result-builder.js.map +1 -0
  51. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.d.ts +58 -0
  52. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.d.ts.map +1 -0
  53. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.js +221 -0
  54. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.js.map +1 -0
  55. package/dist/cjs/api-request/schema-validation/internal/schema-processors.d.ts +38 -0
  56. package/dist/cjs/api-request/schema-validation/internal/schema-processors.d.ts.map +1 -0
  57. package/dist/cjs/api-request/schema-validation/internal/schema-processors.js +341 -0
  58. package/dist/cjs/api-request/schema-validation/internal/schema-processors.js.map +1 -0
  59. package/dist/cjs/api-request/schema-validation/internal/shape-validator.d.ts +96 -0
  60. package/dist/cjs/api-request/schema-validation/internal/shape-validator.d.ts.map +1 -0
  61. package/dist/cjs/api-request/schema-validation/internal/shape-validator.js +180 -0
  62. package/dist/cjs/api-request/schema-validation/internal/shape-validator.js.map +1 -0
  63. package/dist/cjs/api-request/schema-validation/internal/validation-engine.d.ts +63 -0
  64. package/dist/cjs/api-request/schema-validation/internal/validation-engine.d.ts.map +1 -0
  65. package/dist/cjs/api-request/schema-validation/internal/validation-engine.js +395 -0
  66. package/dist/cjs/api-request/schema-validation/internal/validation-engine.js.map +1 -0
  67. package/dist/cjs/api-request/schema-validation/types.d.ts +92 -0
  68. package/dist/cjs/api-request/schema-validation/types.d.ts.map +1 -0
  69. package/dist/cjs/api-request/schema-validation/types.js +16 -0
  70. package/dist/cjs/api-request/schema-validation/types.js.map +1 -0
  71. package/dist/cjs/api-request/ui-display.d.ts +42 -0
  72. package/dist/cjs/api-request/ui-display.d.ts.map +1 -0
  73. package/dist/cjs/api-request/ui-display.js +370 -0
  74. package/dist/cjs/api-request/ui-display.js.map +1 -0
  75. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.d.ts +17 -0
  76. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.d.ts.map +1 -0
  77. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.js +49 -0
  78. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.js.map +1 -0
  79. package/dist/cjs/auth-session/core.d.ts +56 -0
  80. package/dist/cjs/auth-session/core.d.ts.map +1 -0
  81. package/dist/cjs/auth-session/core.js +271 -0
  82. package/dist/cjs/auth-session/core.js.map +1 -0
  83. package/dist/cjs/auth-session/fixtures.d.ts +83 -0
  84. package/dist/cjs/auth-session/fixtures.d.ts.map +1 -0
  85. package/dist/cjs/auth-session/fixtures.js +147 -0
  86. package/dist/cjs/auth-session/fixtures.js.map +1 -0
  87. package/dist/cjs/auth-session/global-setup-helper.d.ts +18 -0
  88. package/dist/cjs/auth-session/global-setup-helper.d.ts.map +1 -0
  89. package/dist/cjs/auth-session/global-setup-helper.js +26 -0
  90. package/dist/cjs/auth-session/global-setup-helper.js.map +1 -0
  91. package/dist/cjs/auth-session/index.d.ts +15 -0
  92. package/dist/cjs/auth-session/index.d.ts.map +1 -0
  93. package/dist/cjs/auth-session/index.js +45 -0
  94. package/dist/cjs/auth-session/index.js.map +1 -0
  95. package/dist/cjs/auth-session/internal/auth-configure.d.ts +19 -0
  96. package/dist/cjs/auth-session/internal/auth-configure.d.ts.map +1 -0
  97. package/dist/cjs/auth-session/internal/auth-configure.js +117 -0
  98. package/dist/cjs/auth-session/internal/auth-configure.js.map +1 -0
  99. package/dist/cjs/auth-session/internal/auth-global-setup.d.ts +33 -0
  100. package/dist/cjs/auth-session/internal/auth-global-setup.d.ts.map +1 -0
  101. package/dist/cjs/auth-session/internal/auth-global-setup.js +152 -0
  102. package/dist/cjs/auth-session/internal/auth-global-setup.js.map +1 -0
  103. package/dist/cjs/auth-session/internal/auth-provider-validator.d.ts +36 -0
  104. package/dist/cjs/auth-session/internal/auth-provider-validator.d.ts.map +1 -0
  105. package/dist/cjs/auth-session/internal/auth-provider-validator.js +273 -0
  106. package/dist/cjs/auth-session/internal/auth-provider-validator.js.map +1 -0
  107. package/dist/cjs/auth-session/internal/auth-provider.d.ts +92 -0
  108. package/dist/cjs/auth-session/internal/auth-provider.d.ts.map +1 -0
  109. package/dist/cjs/auth-session/internal/auth-provider.js +40 -0
  110. package/dist/cjs/auth-session/internal/auth-provider.js.map +1 -0
  111. package/dist/cjs/auth-session/internal/auth-session.d.ts +76 -0
  112. package/dist/cjs/auth-session/internal/auth-session.d.ts.map +1 -0
  113. package/dist/cjs/auth-session/internal/auth-session.js +651 -0
  114. package/dist/cjs/auth-session/internal/auth-session.js.map +1 -0
  115. package/dist/cjs/auth-session/internal/auth-storage-utils.d.ts +62 -0
  116. package/dist/cjs/auth-session/internal/auth-storage-utils.d.ts.map +1 -0
  117. package/dist/cjs/auth-session/internal/auth-storage-utils.js +314 -0
  118. package/dist/cjs/auth-session/internal/auth-storage-utils.js.map +1 -0
  119. package/dist/cjs/auth-session/internal/cache-manager.d.ts +116 -0
  120. package/dist/cjs/auth-session/internal/cache-manager.d.ts.map +1 -0
  121. package/dist/cjs/auth-session/internal/cache-manager.js +267 -0
  122. package/dist/cjs/auth-session/internal/cache-manager.js.map +1 -0
  123. package/dist/cjs/auth-session/internal/types.d.ts +132 -0
  124. package/dist/cjs/auth-session/internal/types.d.ts.map +1 -0
  125. package/dist/cjs/auth-session/internal/types.js +4 -0
  126. package/dist/cjs/auth-session/internal/types.js.map +1 -0
  127. package/dist/cjs/burn-in/core/analyzer.d.ts +36 -0
  128. package/dist/cjs/burn-in/core/analyzer.d.ts.map +1 -0
  129. package/dist/cjs/burn-in/core/analyzer.js +329 -0
  130. package/dist/cjs/burn-in/core/analyzer.js.map +1 -0
  131. package/dist/cjs/burn-in/core/config.d.ts +4 -0
  132. package/dist/cjs/burn-in/core/config.d.ts.map +1 -0
  133. package/dist/cjs/burn-in/core/config.js +107 -0
  134. package/dist/cjs/burn-in/core/config.js.map +1 -0
  135. package/dist/cjs/burn-in/core/types.d.ts +24 -0
  136. package/dist/cjs/burn-in/core/types.d.ts.map +1 -0
  137. package/dist/cjs/burn-in/core/types.js +3 -0
  138. package/dist/cjs/burn-in/core/types.js.map +1 -0
  139. package/dist/cjs/burn-in/index.d.ts +3 -0
  140. package/dist/cjs/burn-in/index.d.ts.map +1 -0
  141. package/dist/cjs/burn-in/index.js +7 -0
  142. package/dist/cjs/burn-in/index.js.map +1 -0
  143. package/dist/cjs/burn-in/runner.d.ts +13 -0
  144. package/dist/cjs/burn-in/runner.d.ts.map +1 -0
  145. package/dist/cjs/burn-in/runner.js +61 -0
  146. package/dist/cjs/burn-in/runner.js.map +1 -0
  147. package/dist/cjs/file-utils/core/csv-reader.d.ts +35 -0
  148. package/dist/cjs/file-utils/core/csv-reader.d.ts.map +1 -0
  149. package/dist/cjs/file-utils/core/csv-reader.js +206 -0
  150. package/dist/cjs/file-utils/core/csv-reader.js.map +1 -0
  151. package/dist/cjs/file-utils/core/file-downloader.d.ts +19 -0
  152. package/dist/cjs/file-utils/core/file-downloader.d.ts.map +1 -0
  153. package/dist/cjs/file-utils/core/file-downloader.js +49 -0
  154. package/dist/cjs/file-utils/core/file-downloader.js.map +1 -0
  155. package/dist/cjs/file-utils/core/pdf-reader.d.ts +42 -0
  156. package/dist/cjs/file-utils/core/pdf-reader.d.ts.map +1 -0
  157. package/dist/cjs/file-utils/core/pdf-reader.js +135 -0
  158. package/dist/cjs/file-utils/core/pdf-reader.js.map +1 -0
  159. package/dist/cjs/file-utils/core/types.d.ts +138 -0
  160. package/dist/cjs/file-utils/core/types.d.ts.map +1 -0
  161. package/dist/cjs/file-utils/core/types.js +72 -0
  162. package/dist/cjs/file-utils/core/types.js.map +1 -0
  163. package/dist/cjs/file-utils/core/xlsx-reader.d.ts +31 -0
  164. package/dist/cjs/file-utils/core/xlsx-reader.d.ts.map +1 -0
  165. package/dist/cjs/file-utils/core/xlsx-reader.js +216 -0
  166. package/dist/cjs/file-utils/core/xlsx-reader.js.map +1 -0
  167. package/dist/cjs/file-utils/core/zip-reader.d.ts +26 -0
  168. package/dist/cjs/file-utils/core/zip-reader.d.ts.map +1 -0
  169. package/dist/cjs/file-utils/core/zip-reader.js +95 -0
  170. package/dist/cjs/file-utils/core/zip-reader.js.map +1 -0
  171. package/dist/cjs/file-utils/file-utils-fixture.d.ts +16 -0
  172. package/dist/cjs/file-utils/file-utils-fixture.d.ts.map +1 -0
  173. package/dist/cjs/file-utils/file-utils-fixture.js +65 -0
  174. package/dist/cjs/file-utils/file-utils-fixture.js.map +1 -0
  175. package/dist/cjs/file-utils/fixtures.d.ts +2 -0
  176. package/dist/cjs/file-utils/fixtures.d.ts.map +1 -0
  177. package/dist/cjs/file-utils/fixtures.js +6 -0
  178. package/dist/cjs/file-utils/fixtures.js.map +1 -0
  179. package/dist/cjs/file-utils/index.d.ts +9 -0
  180. package/dist/cjs/file-utils/index.d.ts.map +1 -0
  181. package/dist/cjs/file-utils/index.js +25 -0
  182. package/dist/cjs/file-utils/index.js.map +1 -0
  183. package/dist/cjs/index.d.ts +13 -0
  184. package/dist/cjs/index.d.ts.map +1 -0
  185. package/dist/cjs/index.js +45 -0
  186. package/dist/cjs/index.js.map +1 -0
  187. package/dist/cjs/intercept-network-call/core/fulfill-network-call.d.ts +10 -0
  188. package/dist/cjs/intercept-network-call/core/fulfill-network-call.d.ts.map +1 -0
  189. package/dist/cjs/intercept-network-call/core/fulfill-network-call.js +88 -0
  190. package/dist/cjs/intercept-network-call/core/fulfill-network-call.js.map +1 -0
  191. package/dist/cjs/intercept-network-call/core/observe-network-call.d.ts +4 -0
  192. package/dist/cjs/intercept-network-call/core/observe-network-call.d.ts.map +1 -0
  193. package/dist/cjs/intercept-network-call/core/observe-network-call.js +56 -0
  194. package/dist/cjs/intercept-network-call/core/observe-network-call.js.map +1 -0
  195. package/dist/cjs/intercept-network-call/core/types.d.ts +28 -0
  196. package/dist/cjs/intercept-network-call/core/types.d.ts.map +1 -0
  197. package/dist/cjs/intercept-network-call/core/types.js +28 -0
  198. package/dist/cjs/intercept-network-call/core/types.js.map +1 -0
  199. package/dist/cjs/intercept-network-call/core/utils/matches-request.d.ts +9 -0
  200. package/dist/cjs/intercept-network-call/core/utils/matches-request.d.ts.map +1 -0
  201. package/dist/cjs/intercept-network-call/core/utils/matches-request.js +32 -0
  202. package/dist/cjs/intercept-network-call/core/utils/matches-request.js.map +1 -0
  203. package/dist/cjs/intercept-network-call/fixtures.d.ts +2 -0
  204. package/dist/cjs/intercept-network-call/fixtures.d.ts.map +1 -0
  205. package/dist/cjs/intercept-network-call/fixtures.js +6 -0
  206. package/dist/cjs/intercept-network-call/fixtures.js.map +1 -0
  207. package/dist/cjs/intercept-network-call/index.d.ts +5 -0
  208. package/dist/cjs/intercept-network-call/index.d.ts.map +1 -0
  209. package/dist/cjs/intercept-network-call/index.js +11 -0
  210. package/dist/cjs/intercept-network-call/index.js.map +1 -0
  211. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.d.ts +7 -0
  212. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.d.ts.map +1 -0
  213. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.js +18 -0
  214. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.js.map +1 -0
  215. package/dist/cjs/intercept-network-call/intercept-network-call.d.ts +21 -0
  216. package/dist/cjs/intercept-network-call/intercept-network-call.d.ts.map +1 -0
  217. package/dist/cjs/intercept-network-call/intercept-network-call.js +59 -0
  218. package/dist/cjs/intercept-network-call/intercept-network-call.js.map +1 -0
  219. package/dist/cjs/internal/index.d.ts +2 -0
  220. package/dist/cjs/internal/index.d.ts.map +1 -0
  221. package/dist/cjs/internal/index.js +18 -0
  222. package/dist/cjs/internal/index.js.map +1 -0
  223. package/dist/cjs/internal/logger.d.ts +25 -0
  224. package/dist/cjs/internal/logger.d.ts.map +1 -0
  225. package/dist/cjs/internal/logger.js +33 -0
  226. package/dist/cjs/internal/logger.js.map +1 -0
  227. package/dist/cjs/log/config.d.ts +28 -0
  228. package/dist/cjs/log/config.d.ts.map +1 -0
  229. package/dist/cjs/log/config.js +165 -0
  230. package/dist/cjs/log/config.js.map +1 -0
  231. package/dist/cjs/log/fixtures.d.ts +2 -0
  232. package/dist/cjs/log/fixtures.d.ts.map +1 -0
  233. package/dist/cjs/log/fixtures.js +6 -0
  234. package/dist/cjs/log/fixtures.js.map +1 -0
  235. package/dist/cjs/log/formatters/colors.d.ts +13 -0
  236. package/dist/cjs/log/formatters/colors.d.ts.map +1 -0
  237. package/dist/cjs/log/formatters/colors.js +16 -0
  238. package/dist/cjs/log/formatters/colors.js.map +1 -0
  239. package/dist/cjs/log/formatters/format-message-base.d.ts +57 -0
  240. package/dist/cjs/log/formatters/format-message-base.d.ts.map +1 -0
  241. package/dist/cjs/log/formatters/format-message-base.js +198 -0
  242. package/dist/cjs/log/formatters/format-message-base.js.map +1 -0
  243. package/dist/cjs/log/formatters/format-message.d.ts +13 -0
  244. package/dist/cjs/log/formatters/format-message.d.ts.map +1 -0
  245. package/dist/cjs/log/formatters/format-message.js +127 -0
  246. package/dist/cjs/log/formatters/format-message.js.map +1 -0
  247. package/dist/cjs/log/index.d.ts +4 -0
  248. package/dist/cjs/log/index.d.ts.map +1 -0
  249. package/dist/cjs/log/index.js +14 -0
  250. package/dist/cjs/log/index.js.map +1 -0
  251. package/dist/cjs/log/log-fixture.d.ts +5 -0
  252. package/dist/cjs/log/log-fixture.d.ts.map +1 -0
  253. package/dist/cjs/log/log-fixture.js +23 -0
  254. package/dist/cjs/log/log-fixture.js.map +1 -0
  255. package/dist/cjs/log/log-organizer.d.ts +17 -0
  256. package/dist/cjs/log/log-organizer.d.ts.map +1 -0
  257. package/dist/cjs/log/log-organizer.js +81 -0
  258. package/dist/cjs/log/log-organizer.js.map +1 -0
  259. package/dist/cjs/log/log.d.ts +20 -0
  260. package/dist/cjs/log/log.d.ts.map +1 -0
  261. package/dist/cjs/log/log.js +268 -0
  262. package/dist/cjs/log/log.js.map +1 -0
  263. package/dist/cjs/log/outputs/add-test-header.d.ts +14 -0
  264. package/dist/cjs/log/outputs/add-test-header.d.ts.map +1 -0
  265. package/dist/cjs/log/outputs/add-test-header.js +92 -0
  266. package/dist/cjs/log/outputs/add-test-header.js.map +1 -0
  267. package/dist/cjs/log/outputs/context.d.ts +73 -0
  268. package/dist/cjs/log/outputs/context.d.ts.map +1 -0
  269. package/dist/cjs/log/outputs/context.js +156 -0
  270. package/dist/cjs/log/outputs/context.js.map +1 -0
  271. package/dist/cjs/log/outputs/create-log-file-path.d.ts +6 -0
  272. package/dist/cjs/log/outputs/create-log-file-path.d.ts.map +1 -0
  273. package/dist/cjs/log/outputs/create-log-file-path.js +118 -0
  274. package/dist/cjs/log/outputs/create-log-file-path.js.map +1 -0
  275. package/dist/cjs/log/outputs/log-to-console.d.ts +4 -0
  276. package/dist/cjs/log/outputs/log-to-console.d.ts.map +1 -0
  277. package/dist/cjs/log/outputs/log-to-console.js +26 -0
  278. package/dist/cjs/log/outputs/log-to-console.js.map +1 -0
  279. package/dist/cjs/log/outputs/log-to-file.d.ts +23 -0
  280. package/dist/cjs/log/outputs/log-to-file.d.ts.map +1 -0
  281. package/dist/cjs/log/outputs/log-to-file.js +198 -0
  282. package/dist/cjs/log/outputs/log-to-file.js.map +1 -0
  283. package/dist/cjs/log/test-step.d.ts +42 -0
  284. package/dist/cjs/log/test-step.d.ts.map +1 -0
  285. package/dist/cjs/log/test-step.js +110 -0
  286. package/dist/cjs/log/test-step.js.map +1 -0
  287. package/dist/cjs/log/types.d.ts +81 -0
  288. package/dist/cjs/log/types.d.ts.map +1 -0
  289. package/dist/cjs/log/types.js +13 -0
  290. package/dist/cjs/log/types.js.map +1 -0
  291. package/dist/cjs/log/utils/async.d.ts +6 -0
  292. package/dist/cjs/log/utils/async.d.ts.map +1 -0
  293. package/dist/cjs/log/utils/async.js +15 -0
  294. package/dist/cjs/log/utils/async.js.map +1 -0
  295. package/dist/cjs/log/utils/flag.d.ts +12 -0
  296. package/dist/cjs/log/utils/flag.d.ts.map +1 -0
  297. package/dist/cjs/log/utils/flag.js +19 -0
  298. package/dist/cjs/log/utils/flag.js.map +1 -0
  299. package/dist/cjs/log/utils/options.d.ts +14 -0
  300. package/dist/cjs/log/utils/options.d.ts.map +1 -0
  301. package/dist/cjs/log/utils/options.js +86 -0
  302. package/dist/cjs/log/utils/options.js.map +1 -0
  303. package/dist/cjs/log/utils/playwright-step-utils.d.ts +5 -0
  304. package/dist/cjs/log/utils/playwright-step-utils.d.ts.map +1 -0
  305. package/dist/cjs/log/utils/playwright-step-utils.js +48 -0
  306. package/dist/cjs/log/utils/playwright-step-utils.js.map +1 -0
  307. package/dist/cjs/network-error-monitor/fixtures.d.ts +91 -0
  308. package/dist/cjs/network-error-monitor/fixtures.d.ts.map +1 -0
  309. package/dist/cjs/network-error-monitor/fixtures.js +299 -0
  310. package/dist/cjs/network-error-monitor/fixtures.js.map +1 -0
  311. package/dist/cjs/network-recorder/core/har-builder.d.ts +122 -0
  312. package/dist/cjs/network-recorder/core/har-builder.d.ts.map +1 -0
  313. package/dist/cjs/network-recorder/core/har-builder.js +159 -0
  314. package/dist/cjs/network-recorder/core/har-builder.js.map +1 -0
  315. package/dist/cjs/network-recorder/core/har-manager.d.ts +74 -0
  316. package/dist/cjs/network-recorder/core/har-manager.d.ts.map +1 -0
  317. package/dist/cjs/network-recorder/core/har-manager.js +243 -0
  318. package/dist/cjs/network-recorder/core/har-manager.js.map +1 -0
  319. package/dist/cjs/network-recorder/core/har-playback-handler.d.ts +10 -0
  320. package/dist/cjs/network-recorder/core/har-playback-handler.d.ts.map +1 -0
  321. package/dist/cjs/network-recorder/core/har-playback-handler.js +291 -0
  322. package/dist/cjs/network-recorder/core/har-playback-handler.js.map +1 -0
  323. package/dist/cjs/network-recorder/core/index.d.ts +9 -0
  324. package/dist/cjs/network-recorder/core/index.d.ts.map +1 -0
  325. package/dist/cjs/network-recorder/core/index.js +35 -0
  326. package/dist/cjs/network-recorder/core/index.js.map +1 -0
  327. package/dist/cjs/network-recorder/core/mode-detector.d.ts +64 -0
  328. package/dist/cjs/network-recorder/core/mode-detector.d.ts.map +1 -0
  329. package/dist/cjs/network-recorder/core/mode-detector.js +191 -0
  330. package/dist/cjs/network-recorder/core/mode-detector.js.map +1 -0
  331. package/dist/cjs/network-recorder/core/network-recorder.d.ts +90 -0
  332. package/dist/cjs/network-recorder/core/network-recorder.d.ts.map +1 -0
  333. package/dist/cjs/network-recorder/core/network-recorder.js +260 -0
  334. package/dist/cjs/network-recorder/core/network-recorder.js.map +1 -0
  335. package/dist/cjs/network-recorder/core/stateful-api-mock.d.ts +31 -0
  336. package/dist/cjs/network-recorder/core/stateful-api-mock.d.ts.map +1 -0
  337. package/dist/cjs/network-recorder/core/stateful-api-mock.js +160 -0
  338. package/dist/cjs/network-recorder/core/stateful-api-mock.js.map +1 -0
  339. package/dist/cjs/network-recorder/core/types.d.ts +192 -0
  340. package/dist/cjs/network-recorder/core/types.d.ts.map +1 -0
  341. package/dist/cjs/network-recorder/core/types.js +54 -0
  342. package/dist/cjs/network-recorder/core/types.js.map +1 -0
  343. package/dist/cjs/network-recorder/fixtures.d.ts +2 -0
  344. package/dist/cjs/network-recorder/fixtures.d.ts.map +1 -0
  345. package/dist/cjs/network-recorder/fixtures.js +6 -0
  346. package/dist/cjs/network-recorder/fixtures.js.map +1 -0
  347. package/dist/cjs/network-recorder/index.d.ts +6 -0
  348. package/dist/cjs/network-recorder/index.d.ts.map +1 -0
  349. package/dist/cjs/network-recorder/index.js +22 -0
  350. package/dist/cjs/network-recorder/index.js.map +1 -0
  351. package/dist/cjs/network-recorder/network-recorder-fixture.d.ts +78 -0
  352. package/dist/cjs/network-recorder/network-recorder-fixture.d.ts.map +1 -0
  353. package/dist/cjs/network-recorder/network-recorder-fixture.js +79 -0
  354. package/dist/cjs/network-recorder/network-recorder-fixture.js.map +1 -0
  355. package/dist/cjs/network-recorder/network-recorder.d.ts +11 -0
  356. package/dist/cjs/network-recorder/network-recorder.d.ts.map +1 -0
  357. package/dist/cjs/network-recorder/network-recorder.js +32 -0
  358. package/dist/cjs/network-recorder/network-recorder.js.map +1 -0
  359. package/dist/cjs/recurse/fixtures.d.ts +2 -0
  360. package/dist/cjs/recurse/fixtures.d.ts.map +1 -0
  361. package/dist/cjs/recurse/fixtures.js +6 -0
  362. package/dist/cjs/recurse/fixtures.js.map +1 -0
  363. package/dist/cjs/recurse/index.d.ts +2 -0
  364. package/dist/cjs/recurse/index.d.ts.map +1 -0
  365. package/dist/cjs/recurse/index.js +18 -0
  366. package/dist/cjs/recurse/index.js.map +1 -0
  367. package/dist/cjs/recurse/recurse-fixture.d.ts +35 -0
  368. package/dist/cjs/recurse/recurse-fixture.d.ts.map +1 -0
  369. package/dist/cjs/recurse/recurse-fixture.js +14 -0
  370. package/dist/cjs/recurse/recurse-fixture.js.map +1 -0
  371. package/dist/cjs/recurse/recurse.d.ts +108 -0
  372. package/dist/cjs/recurse/recurse.d.ts.map +1 -0
  373. package/dist/cjs/recurse/recurse.js +298 -0
  374. package/dist/cjs/recurse/recurse.js.map +1 -0
  375. package/dist/esm/api-request/api-request-fixture.d.ts +47 -0
  376. package/dist/esm/api-request/api-request-fixture.d.ts.map +1 -0
  377. package/dist/esm/api-request/api-request-fixture.js +26 -0
  378. package/dist/esm/api-request/api-request-fixture.js.map +1 -0
  379. package/dist/esm/api-request/api-request.d.ts +108 -0
  380. package/dist/esm/api-request/api-request.d.ts.map +1 -0
  381. package/dist/esm/api-request/api-request.js +326 -0
  382. package/dist/esm/api-request/api-request.js.map +1 -0
  383. package/dist/esm/api-request/fixtures.d.ts +3 -0
  384. package/dist/esm/api-request/fixtures.d.ts.map +1 -0
  385. package/dist/esm/api-request/fixtures.js +13 -0
  386. package/dist/esm/api-request/fixtures.js.map +1 -0
  387. package/dist/esm/api-request/index.d.ts +7 -0
  388. package/dist/esm/api-request/index.d.ts.map +1 -0
  389. package/dist/esm/api-request/index.js +11 -0
  390. package/dist/esm/api-request/index.js.map +1 -0
  391. package/dist/esm/api-request/schema-validation/core.d.ts +13 -0
  392. package/dist/esm/api-request/schema-validation/core.d.ts.map +1 -0
  393. package/dist/esm/api-request/schema-validation/core.js +55 -0
  394. package/dist/esm/api-request/schema-validation/core.js.map +1 -0
  395. package/dist/esm/api-request/schema-validation/fixture.d.ts +20 -0
  396. package/dist/esm/api-request/schema-validation/fixture.d.ts.map +1 -0
  397. package/dist/esm/api-request/schema-validation/fixture.js +17 -0
  398. package/dist/esm/api-request/schema-validation/fixture.js.map +1 -0
  399. package/dist/esm/api-request/schema-validation/index.d.ts +6 -0
  400. package/dist/esm/api-request/schema-validation/index.d.ts.map +1 -0
  401. package/dist/esm/api-request/schema-validation/index.js +13 -0
  402. package/dist/esm/api-request/schema-validation/index.js.map +1 -0
  403. package/dist/esm/api-request/schema-validation/internal/file-loader.d.ts +50 -0
  404. package/dist/esm/api-request/schema-validation/internal/file-loader.d.ts.map +1 -0
  405. package/dist/esm/api-request/schema-validation/internal/file-loader.js +126 -0
  406. package/dist/esm/api-request/schema-validation/internal/file-loader.js.map +1 -0
  407. package/dist/esm/api-request/schema-validation/internal/openapi-handler.d.ts +43 -0
  408. package/dist/esm/api-request/schema-validation/internal/openapi-handler.d.ts.map +1 -0
  409. package/dist/esm/api-request/schema-validation/internal/openapi-handler.js +147 -0
  410. package/dist/esm/api-request/schema-validation/internal/openapi-handler.js.map +1 -0
  411. package/dist/esm/api-request/schema-validation/internal/promise-extension.d.ts +10 -0
  412. package/dist/esm/api-request/schema-validation/internal/promise-extension.d.ts.map +1 -0
  413. package/dist/esm/api-request/schema-validation/internal/promise-extension.js +14 -0
  414. package/dist/esm/api-request/schema-validation/internal/promise-extension.js.map +1 -0
  415. package/dist/esm/api-request/schema-validation/internal/response-extension.d.ts +18 -0
  416. package/dist/esm/api-request/schema-validation/internal/response-extension.d.ts.map +1 -0
  417. package/dist/esm/api-request/schema-validation/internal/response-extension.js +212 -0
  418. package/dist/esm/api-request/schema-validation/internal/response-extension.js.map +1 -0
  419. package/dist/esm/api-request/schema-validation/internal/result-builder.d.ts +62 -0
  420. package/dist/esm/api-request/schema-validation/internal/result-builder.d.ts.map +1 -0
  421. package/dist/esm/api-request/schema-validation/internal/result-builder.js +140 -0
  422. package/dist/esm/api-request/schema-validation/internal/result-builder.js.map +1 -0
  423. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.d.ts +58 -0
  424. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.d.ts.map +1 -0
  425. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.js +221 -0
  426. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.js.map +1 -0
  427. package/dist/esm/api-request/schema-validation/internal/schema-processors.d.ts +38 -0
  428. package/dist/esm/api-request/schema-validation/internal/schema-processors.d.ts.map +1 -0
  429. package/dist/esm/api-request/schema-validation/internal/schema-processors.js +341 -0
  430. package/dist/esm/api-request/schema-validation/internal/schema-processors.js.map +1 -0
  431. package/dist/esm/api-request/schema-validation/internal/shape-validator.d.ts +96 -0
  432. package/dist/esm/api-request/schema-validation/internal/shape-validator.d.ts.map +1 -0
  433. package/dist/esm/api-request/schema-validation/internal/shape-validator.js +180 -0
  434. package/dist/esm/api-request/schema-validation/internal/shape-validator.js.map +1 -0
  435. package/dist/esm/api-request/schema-validation/internal/validation-engine.d.ts +63 -0
  436. package/dist/esm/api-request/schema-validation/internal/validation-engine.d.ts.map +1 -0
  437. package/dist/esm/api-request/schema-validation/internal/validation-engine.js +395 -0
  438. package/dist/esm/api-request/schema-validation/internal/validation-engine.js.map +1 -0
  439. package/dist/esm/api-request/schema-validation/types.d.ts +92 -0
  440. package/dist/esm/api-request/schema-validation/types.d.ts.map +1 -0
  441. package/dist/esm/api-request/schema-validation/types.js +16 -0
  442. package/dist/esm/api-request/schema-validation/types.js.map +1 -0
  443. package/dist/esm/api-request/ui-display.d.ts +42 -0
  444. package/dist/esm/api-request/ui-display.d.ts.map +1 -0
  445. package/dist/esm/api-request/ui-display.js +370 -0
  446. package/dist/esm/api-request/ui-display.js.map +1 -0
  447. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.d.ts +17 -0
  448. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.d.ts.map +1 -0
  449. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.js +49 -0
  450. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.js.map +1 -0
  451. package/dist/esm/auth-session/core.d.ts +56 -0
  452. package/dist/esm/auth-session/core.d.ts.map +1 -0
  453. package/dist/esm/auth-session/core.js +271 -0
  454. package/dist/esm/auth-session/core.js.map +1 -0
  455. package/dist/esm/auth-session/fixtures.d.ts +83 -0
  456. package/dist/esm/auth-session/fixtures.d.ts.map +1 -0
  457. package/dist/esm/auth-session/fixtures.js +147 -0
  458. package/dist/esm/auth-session/fixtures.js.map +1 -0
  459. package/dist/esm/auth-session/global-setup-helper.d.ts +18 -0
  460. package/dist/esm/auth-session/global-setup-helper.d.ts.map +1 -0
  461. package/dist/esm/auth-session/global-setup-helper.js +26 -0
  462. package/dist/esm/auth-session/global-setup-helper.js.map +1 -0
  463. package/dist/esm/auth-session/index.d.ts +15 -0
  464. package/dist/esm/auth-session/index.d.ts.map +1 -0
  465. package/dist/esm/auth-session/index.js +45 -0
  466. package/dist/esm/auth-session/index.js.map +1 -0
  467. package/dist/esm/auth-session/internal/auth-configure.d.ts +19 -0
  468. package/dist/esm/auth-session/internal/auth-configure.d.ts.map +1 -0
  469. package/dist/esm/auth-session/internal/auth-configure.js +117 -0
  470. package/dist/esm/auth-session/internal/auth-configure.js.map +1 -0
  471. package/dist/esm/auth-session/internal/auth-global-setup.d.ts +33 -0
  472. package/dist/esm/auth-session/internal/auth-global-setup.d.ts.map +1 -0
  473. package/dist/esm/auth-session/internal/auth-global-setup.js +152 -0
  474. package/dist/esm/auth-session/internal/auth-global-setup.js.map +1 -0
  475. package/dist/esm/auth-session/internal/auth-provider-validator.d.ts +36 -0
  476. package/dist/esm/auth-session/internal/auth-provider-validator.d.ts.map +1 -0
  477. package/dist/esm/auth-session/internal/auth-provider-validator.js +240 -0
  478. package/dist/esm/auth-session/internal/auth-provider-validator.js.map +1 -0
  479. package/dist/esm/auth-session/internal/auth-provider.d.ts +92 -0
  480. package/dist/esm/auth-session/internal/auth-provider.d.ts.map +1 -0
  481. package/dist/esm/auth-session/internal/auth-provider.js +40 -0
  482. package/dist/esm/auth-session/internal/auth-provider.js.map +1 -0
  483. package/dist/esm/auth-session/internal/auth-session.d.ts +76 -0
  484. package/dist/esm/auth-session/internal/auth-session.d.ts.map +1 -0
  485. package/dist/esm/auth-session/internal/auth-session.js +651 -0
  486. package/dist/esm/auth-session/internal/auth-session.js.map +1 -0
  487. package/dist/esm/auth-session/internal/auth-storage-utils.d.ts +62 -0
  488. package/dist/esm/auth-session/internal/auth-storage-utils.d.ts.map +1 -0
  489. package/dist/esm/auth-session/internal/auth-storage-utils.js +314 -0
  490. package/dist/esm/auth-session/internal/auth-storage-utils.js.map +1 -0
  491. package/dist/esm/auth-session/internal/cache-manager.d.ts +116 -0
  492. package/dist/esm/auth-session/internal/cache-manager.d.ts.map +1 -0
  493. package/dist/esm/auth-session/internal/cache-manager.js +267 -0
  494. package/dist/esm/auth-session/internal/cache-manager.js.map +1 -0
  495. package/dist/esm/auth-session/internal/types.d.ts +132 -0
  496. package/dist/esm/auth-session/internal/types.d.ts.map +1 -0
  497. package/dist/esm/auth-session/internal/types.js +4 -0
  498. package/dist/esm/auth-session/internal/types.js.map +1 -0
  499. package/dist/esm/burn-in/core/analyzer.d.ts +36 -0
  500. package/dist/esm/burn-in/core/analyzer.d.ts.map +1 -0
  501. package/dist/esm/burn-in/core/analyzer.js +329 -0
  502. package/dist/esm/burn-in/core/analyzer.js.map +1 -0
  503. package/dist/esm/burn-in/core/config.d.ts +4 -0
  504. package/dist/esm/burn-in/core/config.d.ts.map +1 -0
  505. package/dist/esm/burn-in/core/config.js +107 -0
  506. package/dist/esm/burn-in/core/config.js.map +1 -0
  507. package/dist/esm/burn-in/core/types.d.ts +24 -0
  508. package/dist/esm/burn-in/core/types.d.ts.map +1 -0
  509. package/dist/esm/burn-in/core/types.js +3 -0
  510. package/dist/esm/burn-in/core/types.js.map +1 -0
  511. package/dist/esm/burn-in/index.d.ts +3 -0
  512. package/dist/esm/burn-in/index.d.ts.map +1 -0
  513. package/dist/esm/burn-in/index.js +7 -0
  514. package/dist/esm/burn-in/index.js.map +1 -0
  515. package/dist/esm/burn-in/runner.d.ts +13 -0
  516. package/dist/esm/burn-in/runner.d.ts.map +1 -0
  517. package/dist/esm/burn-in/runner.js +61 -0
  518. package/dist/esm/burn-in/runner.js.map +1 -0
  519. package/dist/esm/file-utils/core/csv-reader.d.ts +35 -0
  520. package/dist/esm/file-utils/core/csv-reader.d.ts.map +1 -0
  521. package/dist/esm/file-utils/core/csv-reader.js +206 -0
  522. package/dist/esm/file-utils/core/csv-reader.js.map +1 -0
  523. package/dist/esm/file-utils/core/file-downloader.d.ts +19 -0
  524. package/dist/esm/file-utils/core/file-downloader.d.ts.map +1 -0
  525. package/dist/esm/file-utils/core/file-downloader.js +49 -0
  526. package/dist/esm/file-utils/core/file-downloader.js.map +1 -0
  527. package/dist/esm/file-utils/core/pdf-reader.d.ts +42 -0
  528. package/dist/esm/file-utils/core/pdf-reader.d.ts.map +1 -0
  529. package/dist/esm/file-utils/core/pdf-reader.js +135 -0
  530. package/dist/esm/file-utils/core/pdf-reader.js.map +1 -0
  531. package/dist/esm/file-utils/core/types.d.ts +138 -0
  532. package/dist/esm/file-utils/core/types.d.ts.map +1 -0
  533. package/dist/esm/file-utils/core/types.js +72 -0
  534. package/dist/esm/file-utils/core/types.js.map +1 -0
  535. package/dist/esm/file-utils/core/xlsx-reader.d.ts +31 -0
  536. package/dist/esm/file-utils/core/xlsx-reader.d.ts.map +1 -0
  537. package/dist/esm/file-utils/core/xlsx-reader.js +216 -0
  538. package/dist/esm/file-utils/core/xlsx-reader.js.map +1 -0
  539. package/dist/esm/file-utils/core/zip-reader.d.ts +26 -0
  540. package/dist/esm/file-utils/core/zip-reader.d.ts.map +1 -0
  541. package/dist/esm/file-utils/core/zip-reader.js +95 -0
  542. package/dist/esm/file-utils/core/zip-reader.js.map +1 -0
  543. package/dist/esm/file-utils/file-utils-fixture.d.ts +16 -0
  544. package/dist/esm/file-utils/file-utils-fixture.d.ts.map +1 -0
  545. package/dist/esm/file-utils/file-utils-fixture.js +65 -0
  546. package/dist/esm/file-utils/file-utils-fixture.js.map +1 -0
  547. package/dist/esm/file-utils/fixtures.d.ts +2 -0
  548. package/dist/esm/file-utils/fixtures.d.ts.map +1 -0
  549. package/dist/esm/file-utils/fixtures.js +6 -0
  550. package/dist/esm/file-utils/fixtures.js.map +1 -0
  551. package/dist/esm/file-utils/index.d.ts +9 -0
  552. package/dist/esm/file-utils/index.d.ts.map +1 -0
  553. package/dist/esm/file-utils/index.js +25 -0
  554. package/dist/esm/file-utils/index.js.map +1 -0
  555. package/dist/esm/index.d.ts +13 -0
  556. package/dist/esm/index.d.ts.map +1 -0
  557. package/dist/esm/index.js +45 -0
  558. package/dist/esm/index.js.map +1 -0
  559. package/dist/esm/intercept-network-call/core/fulfill-network-call.d.ts +10 -0
  560. package/dist/esm/intercept-network-call/core/fulfill-network-call.d.ts.map +1 -0
  561. package/dist/esm/intercept-network-call/core/fulfill-network-call.js +88 -0
  562. package/dist/esm/intercept-network-call/core/fulfill-network-call.js.map +1 -0
  563. package/dist/esm/intercept-network-call/core/observe-network-call.d.ts +4 -0
  564. package/dist/esm/intercept-network-call/core/observe-network-call.d.ts.map +1 -0
  565. package/dist/esm/intercept-network-call/core/observe-network-call.js +56 -0
  566. package/dist/esm/intercept-network-call/core/observe-network-call.js.map +1 -0
  567. package/dist/esm/intercept-network-call/core/types.d.ts +28 -0
  568. package/dist/esm/intercept-network-call/core/types.d.ts.map +1 -0
  569. package/dist/esm/intercept-network-call/core/types.js +28 -0
  570. package/dist/esm/intercept-network-call/core/types.js.map +1 -0
  571. package/dist/esm/intercept-network-call/core/utils/matches-request.d.ts +9 -0
  572. package/dist/esm/intercept-network-call/core/utils/matches-request.d.ts.map +1 -0
  573. package/dist/esm/intercept-network-call/core/utils/matches-request.js +32 -0
  574. package/dist/esm/intercept-network-call/core/utils/matches-request.js.map +1 -0
  575. package/dist/esm/intercept-network-call/fixtures.d.ts +2 -0
  576. package/dist/esm/intercept-network-call/fixtures.d.ts.map +1 -0
  577. package/dist/esm/intercept-network-call/fixtures.js +6 -0
  578. package/dist/esm/intercept-network-call/fixtures.js.map +1 -0
  579. package/dist/esm/intercept-network-call/index.d.ts +5 -0
  580. package/dist/esm/intercept-network-call/index.d.ts.map +1 -0
  581. package/dist/esm/intercept-network-call/index.js +11 -0
  582. package/dist/esm/intercept-network-call/index.js.map +1 -0
  583. package/dist/esm/intercept-network-call/intercept-network-call-fixture.d.ts +7 -0
  584. package/dist/esm/intercept-network-call/intercept-network-call-fixture.d.ts.map +1 -0
  585. package/dist/esm/intercept-network-call/intercept-network-call-fixture.js +18 -0
  586. package/dist/esm/intercept-network-call/intercept-network-call-fixture.js.map +1 -0
  587. package/dist/esm/intercept-network-call/intercept-network-call.d.ts +21 -0
  588. package/dist/esm/intercept-network-call/intercept-network-call.d.ts.map +1 -0
  589. package/dist/esm/intercept-network-call/intercept-network-call.js +59 -0
  590. package/dist/esm/intercept-network-call/intercept-network-call.js.map +1 -0
  591. package/dist/esm/internal/index.d.ts +2 -0
  592. package/dist/esm/internal/index.d.ts.map +1 -0
  593. package/dist/esm/internal/index.js +18 -0
  594. package/dist/esm/internal/index.js.map +1 -0
  595. package/dist/esm/internal/logger.d.ts +25 -0
  596. package/dist/esm/internal/logger.d.ts.map +1 -0
  597. package/dist/esm/internal/logger.js +33 -0
  598. package/dist/esm/internal/logger.js.map +1 -0
  599. package/dist/esm/log/config.d.ts +28 -0
  600. package/dist/esm/log/config.d.ts.map +1 -0
  601. package/dist/esm/log/config.js +165 -0
  602. package/dist/esm/log/config.js.map +1 -0
  603. package/dist/esm/log/fixtures.d.ts +2 -0
  604. package/dist/esm/log/fixtures.d.ts.map +1 -0
  605. package/dist/esm/log/fixtures.js +6 -0
  606. package/dist/esm/log/fixtures.js.map +1 -0
  607. package/dist/esm/log/formatters/colors.d.ts +13 -0
  608. package/dist/esm/log/formatters/colors.d.ts.map +1 -0
  609. package/dist/esm/log/formatters/colors.js +16 -0
  610. package/dist/esm/log/formatters/colors.js.map +1 -0
  611. package/dist/esm/log/formatters/format-message-base.d.ts +57 -0
  612. package/dist/esm/log/formatters/format-message-base.d.ts.map +1 -0
  613. package/dist/esm/log/formatters/format-message-base.js +198 -0
  614. package/dist/esm/log/formatters/format-message-base.js.map +1 -0
  615. package/dist/esm/log/formatters/format-message.d.ts +13 -0
  616. package/dist/esm/log/formatters/format-message.d.ts.map +1 -0
  617. package/dist/esm/log/formatters/format-message.js +127 -0
  618. package/dist/esm/log/formatters/format-message.js.map +1 -0
  619. package/dist/esm/log/index.d.ts +4 -0
  620. package/dist/esm/log/index.d.ts.map +1 -0
  621. package/dist/esm/log/index.js +14 -0
  622. package/dist/esm/log/index.js.map +1 -0
  623. package/dist/esm/log/log-fixture.d.ts +5 -0
  624. package/dist/esm/log/log-fixture.d.ts.map +1 -0
  625. package/dist/esm/log/log-fixture.js +23 -0
  626. package/dist/esm/log/log-fixture.js.map +1 -0
  627. package/dist/esm/log/log-organizer.d.ts +17 -0
  628. package/dist/esm/log/log-organizer.d.ts.map +1 -0
  629. package/dist/esm/log/log-organizer.js +81 -0
  630. package/dist/esm/log/log-organizer.js.map +1 -0
  631. package/dist/esm/log/log.d.ts +20 -0
  632. package/dist/esm/log/log.d.ts.map +1 -0
  633. package/dist/esm/log/log.js +268 -0
  634. package/dist/esm/log/log.js.map +1 -0
  635. package/dist/esm/log/outputs/add-test-header.d.ts +14 -0
  636. package/dist/esm/log/outputs/add-test-header.d.ts.map +1 -0
  637. package/dist/esm/log/outputs/add-test-header.js +92 -0
  638. package/dist/esm/log/outputs/add-test-header.js.map +1 -0
  639. package/dist/esm/log/outputs/context.d.ts +73 -0
  640. package/dist/esm/log/outputs/context.d.ts.map +1 -0
  641. package/dist/esm/log/outputs/context.js +156 -0
  642. package/dist/esm/log/outputs/context.js.map +1 -0
  643. package/dist/esm/log/outputs/create-log-file-path.d.ts +6 -0
  644. package/dist/esm/log/outputs/create-log-file-path.d.ts.map +1 -0
  645. package/dist/esm/log/outputs/create-log-file-path.js +118 -0
  646. package/dist/esm/log/outputs/create-log-file-path.js.map +1 -0
  647. package/dist/esm/log/outputs/log-to-console.d.ts +4 -0
  648. package/dist/esm/log/outputs/log-to-console.d.ts.map +1 -0
  649. package/dist/esm/log/outputs/log-to-console.js +26 -0
  650. package/dist/esm/log/outputs/log-to-console.js.map +1 -0
  651. package/dist/esm/log/outputs/log-to-file.d.ts +23 -0
  652. package/dist/esm/log/outputs/log-to-file.d.ts.map +1 -0
  653. package/dist/esm/log/outputs/log-to-file.js +198 -0
  654. package/dist/esm/log/outputs/log-to-file.js.map +1 -0
  655. package/dist/esm/log/test-step.d.ts +42 -0
  656. package/dist/esm/log/test-step.d.ts.map +1 -0
  657. package/dist/esm/log/test-step.js +110 -0
  658. package/dist/esm/log/test-step.js.map +1 -0
  659. package/dist/esm/log/types.d.ts +81 -0
  660. package/dist/esm/log/types.d.ts.map +1 -0
  661. package/dist/esm/log/types.js +13 -0
  662. package/dist/esm/log/types.js.map +1 -0
  663. package/dist/esm/log/utils/async.d.ts +6 -0
  664. package/dist/esm/log/utils/async.d.ts.map +1 -0
  665. package/dist/esm/log/utils/async.js +15 -0
  666. package/dist/esm/log/utils/async.js.map +1 -0
  667. package/dist/esm/log/utils/flag.d.ts +12 -0
  668. package/dist/esm/log/utils/flag.d.ts.map +1 -0
  669. package/dist/esm/log/utils/flag.js +19 -0
  670. package/dist/esm/log/utils/flag.js.map +1 -0
  671. package/dist/esm/log/utils/options.d.ts +14 -0
  672. package/dist/esm/log/utils/options.d.ts.map +1 -0
  673. package/dist/esm/log/utils/options.js +86 -0
  674. package/dist/esm/log/utils/options.js.map +1 -0
  675. package/dist/esm/log/utils/playwright-step-utils.d.ts +5 -0
  676. package/dist/esm/log/utils/playwright-step-utils.d.ts.map +1 -0
  677. package/dist/esm/log/utils/playwright-step-utils.js +48 -0
  678. package/dist/esm/log/utils/playwright-step-utils.js.map +1 -0
  679. package/dist/esm/network-error-monitor/fixtures.d.ts +91 -0
  680. package/dist/esm/network-error-monitor/fixtures.d.ts.map +1 -0
  681. package/dist/esm/network-error-monitor/fixtures.js +299 -0
  682. package/dist/esm/network-error-monitor/fixtures.js.map +1 -0
  683. package/dist/esm/network-recorder/core/har-builder.d.ts +122 -0
  684. package/dist/esm/network-recorder/core/har-builder.d.ts.map +1 -0
  685. package/dist/esm/network-recorder/core/har-builder.js +159 -0
  686. package/dist/esm/network-recorder/core/har-builder.js.map +1 -0
  687. package/dist/esm/network-recorder/core/har-manager.d.ts +74 -0
  688. package/dist/esm/network-recorder/core/har-manager.d.ts.map +1 -0
  689. package/dist/esm/network-recorder/core/har-manager.js +243 -0
  690. package/dist/esm/network-recorder/core/har-manager.js.map +1 -0
  691. package/dist/esm/network-recorder/core/har-playback-handler.d.ts +10 -0
  692. package/dist/esm/network-recorder/core/har-playback-handler.d.ts.map +1 -0
  693. package/dist/esm/network-recorder/core/har-playback-handler.js +291 -0
  694. package/dist/esm/network-recorder/core/har-playback-handler.js.map +1 -0
  695. package/dist/esm/network-recorder/core/index.d.ts +9 -0
  696. package/dist/esm/network-recorder/core/index.d.ts.map +1 -0
  697. package/dist/esm/network-recorder/core/index.js +35 -0
  698. package/dist/esm/network-recorder/core/index.js.map +1 -0
  699. package/dist/esm/network-recorder/core/mode-detector.d.ts +64 -0
  700. package/dist/esm/network-recorder/core/mode-detector.d.ts.map +1 -0
  701. package/dist/esm/network-recorder/core/mode-detector.js +191 -0
  702. package/dist/esm/network-recorder/core/mode-detector.js.map +1 -0
  703. package/dist/esm/network-recorder/core/network-recorder.d.ts +90 -0
  704. package/dist/esm/network-recorder/core/network-recorder.d.ts.map +1 -0
  705. package/dist/esm/network-recorder/core/network-recorder.js +260 -0
  706. package/dist/esm/network-recorder/core/network-recorder.js.map +1 -0
  707. package/dist/esm/network-recorder/core/stateful-api-mock.d.ts +31 -0
  708. package/dist/esm/network-recorder/core/stateful-api-mock.d.ts.map +1 -0
  709. package/dist/esm/network-recorder/core/stateful-api-mock.js +160 -0
  710. package/dist/esm/network-recorder/core/stateful-api-mock.js.map +1 -0
  711. package/dist/esm/network-recorder/core/types.d.ts +192 -0
  712. package/dist/esm/network-recorder/core/types.d.ts.map +1 -0
  713. package/dist/esm/network-recorder/core/types.js +54 -0
  714. package/dist/esm/network-recorder/core/types.js.map +1 -0
  715. package/dist/esm/network-recorder/fixtures.d.ts +2 -0
  716. package/dist/esm/network-recorder/fixtures.d.ts.map +1 -0
  717. package/dist/esm/network-recorder/fixtures.js +6 -0
  718. package/dist/esm/network-recorder/fixtures.js.map +1 -0
  719. package/dist/esm/network-recorder/index.d.ts +6 -0
  720. package/dist/esm/network-recorder/index.d.ts.map +1 -0
  721. package/dist/esm/network-recorder/index.js +22 -0
  722. package/dist/esm/network-recorder/index.js.map +1 -0
  723. package/dist/esm/network-recorder/network-recorder-fixture.d.ts +78 -0
  724. package/dist/esm/network-recorder/network-recorder-fixture.d.ts.map +1 -0
  725. package/dist/esm/network-recorder/network-recorder-fixture.js +79 -0
  726. package/dist/esm/network-recorder/network-recorder-fixture.js.map +1 -0
  727. package/dist/esm/network-recorder/network-recorder.d.ts +11 -0
  728. package/dist/esm/network-recorder/network-recorder.d.ts.map +1 -0
  729. package/dist/esm/network-recorder/network-recorder.js +32 -0
  730. package/dist/esm/network-recorder/network-recorder.js.map +1 -0
  731. package/dist/esm/recurse/fixtures.d.ts +2 -0
  732. package/dist/esm/recurse/fixtures.d.ts.map +1 -0
  733. package/dist/esm/recurse/fixtures.js +6 -0
  734. package/dist/esm/recurse/fixtures.js.map +1 -0
  735. package/dist/esm/recurse/index.d.ts +2 -0
  736. package/dist/esm/recurse/index.d.ts.map +1 -0
  737. package/dist/esm/recurse/index.js +18 -0
  738. package/dist/esm/recurse/index.js.map +1 -0
  739. package/dist/esm/recurse/recurse-fixture.d.ts +35 -0
  740. package/dist/esm/recurse/recurse-fixture.d.ts.map +1 -0
  741. package/dist/esm/recurse/recurse-fixture.js +14 -0
  742. package/dist/esm/recurse/recurse-fixture.js.map +1 -0
  743. package/dist/esm/recurse/recurse.d.ts +108 -0
  744. package/dist/esm/recurse/recurse.d.ts.map +1 -0
  745. package/dist/esm/recurse/recurse.js +298 -0
  746. package/dist/esm/recurse/recurse.js.map +1 -0
  747. package/dist/types/api-request/api-request-fixture.d.ts +47 -0
  748. package/dist/types/api-request/api-request-fixture.d.ts.map +1 -0
  749. package/dist/types/api-request/api-request.d.ts +108 -0
  750. package/dist/types/api-request/api-request.d.ts.map +1 -0
  751. package/dist/types/api-request/fixtures.d.ts +3 -0
  752. package/dist/types/api-request/fixtures.d.ts.map +1 -0
  753. package/dist/types/api-request/index.d.ts +7 -0
  754. package/dist/types/api-request/index.d.ts.map +1 -0
  755. package/dist/types/api-request/schema-validation/core.d.ts +13 -0
  756. package/dist/types/api-request/schema-validation/core.d.ts.map +1 -0
  757. package/dist/types/api-request/schema-validation/fixture.d.ts +20 -0
  758. package/dist/types/api-request/schema-validation/fixture.d.ts.map +1 -0
  759. package/dist/types/api-request/schema-validation/index.d.ts +6 -0
  760. package/dist/types/api-request/schema-validation/index.d.ts.map +1 -0
  761. package/dist/types/api-request/schema-validation/internal/file-loader.d.ts +50 -0
  762. package/dist/types/api-request/schema-validation/internal/file-loader.d.ts.map +1 -0
  763. package/dist/types/api-request/schema-validation/internal/openapi-handler.d.ts +43 -0
  764. package/dist/types/api-request/schema-validation/internal/openapi-handler.d.ts.map +1 -0
  765. package/dist/types/api-request/schema-validation/internal/promise-extension.d.ts +10 -0
  766. package/dist/types/api-request/schema-validation/internal/promise-extension.d.ts.map +1 -0
  767. package/dist/types/api-request/schema-validation/internal/response-extension.d.ts +18 -0
  768. package/dist/types/api-request/schema-validation/internal/response-extension.d.ts.map +1 -0
  769. package/dist/types/api-request/schema-validation/internal/result-builder.d.ts +62 -0
  770. package/dist/types/api-request/schema-validation/internal/result-builder.d.ts.map +1 -0
  771. package/dist/types/api-request/schema-validation/internal/safe-error-serializer.d.ts +58 -0
  772. package/dist/types/api-request/schema-validation/internal/safe-error-serializer.d.ts.map +1 -0
  773. package/dist/types/api-request/schema-validation/internal/schema-processors.d.ts +38 -0
  774. package/dist/types/api-request/schema-validation/internal/schema-processors.d.ts.map +1 -0
  775. package/dist/types/api-request/schema-validation/internal/shape-validator.d.ts +96 -0
  776. package/dist/types/api-request/schema-validation/internal/shape-validator.d.ts.map +1 -0
  777. package/dist/types/api-request/schema-validation/internal/validation-engine.d.ts +63 -0
  778. package/dist/types/api-request/schema-validation/internal/validation-engine.d.ts.map +1 -0
  779. package/dist/types/api-request/schema-validation/types.d.ts +92 -0
  780. package/dist/types/api-request/schema-validation/types.d.ts.map +1 -0
  781. package/dist/types/api-request/ui-display.d.ts +42 -0
  782. package/dist/types/api-request/ui-display.d.ts.map +1 -0
  783. package/dist/types/auth-session/apply-user-cookies-to-browser-context.d.ts +17 -0
  784. package/dist/types/auth-session/apply-user-cookies-to-browser-context.d.ts.map +1 -0
  785. package/dist/types/auth-session/core.d.ts +56 -0
  786. package/dist/types/auth-session/core.d.ts.map +1 -0
  787. package/dist/types/auth-session/fixtures.d.ts +83 -0
  788. package/dist/types/auth-session/fixtures.d.ts.map +1 -0
  789. package/dist/types/auth-session/global-setup-helper.d.ts +18 -0
  790. package/dist/types/auth-session/global-setup-helper.d.ts.map +1 -0
  791. package/dist/types/auth-session/index.d.ts +15 -0
  792. package/dist/types/auth-session/index.d.ts.map +1 -0
  793. package/dist/types/auth-session/internal/auth-configure.d.ts +19 -0
  794. package/dist/types/auth-session/internal/auth-configure.d.ts.map +1 -0
  795. package/dist/types/auth-session/internal/auth-global-setup.d.ts +33 -0
  796. package/dist/types/auth-session/internal/auth-global-setup.d.ts.map +1 -0
  797. package/dist/types/auth-session/internal/auth-provider-validator.d.ts +36 -0
  798. package/dist/types/auth-session/internal/auth-provider-validator.d.ts.map +1 -0
  799. package/dist/types/auth-session/internal/auth-provider.d.ts +92 -0
  800. package/dist/types/auth-session/internal/auth-provider.d.ts.map +1 -0
  801. package/dist/types/auth-session/internal/auth-session.d.ts +76 -0
  802. package/dist/types/auth-session/internal/auth-session.d.ts.map +1 -0
  803. package/dist/types/auth-session/internal/auth-storage-utils.d.ts +62 -0
  804. package/dist/types/auth-session/internal/auth-storage-utils.d.ts.map +1 -0
  805. package/dist/types/auth-session/internal/cache-manager.d.ts +116 -0
  806. package/dist/types/auth-session/internal/cache-manager.d.ts.map +1 -0
  807. package/dist/types/auth-session/internal/types.d.ts +132 -0
  808. package/dist/types/auth-session/internal/types.d.ts.map +1 -0
  809. package/dist/types/burn-in/core/analyzer.d.ts +36 -0
  810. package/dist/types/burn-in/core/analyzer.d.ts.map +1 -0
  811. package/dist/types/burn-in/core/config.d.ts +4 -0
  812. package/dist/types/burn-in/core/config.d.ts.map +1 -0
  813. package/dist/types/burn-in/core/types.d.ts +24 -0
  814. package/dist/types/burn-in/core/types.d.ts.map +1 -0
  815. package/dist/types/burn-in/index.d.ts +3 -0
  816. package/dist/types/burn-in/index.d.ts.map +1 -0
  817. package/dist/types/burn-in/runner.d.ts +13 -0
  818. package/dist/types/burn-in/runner.d.ts.map +1 -0
  819. package/dist/types/file-utils/core/csv-reader.d.ts +35 -0
  820. package/dist/types/file-utils/core/csv-reader.d.ts.map +1 -0
  821. package/dist/types/file-utils/core/file-downloader.d.ts +19 -0
  822. package/dist/types/file-utils/core/file-downloader.d.ts.map +1 -0
  823. package/dist/types/file-utils/core/pdf-reader.d.ts +42 -0
  824. package/dist/types/file-utils/core/pdf-reader.d.ts.map +1 -0
  825. package/dist/types/file-utils/core/types.d.ts +138 -0
  826. package/dist/types/file-utils/core/types.d.ts.map +1 -0
  827. package/dist/types/file-utils/core/xlsx-reader.d.ts +31 -0
  828. package/dist/types/file-utils/core/xlsx-reader.d.ts.map +1 -0
  829. package/dist/types/file-utils/core/zip-reader.d.ts +26 -0
  830. package/dist/types/file-utils/core/zip-reader.d.ts.map +1 -0
  831. package/dist/types/file-utils/file-utils-fixture.d.ts +16 -0
  832. package/dist/types/file-utils/file-utils-fixture.d.ts.map +1 -0
  833. package/dist/types/file-utils/fixtures.d.ts +2 -0
  834. package/dist/types/file-utils/fixtures.d.ts.map +1 -0
  835. package/dist/types/file-utils/index.d.ts +9 -0
  836. package/dist/types/file-utils/index.d.ts.map +1 -0
  837. package/dist/types/index.d.ts +13 -0
  838. package/dist/types/index.d.ts.map +1 -0
  839. package/dist/types/intercept-network-call/core/fulfill-network-call.d.ts +10 -0
  840. package/dist/types/intercept-network-call/core/fulfill-network-call.d.ts.map +1 -0
  841. package/dist/types/intercept-network-call/core/observe-network-call.d.ts +4 -0
  842. package/dist/types/intercept-network-call/core/observe-network-call.d.ts.map +1 -0
  843. package/dist/types/intercept-network-call/core/types.d.ts +28 -0
  844. package/dist/types/intercept-network-call/core/types.d.ts.map +1 -0
  845. package/dist/types/intercept-network-call/core/utils/matches-request.d.ts +9 -0
  846. package/dist/types/intercept-network-call/core/utils/matches-request.d.ts.map +1 -0
  847. package/dist/types/intercept-network-call/fixtures.d.ts +2 -0
  848. package/dist/types/intercept-network-call/fixtures.d.ts.map +1 -0
  849. package/dist/types/intercept-network-call/index.d.ts +5 -0
  850. package/dist/types/intercept-network-call/index.d.ts.map +1 -0
  851. package/dist/types/intercept-network-call/intercept-network-call-fixture.d.ts +7 -0
  852. package/dist/types/intercept-network-call/intercept-network-call-fixture.d.ts.map +1 -0
  853. package/dist/types/intercept-network-call/intercept-network-call.d.ts +21 -0
  854. package/dist/types/intercept-network-call/intercept-network-call.d.ts.map +1 -0
  855. package/dist/types/internal/index.d.ts +2 -0
  856. package/dist/types/internal/index.d.ts.map +1 -0
  857. package/dist/types/internal/logger.d.ts +25 -0
  858. package/dist/types/internal/logger.d.ts.map +1 -0
  859. package/dist/types/log/config.d.ts +28 -0
  860. package/dist/types/log/config.d.ts.map +1 -0
  861. package/dist/types/log/fixtures.d.ts +2 -0
  862. package/dist/types/log/fixtures.d.ts.map +1 -0
  863. package/dist/types/log/formatters/colors.d.ts +13 -0
  864. package/dist/types/log/formatters/colors.d.ts.map +1 -0
  865. package/dist/types/log/formatters/format-message-base.d.ts +57 -0
  866. package/dist/types/log/formatters/format-message-base.d.ts.map +1 -0
  867. package/dist/types/log/formatters/format-message.d.ts +13 -0
  868. package/dist/types/log/formatters/format-message.d.ts.map +1 -0
  869. package/dist/types/log/index.d.ts +4 -0
  870. package/dist/types/log/index.d.ts.map +1 -0
  871. package/dist/types/log/log-fixture.d.ts +5 -0
  872. package/dist/types/log/log-fixture.d.ts.map +1 -0
  873. package/dist/types/log/log-organizer.d.ts +17 -0
  874. package/dist/types/log/log-organizer.d.ts.map +1 -0
  875. package/dist/types/log/log.d.ts +20 -0
  876. package/dist/types/log/log.d.ts.map +1 -0
  877. package/dist/types/log/outputs/add-test-header.d.ts +14 -0
  878. package/dist/types/log/outputs/add-test-header.d.ts.map +1 -0
  879. package/dist/types/log/outputs/context.d.ts +73 -0
  880. package/dist/types/log/outputs/context.d.ts.map +1 -0
  881. package/dist/types/log/outputs/create-log-file-path.d.ts +6 -0
  882. package/dist/types/log/outputs/create-log-file-path.d.ts.map +1 -0
  883. package/dist/types/log/outputs/log-to-console.d.ts +4 -0
  884. package/dist/types/log/outputs/log-to-console.d.ts.map +1 -0
  885. package/dist/types/log/outputs/log-to-file.d.ts +23 -0
  886. package/dist/types/log/outputs/log-to-file.d.ts.map +1 -0
  887. package/dist/types/log/test-step.d.ts +42 -0
  888. package/dist/types/log/test-step.d.ts.map +1 -0
  889. package/dist/types/log/types.d.ts +81 -0
  890. package/dist/types/log/types.d.ts.map +1 -0
  891. package/dist/types/log/utils/async.d.ts +6 -0
  892. package/dist/types/log/utils/async.d.ts.map +1 -0
  893. package/dist/types/log/utils/flag.d.ts +12 -0
  894. package/dist/types/log/utils/flag.d.ts.map +1 -0
  895. package/dist/types/log/utils/options.d.ts +14 -0
  896. package/dist/types/log/utils/options.d.ts.map +1 -0
  897. package/dist/types/log/utils/playwright-step-utils.d.ts +5 -0
  898. package/dist/types/log/utils/playwright-step-utils.d.ts.map +1 -0
  899. package/dist/types/network-error-monitor/fixtures.d.ts +91 -0
  900. package/dist/types/network-error-monitor/fixtures.d.ts.map +1 -0
  901. package/dist/types/network-recorder/core/har-builder.d.ts +122 -0
  902. package/dist/types/network-recorder/core/har-builder.d.ts.map +1 -0
  903. package/dist/types/network-recorder/core/har-manager.d.ts +74 -0
  904. package/dist/types/network-recorder/core/har-manager.d.ts.map +1 -0
  905. package/dist/types/network-recorder/core/har-playback-handler.d.ts +10 -0
  906. package/dist/types/network-recorder/core/har-playback-handler.d.ts.map +1 -0
  907. package/dist/types/network-recorder/core/index.d.ts +9 -0
  908. package/dist/types/network-recorder/core/index.d.ts.map +1 -0
  909. package/dist/types/network-recorder/core/mode-detector.d.ts +64 -0
  910. package/dist/types/network-recorder/core/mode-detector.d.ts.map +1 -0
  911. package/dist/types/network-recorder/core/network-recorder.d.ts +90 -0
  912. package/dist/types/network-recorder/core/network-recorder.d.ts.map +1 -0
  913. package/dist/types/network-recorder/core/stateful-api-mock.d.ts +31 -0
  914. package/dist/types/network-recorder/core/stateful-api-mock.d.ts.map +1 -0
  915. package/dist/types/network-recorder/core/types.d.ts +192 -0
  916. package/dist/types/network-recorder/core/types.d.ts.map +1 -0
  917. package/dist/types/network-recorder/fixtures.d.ts +2 -0
  918. package/dist/types/network-recorder/fixtures.d.ts.map +1 -0
  919. package/dist/types/network-recorder/index.d.ts +6 -0
  920. package/dist/types/network-recorder/index.d.ts.map +1 -0
  921. package/dist/types/network-recorder/network-recorder-fixture.d.ts +78 -0
  922. package/dist/types/network-recorder/network-recorder-fixture.d.ts.map +1 -0
  923. package/dist/types/network-recorder/network-recorder.d.ts +11 -0
  924. package/dist/types/network-recorder/network-recorder.d.ts.map +1 -0
  925. package/dist/types/recurse/fixtures.d.ts +2 -0
  926. package/dist/types/recurse/fixtures.d.ts.map +1 -0
  927. package/dist/types/recurse/index.d.ts +2 -0
  928. package/dist/types/recurse/index.d.ts.map +1 -0
  929. package/dist/types/recurse/recurse-fixture.d.ts +35 -0
  930. package/dist/types/recurse/recurse-fixture.d.ts.map +1 -0
  931. package/dist/types/recurse/recurse.d.ts +108 -0
  932. package/dist/types/recurse/recurse.d.ts.map +1 -0
  933. package/package.json +238 -0
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Custom error for timeout scenarios during polling
3
+ */
4
+ export declare class RecurseTimeoutError extends Error {
5
+ readonly timeout: number;
6
+ readonly iterations: number;
7
+ readonly lastValue?: unknown | undefined;
8
+ constructor(message: string, timeout: number, iterations: number, lastValue?: unknown | undefined);
9
+ }
10
+ /**
11
+ * Custom error for command execution failures during polling
12
+ */
13
+ export declare class RecurseCommandError extends Error {
14
+ readonly iteration: number;
15
+ readonly originalError?: Error | undefined;
16
+ constructor(message: string, iteration: number, originalError?: Error | undefined);
17
+ }
18
+ /**
19
+ * Custom error for predicate evaluation failures
20
+ */
21
+ export declare class RecursePredicateError extends Error {
22
+ readonly iteration: number;
23
+ readonly value?: unknown | undefined;
24
+ readonly originalError?: Error | undefined;
25
+ constructor(message: string, iteration: number, value?: unknown | undefined, originalError?: Error | undefined);
26
+ }
27
+ /**
28
+ * Custom error for internal state violations or programming bugs
29
+ */
30
+ export declare class RecurseInternalError extends Error {
31
+ readonly iteration: number;
32
+ readonly context?: string | undefined;
33
+ constructor(message: string, iteration: number, context?: string | undefined);
34
+ }
35
+ /** data passed to log function */
36
+ type RecurseLogData = {
37
+ value: any;
38
+ iteration: number;
39
+ elapsed: number;
40
+ timeout: number;
41
+ successful: boolean;
42
+ };
43
+ /** data passed to post function */
44
+ type RecursePostData<T> = {
45
+ value: T;
46
+ iteration: number;
47
+ elapsed: number;
48
+ timeout: number;
49
+ successful: boolean;
50
+ };
51
+ type RecurseOptions = {
52
+ timeout?: number;
53
+ interval?: number;
54
+ log?: boolean | string | ((value: any, data: RecurseLogData) => void);
55
+ error?: string;
56
+ post?: (data: RecursePostData<any>) => void | Promise<void>;
57
+ };
58
+ export type RecurseParams<T> = {
59
+ command: () => Promise<T>;
60
+ predicate: (value: T) => boolean | void;
61
+ options?: RecurseOptions;
62
+ };
63
+ /**
64
+ * Re-runs a function until the predicate returns true or timeout is reached
65
+ * Similar to cypress-recurse API but using Playwright's expect.poll
66
+ *
67
+ * @param command Function that returns a value to test
68
+ * @param predicate Function that tests the value and returns true when the condition is met
69
+ * @param options Configuration options
70
+ * @returns The value from the command function when predicate returns true
71
+ *
72
+ * @example
73
+ * // Poll until session becomes active
74
+ * test('wait for activation', async ({ recurse }) => {
75
+ * const session = await recurse(
76
+ * () => apiRequest({ method: 'GET', url: '/session' }),
77
+ * (response) => response.body.status === 'ACTIVE',
78
+ * { timeout: 60000, interval: 2000 }
79
+ * );
80
+ *
81
+ * expect(session.body.id).toBeDefined();
82
+ * });
83
+ *
84
+ * @example
85
+ * // Poll with custom logging
86
+ * test('custom logging', async ({ recurse }) => {
87
+ * await recurse(
88
+ * () => fetchData(),
89
+ * (data) => data.isReady,
90
+ * {
91
+ * log: 'Waiting for data to be ready',
92
+ * timeout: 15000
93
+ * }
94
+ * );
95
+ * });
96
+ */
97
+ /**
98
+ * Re-runs a function until the predicate returns true or timeout is reached
99
+ * This follows the cypress-recurse API but uses Playwright's expect.poll
100
+ *
101
+ * @param command Function that returns a value to test
102
+ * @param predicate Function that tests the value and returns true when the condition is met
103
+ * @param options Configuration options
104
+ * @returns The value from the command function when predicate returns true
105
+ */
106
+ export declare function recurse<T>(command: () => Promise<T>, predicate: (value: T) => boolean | void, options?: RecurseOptions): Promise<T>;
107
+ export {};
108
+ //# sourceMappingURL=recurse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recurse.d.ts","sourceRoot":"","sources":["../../../src/recurse/recurse.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;aAG1B,OAAO,EAAE,MAAM;aACf,UAAU,EAAE,MAAM;aAClB,SAAS,CAAC,EAAE,OAAO;gBAHnC,OAAO,EAAE,MAAM,EACC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,CAAC,EAAE,OAAO,YAAA;CAKtC;AAED;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;aAG1B,SAAS,EAAE,MAAM;aACjB,aAAa,CAAC,EAAE,KAAK;gBAF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AAI,EAAE,eAAe,CAAC,GAAG,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAC5D,CAAA;AAiPD,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC7B,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAA;IACzB,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,GAAG,IAAI,CAAA;IACvC,OAAO,CAAC,EAAE,cAAc,CAAA;CACzB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH;;;;;;;;GAQG;AACH,wBAAsB,OAAO,CAAC,CAAC,EAC7B,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACzB,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,GAAG,IAAI,EACvC,OAAO,GAAE,cAAmB,GAC3B,OAAO,CAAC,CAAC,CAAC,CAsBZ"}
@@ -0,0 +1,298 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecurseInternalError = exports.RecursePredicateError = exports.RecurseCommandError = exports.RecurseTimeoutError = void 0;
4
+ exports.recurse = recurse;
5
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6
+ // utilities for polling and retrying operations using Playwright's expect.poll mechanism
7
+ const test_1 = require("@playwright/test");
8
+ const internal_1 = require("../internal");
9
+ // =========================================================================
10
+ // Enhanced Error Types for Recurse Operations
11
+ // =========================================================================
12
+ /**
13
+ * Custom error for timeout scenarios during polling
14
+ */
15
+ class RecurseTimeoutError extends Error {
16
+ constructor(message, timeout, iterations, lastValue) {
17
+ super(message);
18
+ this.timeout = timeout;
19
+ this.iterations = iterations;
20
+ this.lastValue = lastValue;
21
+ this.name = 'RecurseTimeoutError';
22
+ }
23
+ }
24
+ exports.RecurseTimeoutError = RecurseTimeoutError;
25
+ /**
26
+ * Custom error for command execution failures during polling
27
+ */
28
+ class RecurseCommandError extends Error {
29
+ constructor(message, iteration, originalError) {
30
+ super(message);
31
+ this.iteration = iteration;
32
+ this.originalError = originalError;
33
+ this.name = 'RecurseCommandError';
34
+ }
35
+ }
36
+ exports.RecurseCommandError = RecurseCommandError;
37
+ /**
38
+ * Custom error for predicate evaluation failures
39
+ */
40
+ class RecursePredicateError extends Error {
41
+ constructor(message, iteration, value, originalError) {
42
+ super(message);
43
+ this.iteration = iteration;
44
+ this.value = value;
45
+ this.originalError = originalError;
46
+ this.name = 'RecursePredicateError';
47
+ }
48
+ }
49
+ exports.RecursePredicateError = RecursePredicateError;
50
+ /**
51
+ * Custom error for internal state violations or programming bugs
52
+ */
53
+ class RecurseInternalError extends Error {
54
+ constructor(message, iteration, context) {
55
+ super(message);
56
+ this.iteration = iteration;
57
+ this.context = context;
58
+ this.name = 'RecurseInternalError';
59
+ }
60
+ }
61
+ exports.RecurseInternalError = RecurseInternalError;
62
+ /** default options for the recurse function */
63
+ const RecurseDefaults = {
64
+ timeout: 30000, // 30 seconds
65
+ interval: 1000, // 1 second
66
+ log: false
67
+ };
68
+ /**
69
+ * Creates a state object with shared information for the polling operation
70
+ * @example
71
+ * const state = createPollingState(
72
+ * () => fetchData(),
73
+ * (data) => data.status === 'ready',
74
+ * { timeout: 5000, interval: 500 }
75
+ * )
76
+ */
77
+ const createPollingState = (command, predicate, options = {}) => ({
78
+ command,
79
+ predicate,
80
+ options,
81
+ timeout: options.timeout ?? RecurseDefaults.timeout,
82
+ interval: options.interval ?? RecurseDefaults.interval,
83
+ errorMessage: options.error ??
84
+ 'Recursion timed out without finding a value that satisfies the predicate',
85
+ startTime: Date.now(),
86
+ iteration: 0,
87
+ lastValue: null,
88
+ wasSuccessful: false
89
+ });
90
+ const getElapsedTime = (startTime) => Date.now() - startTime;
91
+ /**
92
+ * Logs attempts during polling with their status
93
+ * @example
94
+ * // logs: "Attempt #2 (1500ms): RETRY"
95
+ * await logAttempt(state, value, false)
96
+ *
97
+ * // logs: "Attempt #3 (2000ms): SUCCESS"
98
+ * await logAttempt(state, value, true)
99
+ */
100
+ const logAttempt = async (state, value, successful) => {
101
+ if (!state.options.log)
102
+ return;
103
+ const elapsed = getElapsedTime(state.startTime);
104
+ const { iteration, timeout } = state;
105
+ if (typeof state.options.log === 'function') {
106
+ state.options.log(value, {
107
+ value,
108
+ iteration,
109
+ elapsed,
110
+ timeout,
111
+ successful
112
+ });
113
+ }
114
+ if (typeof state.options.log === 'string') {
115
+ // For string logs, we don't log individual attempts
116
+ // The final success will be logged in logSuccess()
117
+ return;
118
+ }
119
+ if (successful) {
120
+ await (0, internal_1.getLogger)().success(`Attempt #${iteration} (${elapsed}ms): SUCCESS`);
121
+ }
122
+ else {
123
+ await (0, internal_1.getLogger)().info(`Attempt #${iteration} (${elapsed}ms): RETRY`);
124
+ }
125
+ };
126
+ /**
127
+ * Logs the beginning of a polling operation
128
+ * @example
129
+ * // logs: "Polling until condition is met (timeout: 30000ms, interval: 1000ms)"
130
+ * await logInitialStep(state)
131
+ */
132
+ const logInitialStep = async (state) => {
133
+ const { options, timeout, interval } = state;
134
+ if (options.log && typeof options.log === 'string') {
135
+ await (0, internal_1.getLogger)().step(`Polling: ${options.log}`);
136
+ }
137
+ else {
138
+ await (0, internal_1.getLogger)().step(`Polling until condition is met (timeout: ${timeout}ms, interval: ${interval}ms)`);
139
+ }
140
+ };
141
+ /**
142
+ * Logs the successful completion of a polling operation
143
+ * @example
144
+ * // logs: "Polling completed successfully after 3 iterations"
145
+ * await logSuccess(state)
146
+ */
147
+ const logSuccess = async (state) => {
148
+ const { options, iteration, wasSuccessful } = state;
149
+ if (!wasSuccessful || !options.log)
150
+ return;
151
+ if (typeof options.log === 'string') {
152
+ await (0, internal_1.getLogger)().step(`✅ ${options.log} - completed successfully after ${iteration} iterations`);
153
+ }
154
+ else {
155
+ await (0, internal_1.getLogger)().step(`✅ Polling completed successfully after ${iteration} iterations`);
156
+ }
157
+ };
158
+ /**
159
+ * Executes the post callback function if configured
160
+ * @example
161
+ * // Will call options.post with the result data
162
+ * await executePostCallback(state)
163
+ */
164
+ const executePostCallback = async (state) => {
165
+ const { options, wasSuccessful, lastValue, startTime, iteration, timeout } = state;
166
+ if (!options.post || !wasSuccessful || !lastValue)
167
+ return;
168
+ const elapsed = getElapsedTime(startTime);
169
+ const postData = {
170
+ value: lastValue,
171
+ iteration,
172
+ elapsed,
173
+ timeout,
174
+ successful: wasSuccessful
175
+ };
176
+ await options.post(postData);
177
+ };
178
+ /**
179
+ * Core polling implementation using Playwright's `expect.poll` with enhanced error handling
180
+ * https://playwright.dev/docs/test-assertions#expectpoll
181
+ * @example
182
+ * // Repeatedly calls the command function until predicate returns true
183
+ * await executePolling(state)
184
+ */
185
+ const executePolling = async (state) => {
186
+ try {
187
+ await test_1.expect
188
+ .poll(async () => {
189
+ state.iteration += 1;
190
+ let value;
191
+ try {
192
+ value = await state.command();
193
+ state.lastValue = value;
194
+ }
195
+ catch (error) {
196
+ const commandError = new RecurseCommandError(`Command failed on iteration ${state.iteration}`, state.iteration, error instanceof Error ? error : new Error(String(error)));
197
+ throw commandError;
198
+ }
199
+ let successful = false;
200
+ try {
201
+ // Handle both boolean returns and assertions that might throw
202
+ const result = state.predicate(value);
203
+ // If predicate doesn't return anything but has assertions,
204
+ // treat as true since it didn't throw
205
+ successful = result === undefined ? true : !!result;
206
+ }
207
+ catch (error) {
208
+ // If assertion fails, treat as false but store the error for potential debugging
209
+ successful = false;
210
+ // Only throw predicate errors if they seem unintentional (not assertion failures)
211
+ if (error instanceof Error && !error.message.includes('expect(')) {
212
+ throw new RecursePredicateError(`Predicate evaluation failed on iteration ${state.iteration}`, state.iteration, value, error);
213
+ }
214
+ }
215
+ await logAttempt(state, value, successful);
216
+ if (successful) {
217
+ state.wasSuccessful = true;
218
+ return true;
219
+ }
220
+ return false;
221
+ }, {
222
+ message: state.errorMessage,
223
+ timeout: state.timeout,
224
+ intervals: [state.interval]
225
+ })
226
+ .toBeTruthy();
227
+ }
228
+ catch (error) {
229
+ // Re-throw our custom errors
230
+ if (error instanceof RecurseCommandError ||
231
+ error instanceof RecursePredicateError) {
232
+ throw error;
233
+ }
234
+ // If Playwright's expect.poll times out, wrap it in our timeout error
235
+ if (error instanceof Error && error.message.includes('Timeout')) {
236
+ throw new RecurseTimeoutError(`${state.errorMessage} (${state.timeout}ms timeout exceeded)`, state.timeout, state.iteration, state.lastValue);
237
+ }
238
+ // Fallback for unexpected errors
239
+ throw error;
240
+ }
241
+ };
242
+ /**
243
+ * Re-runs a function until the predicate returns true or timeout is reached
244
+ * Similar to cypress-recurse API but using Playwright's expect.poll
245
+ *
246
+ * @param command Function that returns a value to test
247
+ * @param predicate Function that tests the value and returns true when the condition is met
248
+ * @param options Configuration options
249
+ * @returns The value from the command function when predicate returns true
250
+ *
251
+ * @example
252
+ * // Poll until session becomes active
253
+ * test('wait for activation', async ({ recurse }) => {
254
+ * const session = await recurse(
255
+ * () => apiRequest({ method: 'GET', url: '/session' }),
256
+ * (response) => response.body.status === 'ACTIVE',
257
+ * { timeout: 60000, interval: 2000 }
258
+ * );
259
+ *
260
+ * expect(session.body.id).toBeDefined();
261
+ * });
262
+ *
263
+ * @example
264
+ * // Poll with custom logging
265
+ * test('custom logging', async ({ recurse }) => {
266
+ * await recurse(
267
+ * () => fetchData(),
268
+ * (data) => data.isReady,
269
+ * {
270
+ * log: 'Waiting for data to be ready',
271
+ * timeout: 15000
272
+ * }
273
+ * );
274
+ * });
275
+ */
276
+ /**
277
+ * Re-runs a function until the predicate returns true or timeout is reached
278
+ * This follows the cypress-recurse API but uses Playwright's expect.poll
279
+ *
280
+ * @param command Function that returns a value to test
281
+ * @param predicate Function that tests the value and returns true when the condition is met
282
+ * @param options Configuration options
283
+ * @returns The value from the command function when predicate returns true
284
+ */
285
+ async function recurse(command, predicate, options = {}) {
286
+ // create the shared polling state
287
+ const state = createPollingState(command, predicate, options);
288
+ await logInitialStep(state);
289
+ await executePolling(state);
290
+ await logSuccess(state);
291
+ await executePostCallback(state);
292
+ // validate and return the result
293
+ if (!state.lastValue) {
294
+ throw new RecurseInternalError('Internal error: Recursion completed but no value was stored', state.iteration, 'This indicates a programming bug in the polling logic');
295
+ }
296
+ return state.lastValue;
297
+ }
298
+ //# sourceMappingURL=recurse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recurse.js","sourceRoot":"","sources":["../../../src/recurse/recurse.ts"],"names":[],"mappings":";;;AAoYA,0BA0BC;AA9ZD,uDAAuD;AACvD,yFAAyF;AACzF,2CAAyC;AACzC,0CAAuC;AAEvC,4EAA4E;AAC5E,8CAA8C;AAC9C,4EAA4E;AAE5E;;GAEG;AACH,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACE,OAAe,EACC,OAAe,EACf,UAAkB,EAClB,SAAmB;QAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;QAJE,YAAO,GAAP,OAAO,CAAQ;QACf,eAAU,GAAV,UAAU,CAAQ;QAClB,cAAS,GAAT,SAAS,CAAU;QAGnC,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAA;IACnC,CAAC;CACF;AAVD,kDAUC;AAED;;GAEG;AACH,MAAa,mBAAoB,SAAQ,KAAK;IAC5C,YACE,OAAe,EACC,SAAiB,EACjB,aAAqB;QAErC,KAAK,CAAC,OAAO,CAAC,CAAA;QAHE,cAAS,GAAT,SAAS,CAAQ;QACjB,kBAAa,GAAb,aAAa,CAAQ;QAGrC,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAA;IACnC,CAAC;CACF;AATD,kDASC;AAED;;GAEG;AACH,MAAa,qBAAsB,SAAQ,KAAK;IAC9C,YACE,OAAe,EACC,SAAiB,EACjB,KAAe,EACf,aAAqB;QAErC,KAAK,CAAC,OAAO,CAAC,CAAA;QAJE,cAAS,GAAT,SAAS,CAAQ;QACjB,UAAK,GAAL,KAAK,CAAU;QACf,kBAAa,GAAb,aAAa,CAAQ;QAGrC,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAA;IACrC,CAAC;CACF;AAVD,sDAU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} from './api-request';
2
+ import type { EnhancedApiPromise } from './schema-validation/internal/promise-extension';
3
+ /**
4
+ * Type for the apiRequest fixture parameters - exactly like ApiRequestParams but without the 'request' property
5
+ * which is handled internally by the fixture.
6
+ */
7
+ export type ApiRequestFixtureParams = Omit<ApiRequestParams, 'request'>;
8
+ export declare const test: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions & {
9
+ /**
10
+ * Simplified helper for making API requests and returning the status and JSON body.
11
+ * This helper automatically performs the request based on the provided method, path, body, and headers.
12
+ * It handles URL construction with proper slash handling and response parsing based on content type.
13
+ *
14
+ * IMPORTANT: When using the fixture version, you do NOT need to provide the 'request' parameter,
15
+ * as it's automatically injected by the fixture.
16
+ *
17
+ * @example
18
+ * // GET request to an endpoint
19
+ * test('fetch user data', async ({ apiRequest }) => {
20
+ * const { status, body } = await apiRequest<UserResponse>({
21
+ * method: 'GET',
22
+ * path: '/api/users/123', // Note: use 'path' not 'url'
23
+ * headers: { 'Authorization': 'Bearer token' }
24
+ * });
25
+ *
26
+ * expect(status).toBe(200);
27
+ * expect(body.name).toBe('John Doe');
28
+ * });
29
+ *
30
+ * @example
31
+ * // POST request with a body
32
+ * test('create new item', async ({ apiRequest }) => {
33
+ * const { status, body } = await apiRequest<CreateItemResponse>({
34
+ * method: 'POST',
35
+ * path: '/api/items', // Note: use 'path' not 'url'
36
+ * baseUrl: 'https://api.example.com', // override default baseURL
37
+ * body: { name: 'New Item', price: 19.99 },
38
+ * headers: { 'Content-Type': 'application/json' }
39
+ * });
40
+ *
41
+ * expect(status).toBe(201);
42
+ * expect(body.id).toBeDefined();
43
+ * });
44
+ */
45
+ apiRequest: <T = unknown>(params: ApiRequestFixtureParams) => EnhancedApiPromise<T>;
46
+ }, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions>;
47
+ //# sourceMappingURL=api-request-fixture.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-request-fixture.d.ts","sourceRoot":"","sources":["../../../src/api-request/api-request-fixture.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAA;AAExF;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAA;AAEvE,eAAO,MAAM,IAAI;IACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;gBACS,CAAC,CAAC,GAAG,OAAO,EACtB,MAAM,EAAE,uBAAuB,KAC5B,kBAAkB,CAAC,CAAC,CAAC;wGA+B1B,CAAA"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.test = void 0;
4
+ const test_1 = require("@playwright/test");
5
+ const api_request_1 = require("./api-request");
6
+ exports.test = test_1.test.extend({
7
+ apiRequest: async ({ request, baseURL, page }, use) => {
8
+ const apiRequest = ({ method, path, baseUrl, configBaseUrl = baseURL, body = null, headers, params, uiMode = false, testStep }) => {
9
+ return (0, api_request_1.apiRequest)({
10
+ request,
11
+ method,
12
+ path,
13
+ baseUrl,
14
+ configBaseUrl,
15
+ body,
16
+ headers,
17
+ params,
18
+ uiMode,
19
+ testStep,
20
+ page // Pass page context for UI mode
21
+ });
22
+ };
23
+ await use(apiRequest);
24
+ }
25
+ });
26
+ //# sourceMappingURL=api-request-fixture.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-request-fixture.js","sourceRoot":"","sources":["../../../src/api-request/api-request-fixture.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,+CAAgE;AAUnD,QAAA,IAAI,GAAG,WAAI,CAAC,MAAM,CAwC5B;IACD,UAAU,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;QACpD,MAAM,UAAU,GAAG,CAAc,EAC/B,MAAM,EACN,IAAI,EACJ,OAAO,EACP,aAAa,GAAG,OAAO,EACvB,IAAI,GAAG,IAAI,EACX,OAAO,EACP,MAAM,EACN,MAAM,GAAG,KAAK,EACd,QAAQ,EACgB,EAAyB,EAAE;YACnD,OAAO,IAAA,wBAAkB,EAAI;gBAC3B,OAAO;gBACP,MAAM;gBACN,IAAI;gBACJ,OAAO;gBACP,aAAa;gBACb,IAAI;gBACJ,OAAO;gBACP,MAAM;gBACN,MAAM;gBACN,QAAQ;gBACR,IAAI,CAAC,gCAAgC;aACtC,CAAC,CAAA;QACJ,CAAC,CAAA;QAED,MAAM,GAAG,CAAC,UAAU,CAAC,CAAA;IACvB,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,108 @@
1
+ import { type APIRequestContext, type Page } from '@playwright/test';
2
+ import { type EnhancedApiPromise } from './schema-validation/internal/promise-extension';
3
+ /** Retry configuration for API requests (like Cypress - only retries 5xx server errors, never 4xx client errors) */
4
+ export type ApiRetryConfig = {
5
+ /** Maximum number of retry attempts for server errors (default: 3) */
6
+ maxRetries?: number;
7
+ /** Initial delay between retries in milliseconds (default: 100ms) */
8
+ initialDelayMs?: number;
9
+ /** Exponential backoff multiplier (default: 2) */
10
+ backoffMultiplier?: number;
11
+ /** Maximum delay between retries in milliseconds (default: 5000ms) */
12
+ maxDelayMs?: number;
13
+ /** Whether to add random jitter to delays (default: true) */
14
+ enableJitter?: boolean;
15
+ /** Which status codes to retry (default: [500, 502, 503, 504] - only 5xx server errors) */
16
+ retryStatusCodes?: number[];
17
+ };
18
+ /** Custom error type for API request failures */
19
+ export declare class ApiRequestError extends Error {
20
+ readonly status: number;
21
+ readonly response?: unknown | undefined;
22
+ readonly attempt?: number | undefined;
23
+ constructor(message: string, status: number, response?: unknown | undefined, attempt?: number | undefined);
24
+ }
25
+ /** Network-level error for connection issues */
26
+ export declare class ApiNetworkError extends Error {
27
+ readonly originalError?: Error | undefined;
28
+ constructor(message: string, originalError?: Error | undefined);
29
+ }
30
+ export type ApiRequestParams = {
31
+ request: APIRequestContext;
32
+ method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
33
+ path: string;
34
+ baseUrl?: string;
35
+ configBaseUrl?: string;
36
+ body?: unknown;
37
+ headers?: Record<string, string>;
38
+ params?: Record<string, string | boolean | number>;
39
+ testStep?: boolean;
40
+ uiMode?: boolean;
41
+ page?: Page;
42
+ /** Retry configuration for handling failed requests (enabled by default like Cypress - set maxRetries: 0 to disable) */
43
+ retryConfig?: ApiRetryConfig;
44
+ };
45
+ export type ApiRequestResponse<T = unknown> = {
46
+ status: number;
47
+ body: T;
48
+ };
49
+ /**
50
+ * Simplified helper for making API requests and returning the status and JSON body.
51
+ * This helper automatically performs the request based on the provided method, path, body, and headers.
52
+ * It handles URL construction with proper slash handling and response parsing based on content type.
53
+ *
54
+ * @param {Object} params - The parameters for the request.
55
+ * @param {APIRequestContext} params.request - The Playwright request object, used to make the HTTP request.
56
+ * @param {string} params.method - The HTTP method to use (POST, GET, PUT, DELETE, PATCH, HEAD).
57
+ * @param {string} params.path - The path or endpoint to send the request to (e.g., '/api/users').
58
+ * @param {string} [params.baseUrl] - The base URL to prepend to the path (e.g., 'https://api.example.com').
59
+ * @param {string} [params.configBaseUrl] - Fallback base URL, typically from Playwright config.
60
+ * @param {unknown} [params.body=null] - The body to send with the request (for POST, PUT, and PATCH requests).
61
+ * @param {Record<string, string> | undefined} [params.headers] - The headers to include with the request.
62
+ * @param {Record<string, string | boolean | number> | undefined} [params.params] - Query parameters to include with the request.
63
+ * @returns {Promise<ApiRequestResponse<T>>} - An object containing the status code and the parsed response body.
64
+ * - `status`: The HTTP status code returned by the server.
65
+ * - `body`: The parsed response body from the server, typed as T.
66
+ *
67
+ * @example
68
+ * // GET request with default retry behavior (like Cypress - only retries 5xx server errors)
69
+ * test('fetch user data', async ({ apiRequest }) => {
70
+ * const { status, body } = await apiRequest<UserResponse>({
71
+ * method: 'GET',
72
+ * url: '/api/users/123',
73
+ * headers: { 'Authorization': 'Bearer token' }
74
+ * // Automatically retries 500, 502, 503, 504 errors (3 attempts with exponential backoff)
75
+ * // Never retries 4xx client errors (400, 401, 403, 404, etc.)
76
+ * });
77
+ *
78
+ * expect(status).toBe(200);
79
+ * expect(body.name).toBe('John Doe');
80
+ * });
81
+ *
82
+ * @example
83
+ * // 4xx errors fail immediately without retry (good for idempotency)
84
+ * test('handle validation error', async ({ apiRequest }) => {
85
+ * const { status, body } = await apiRequest({
86
+ * method: 'POST',
87
+ * url: '/api/users',
88
+ * body: { name: '' } // Invalid data
89
+ * // 400 Bad Request will NOT be retried - fails fast
90
+ * });
91
+ *
92
+ * expect(status).toBe(400);
93
+ * });
94
+ *
95
+ * @example
96
+ * // Disable retry when testing error scenarios
97
+ * test('test server error handling', async ({ apiRequest }) => {
98
+ * const { status } = await apiRequest({
99
+ * method: 'GET',
100
+ * url: '/api/fail-endpoint',
101
+ * retryConfig: { maxRetries: 0 } // Disable retry to test error handling
102
+ * });
103
+ *
104
+ * expect(status).toBe(500);
105
+ * });
106
+ */
107
+ export declare const apiRequest: <T = unknown>(options: ApiRequestParams) => EnhancedApiPromise<T>;
108
+ //# sourceMappingURL=api-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-request.d.ts","sourceRoot":"","sources":["../../../src/api-request/api-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAYpE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,gDAAgD,CAAA;AAEvD,oHAAoH;AACpH,MAAM,MAAM,cAAc,GAAG;IAC3B,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,sEAAs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