html-reporter 9.10.0 → 9.10.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 (398) hide show
  1. package/build/gemini.d.ts +2 -0
  2. package/{gemini.js → build/gemini.js} +1 -1
  3. package/build/gemini.js.map +1 -0
  4. package/build/hermione.d.ts +2 -0
  5. package/{hermione.js → build/hermione.js} +3 -21
  6. package/build/hermione.js.map +1 -0
  7. package/build/lib/cli-commands/gui.d.ts +2 -0
  8. package/{lib → build/lib}/cli-commands/gui.js +5 -7
  9. package/build/lib/cli-commands/gui.js.map +1 -0
  10. package/build/lib/cli-commands/index.d.ts +3 -0
  11. package/{lib → build/lib}/cli-commands/index.js +1 -1
  12. package/build/lib/cli-commands/index.js.map +1 -0
  13. package/build/lib/cli-commands/merge-reports.d.ts +2 -0
  14. package/{lib → build/lib}/cli-commands/merge-reports.js +11 -11
  15. package/build/lib/cli-commands/merge-reports.js.map +1 -0
  16. package/build/lib/cli-commands/remove-unused-screens/index.d.ts +2 -0
  17. package/{lib → build/lib}/cli-commands/remove-unused-screens/index.js +61 -110
  18. package/build/lib/cli-commands/remove-unused-screens/index.js.map +1 -0
  19. package/build/lib/cli-commands/remove-unused-screens/utils.d.ts +16 -0
  20. package/{lib → build/lib}/cli-commands/remove-unused-screens/utils.js +10 -48
  21. package/build/lib/cli-commands/remove-unused-screens/utils.js.map +1 -0
  22. package/build/lib/common-utils.d.ts +24 -0
  23. package/build/lib/common-utils.js +116 -0
  24. package/build/lib/common-utils.js.map +1 -0
  25. package/build/lib/config/custom-gui-asserts.d.ts +1 -0
  26. package/{lib → build/lib}/config/custom-gui-asserts.js +2 -12
  27. package/build/lib/config/custom-gui-asserts.js.map +1 -0
  28. package/build/lib/config/index.d.ts +21 -0
  29. package/{lib → build/lib}/config/index.js +7 -32
  30. package/build/lib/config/index.js.map +1 -0
  31. package/build/lib/constants/browser.d.ts +3 -0
  32. package/build/lib/constants/browser.js +5 -0
  33. package/build/lib/constants/browser.js.map +1 -0
  34. package/build/lib/constants/checked-statuses.d.ts +3 -0
  35. package/{lib → build/lib}/constants/checked-statuses.js +1 -1
  36. package/build/lib/constants/checked-statuses.js.map +1 -0
  37. package/build/lib/constants/database.d.ts +25 -0
  38. package/build/lib/constants/database.js +47 -0
  39. package/build/lib/constants/database.js.map +1 -0
  40. package/build/lib/constants/defaults.d.ts +18 -0
  41. package/{lib → build/lib}/constants/defaults.js +1 -2
  42. package/build/lib/constants/defaults.js.map +1 -0
  43. package/build/lib/constants/diff-modes.d.ts +53 -0
  44. package/{lib → build/lib}/constants/diff-modes.js +2 -0
  45. package/build/lib/constants/diff-modes.js.map +1 -0
  46. package/build/lib/constants/errors.d.ts +5 -0
  47. package/{lib → build/lib}/constants/errors.js +1 -1
  48. package/build/lib/constants/errors.js.map +1 -0
  49. package/build/lib/constants/expand-modes.d.ts +4 -0
  50. package/{lib → build/lib}/constants/expand-modes.js +1 -1
  51. package/build/lib/constants/expand-modes.js.map +1 -0
  52. package/build/lib/constants/extension-points.d.ts +4 -0
  53. package/build/lib/constants/extension-points.js +8 -0
  54. package/build/lib/constants/extension-points.js.map +1 -0
  55. package/build/lib/constants/group-tests.d.ts +7 -0
  56. package/{lib → build/lib}/constants/group-tests.js +2 -0
  57. package/build/lib/constants/group-tests.js.map +1 -0
  58. package/build/lib/constants/paths.d.ts +2 -0
  59. package/{lib → build/lib}/constants/paths.js +1 -1
  60. package/build/lib/constants/paths.js.map +1 -0
  61. package/build/lib/constants/plugin-events.d.ts +5 -0
  62. package/{lib → build/lib}/constants/plugin-events.js +2 -4
  63. package/build/lib/constants/plugin-events.js.map +1 -0
  64. package/build/lib/constants/save-formats.d.ts +1 -0
  65. package/{lib → build/lib}/constants/save-formats.js +1 -1
  66. package/build/lib/constants/save-formats.js.map +1 -0
  67. package/build/lib/constants/test-statuses.d.ts +8 -0
  68. package/{lib → build/lib}/constants/test-statuses.js +1 -1
  69. package/build/lib/constants/test-statuses.js.map +1 -0
  70. package/build/lib/constants/view-modes.d.ts +5 -0
  71. package/{lib → build/lib}/constants/view-modes.js +1 -1
  72. package/build/lib/constants/view-modes.js.map +1 -0
  73. package/build/lib/db-utils/client.d.ts +19 -0
  74. package/{lib → build/lib}/db-utils/client.js +18 -45
  75. package/build/lib/db-utils/client.js.map +1 -0
  76. package/build/lib/db-utils/common.d.ts +10 -0
  77. package/build/lib/db-utils/common.js +56 -0
  78. package/build/lib/db-utils/common.js.map +1 -0
  79. package/build/lib/db-utils/server.d.ts +16 -0
  80. package/{lib → build/lib}/db-utils/server.js +15 -41
  81. package/build/lib/db-utils/server.js.map +1 -0
  82. package/build/lib/gui/api/facade.d.ts +8 -0
  83. package/{lib → build/lib}/gui/api/facade.js +1 -4
  84. package/build/lib/gui/api/facade.js.map +1 -0
  85. package/build/lib/gui/api/index.d.ts +9 -0
  86. package/{lib → build/lib}/gui/api/index.js +1 -5
  87. package/build/lib/gui/api/index.js.map +1 -0
  88. package/build/lib/gui/app.d.ts +62 -0
  89. package/{lib → build/lib}/gui/app.js +2 -21
  90. package/build/lib/gui/app.js.map +1 -0
  91. package/build/lib/gui/constants/client-events.d.ts +6 -0
  92. package/{lib → build/lib}/gui/constants/client-events.js +1 -4
  93. package/build/lib/gui/constants/client-events.js.map +1 -0
  94. package/build/lib/gui/constants/custom-gui-control-types.d.ts +2 -0
  95. package/{lib → build/lib}/gui/constants/custom-gui-control-types.js +1 -1
  96. package/build/lib/gui/constants/custom-gui-control-types.js.map +1 -0
  97. package/build/lib/gui/constants/gui-events.d.ts +2 -0
  98. package/{lib → build/lib}/gui/constants/gui-events.js +1 -1
  99. package/build/lib/gui/constants/gui-events.js.map +1 -0
  100. package/build/lib/gui/constants/server.d.ts +3 -0
  101. package/{lib → build/lib}/gui/constants/server.js +1 -1
  102. package/build/lib/gui/constants/server.js.map +1 -0
  103. package/build/lib/gui/event-source.d.ts +6 -0
  104. package/{lib → build/lib}/gui/event-source.js +2 -5
  105. package/build/lib/gui/event-source.js.map +1 -0
  106. package/build/lib/gui/index.d.ts +12 -0
  107. package/build/lib/gui/index.js +22 -0
  108. package/build/lib/gui/index.js.map +1 -0
  109. package/build/lib/gui/routes/plugins.d.ts +2 -0
  110. package/{lib → build/lib}/gui/routes/plugins.js +9 -24
  111. package/build/lib/gui/routes/plugins.js.map +1 -0
  112. package/build/lib/gui/server.d.ts +8 -0
  113. package/{lib → build/lib}/gui/server.js +32 -51
  114. package/build/lib/gui/server.js.map +1 -0
  115. package/build/lib/gui/tool-runner/index.d.ts +123 -0
  116. package/{lib → build/lib}/gui/tool-runner/index.js +42 -122
  117. package/build/lib/gui/tool-runner/index.js.map +1 -0
  118. package/build/lib/gui/tool-runner/report-subscriber.d.ts +2 -0
  119. package/{lib → build/lib}/gui/tool-runner/report-subscriber.js +7 -30
  120. package/build/lib/gui/tool-runner/report-subscriber.js.map +1 -0
  121. package/build/lib/gui/tool-runner/runner/all-test-runner.d.ts +4 -0
  122. package/{lib → build/lib}/gui/tool-runner/runner/all-test-runner.js +1 -3
  123. package/build/lib/gui/tool-runner/runner/all-test-runner.js.map +1 -0
  124. package/build/lib/gui/tool-runner/runner/index.d.ts +3 -0
  125. package/{lib → build/lib}/gui/tool-runner/runner/index.js +1 -2
  126. package/build/lib/gui/tool-runner/runner/index.js.map +1 -0
  127. package/build/lib/gui/tool-runner/runner/runner.d.ts +6 -0
  128. package/{lib → build/lib}/gui/tool-runner/runner/runner.js +1 -2
  129. package/build/lib/gui/tool-runner/runner/runner.js.map +1 -0
  130. package/build/lib/gui/tool-runner/runner/specific-test-runner.d.ts +7 -0
  131. package/{lib → build/lib}/gui/tool-runner/runner/specific-test-runner.js +2 -8
  132. package/build/lib/gui/tool-runner/runner/specific-test-runner.js.map +1 -0
  133. package/build/lib/gui/tool-runner/utils.d.ts +7 -0
  134. package/{lib → build/lib}/gui/tool-runner/utils.js +11 -35
  135. package/build/lib/gui/tool-runner/utils.js.map +1 -0
  136. package/build/lib/history-utils.d.ts +1 -0
  137. package/{lib → build/lib}/history-utils.js +5 -20
  138. package/build/lib/history-utils.js.map +1 -0
  139. package/build/lib/local-images-saver.d.ts +4 -0
  140. package/build/lib/local-images-saver.js +9 -0
  141. package/build/lib/local-images-saver.js.map +1 -0
  142. package/build/lib/merge-reports/index.d.ts +4 -0
  143. package/{lib → build/lib}/merge-reports/index.js +3 -8
  144. package/build/lib/merge-reports/index.js.map +1 -0
  145. package/build/lib/plugin-adapter.d.ts +32 -0
  146. package/{lib → build/lib}/plugin-adapter.js +8 -25
  147. package/build/lib/plugin-adapter.js.map +1 -0
  148. package/build/lib/plugin-api.d.ts +57 -0
  149. package/{lib → build/lib}/plugin-api.js +2 -20
  150. package/build/lib/plugin-api.js.map +1 -0
  151. package/build/lib/plugin-utils.d.ts +3 -0
  152. package/{lib → build/lib}/plugin-utils.js +3 -5
  153. package/build/lib/plugin-utils.js.map +1 -0
  154. package/build/lib/report-builder/gui.d.ts +73 -0
  155. package/{lib → build/lib}/report-builder/gui.js +33 -92
  156. package/build/lib/report-builder/gui.js.map +1 -0
  157. package/build/lib/report-builder/static.d.ts +32 -0
  158. package/{lib → build/lib}/report-builder/static.js +25 -64
  159. package/build/lib/report-builder/static.js.map +1 -0
  160. package/build/lib/reporter-helpers.d.ts +3 -0
  161. package/{lib → build/lib}/reporter-helpers.js +2 -11
  162. package/build/lib/reporter-helpers.js.map +1 -0
  163. package/build/lib/server-utils.d.ts +42 -0
  164. package/{lib → build/lib}/server-utils.js +37 -92
  165. package/build/lib/server-utils.js.map +1 -0
  166. package/build/lib/sqlite-adapter.d.ts +78 -0
  167. package/{lib → build/lib}/sqlite-adapter.js +15 -56
  168. package/build/lib/sqlite-adapter.js.map +1 -0
  169. package/build/lib/static/gui.min.js +124 -0
  170. package/build/lib/static/modules/utils.d.ts +31 -0
  171. package/{lib → build/lib}/static/modules/utils.js +16 -56
  172. package/build/lib/static/modules/utils.js.map +1 -0
  173. package/build/lib/static/report.min.js +124 -0
  174. package/build/lib/suite-adapter.d.ts +15 -0
  175. package/{lib → build/lib}/suite-adapter.js +2 -18
  176. package/build/lib/suite-adapter.js.map +1 -0
  177. package/build/lib/test-adapter.d.ts +118 -0
  178. package/{lib → build/lib}/test-adapter.js +38 -156
  179. package/build/lib/test-adapter.js.map +1 -0
  180. package/build/lib/tests-tree-builder/base.d.ts +70 -0
  181. package/{lib → build/lib}/tests-tree-builder/base.js +34 -74
  182. package/build/lib/tests-tree-builder/base.js.map +1 -0
  183. package/build/lib/tests-tree-builder/gui.d.ts +47 -0
  184. package/{lib → build/lib}/tests-tree-builder/gui.js +12 -63
  185. package/build/lib/tests-tree-builder/gui.js.map +1 -0
  186. package/build/lib/tests-tree-builder/static.d.ts +55 -0
  187. package/{lib → build/lib}/tests-tree-builder/static.js +11 -42
  188. package/build/lib/tests-tree-builder/static.js.map +1 -0
  189. package/build/lib/workers/create-workers.d.ts +2 -0
  190. package/{lib → build/lib}/workers/create-workers.js +1 -2
  191. package/build/lib/workers/create-workers.js.map +1 -0
  192. package/build/lib/workers/worker.d.ts +1 -0
  193. package/build/lib/workers/worker.js +13 -0
  194. package/build/lib/workers/worker.js.map +1 -0
  195. package/build/package.json +178 -0
  196. package/package.json +44 -23
  197. package/CHANGELOG.md +0 -2896
  198. package/docs/en/html-reporter-api.md +0 -198
  199. package/docs/en/html-reporter-commands.md +0 -96
  200. package/docs/en/html-reporter-custom-gui.md +0 -99
  201. package/docs/en/html-reporter-events.md +0 -125
  202. package/docs/en/html-reporter-plugins.md +0 -265
  203. package/docs/en/html-reporter-setup.md +0 -378
  204. package/docs/en/html-reporter.md +0 -8
  205. package/docs/ru/html-reporter-api.md +0 -198
  206. package/docs/ru/html-reporter-commands.md +0 -96
  207. package/docs/ru/html-reporter-custom-gui.md +0 -99
  208. package/docs/ru/html-reporter-events.md +0 -125
  209. package/docs/ru/html-reporter-plugins.md +0 -265
  210. package/docs/ru/html-reporter-setup.md +0 -378
  211. package/docs/ru/html-reporter.md +0 -8
  212. package/lib/common-utils.js +0 -123
  213. package/lib/constants/browser.js +0 -3
  214. package/lib/constants/database.js +0 -49
  215. package/lib/constants/extension-points.js +0 -6
  216. package/lib/db-utils/common.js +0 -76
  217. package/lib/gui/index.js +0 -19
  218. package/lib/local-images-saver.js +0 -11
  219. package/lib/static/components/bottom-progress-bar/index.js +0 -42
  220. package/lib/static/components/bullet.js +0 -30
  221. package/lib/static/components/controls/accept-opened-button.js +0 -39
  222. package/lib/static/components/controls/base-host-input.js +0 -39
  223. package/lib/static/components/controls/browser-list/index.js +0 -239
  224. package/lib/static/components/controls/browser-list/index.styl +0 -52
  225. package/lib/static/components/controls/browser-list/label.js +0 -60
  226. package/lib/static/components/controls/browser-list/label.styl +0 -18
  227. package/lib/static/components/controls/browser-list/utils.js +0 -43
  228. package/lib/static/components/controls/common-controls.js +0 -75
  229. package/lib/static/components/controls/common-filters.js +0 -34
  230. package/lib/static/components/controls/control-button.js +0 -54
  231. package/lib/static/components/controls/controls.less +0 -109
  232. package/lib/static/components/controls/custom-gui-controls.js +0 -70
  233. package/lib/static/components/controls/find-same-diffs-button.js +0 -47
  234. package/lib/static/components/controls/gui-controls.js +0 -46
  235. package/lib/static/components/controls/menu-bar.js +0 -47
  236. package/lib/static/components/controls/report-controls.js +0 -21
  237. package/lib/static/components/controls/report-info.js +0 -31
  238. package/lib/static/components/controls/run-button/index.js +0 -129
  239. package/lib/static/components/controls/run-button/index.styl +0 -49
  240. package/lib/static/components/controls/selects/control.js +0 -51
  241. package/lib/static/components/controls/selects/group-tests.js +0 -94
  242. package/lib/static/components/controls/selects/index.styl +0 -57
  243. package/lib/static/components/controls/show-checkboxes-input.js +0 -24
  244. package/lib/static/components/controls/strict-match-filter-input.js +0 -39
  245. package/lib/static/components/controls/test-name-filter-input.js +0 -42
  246. package/lib/static/components/custom-scripts.js +0 -23
  247. package/lib/static/components/details.js +0 -58
  248. package/lib/static/components/error-boundary.js +0 -26
  249. package/lib/static/components/extension-point.js +0 -106
  250. package/lib/static/components/favicon-changer.js +0 -56
  251. package/lib/static/components/group-tests/item.js +0 -66
  252. package/lib/static/components/group-tests/list.js +0 -71
  253. package/lib/static/components/group-tests/prop-types.js +0 -12
  254. package/lib/static/components/gui.js +0 -105
  255. package/lib/static/components/header/header.css +0 -5
  256. package/lib/static/components/header/index.js +0 -26
  257. package/lib/static/components/header/summary/dbBtn.js +0 -36
  258. package/lib/static/components/header/summary/dbSummary.js +0 -49
  259. package/lib/static/components/header/summary/index.js +0 -43
  260. package/lib/static/components/header/summary/item.js +0 -28
  261. package/lib/static/components/header/summary/summary.css +0 -77
  262. package/lib/static/components/icons/arrow.js +0 -24
  263. package/lib/static/components/icons/arrows-close.js +0 -25
  264. package/lib/static/components/icons/arrows-move.js +0 -24
  265. package/lib/static/components/icons/arrows-open.js +0 -25
  266. package/lib/static/components/icons/view-in-browser/index.js +0 -59
  267. package/lib/static/components/icons/view-in-browser/index.styl +0 -28
  268. package/lib/static/components/loading.js +0 -25
  269. package/lib/static/components/main-tree.js +0 -23
  270. package/lib/static/components/modals/find-same-diffs.js +0 -34
  271. package/lib/static/components/modals/index.js +0 -6
  272. package/lib/static/components/modals/modal.css +0 -3
  273. package/lib/static/components/modals/modal.js +0 -27
  274. package/lib/static/components/modals/screenshot-accepter/body.js +0 -88
  275. package/lib/static/components/modals/screenshot-accepter/header.js +0 -192
  276. package/lib/static/components/modals/screenshot-accepter/index.js +0 -228
  277. package/lib/static/components/modals/screenshot-accepter/meta.js +0 -32
  278. package/lib/static/components/modals/screenshot-accepter/style.css +0 -115
  279. package/lib/static/components/popup/index.js +0 -89
  280. package/lib/static/components/popup/index.styl +0 -43
  281. package/lib/static/components/progress-bar/index.js +0 -13
  282. package/lib/static/components/progress-bar/index.styl +0 -24
  283. package/lib/static/components/report.js +0 -72
  284. package/lib/static/components/retry-switcher/index.js +0 -36
  285. package/lib/static/components/retry-switcher/item.js +0 -55
  286. package/lib/static/components/section/body/description.js +0 -24
  287. package/lib/static/components/section/body/history/index.js +0 -29
  288. package/lib/static/components/section/body/history/index.styl +0 -4
  289. package/lib/static/components/section/body/index.js +0 -114
  290. package/lib/static/components/section/body/meta-info/content.js +0 -114
  291. package/lib/static/components/section/body/meta-info/index.js +0 -33
  292. package/lib/static/components/section/body/result.js +0 -41
  293. package/lib/static/components/section/body/tabs.js +0 -52
  294. package/lib/static/components/section/section-browser.js +0 -113
  295. package/lib/static/components/section/section-common.js +0 -100
  296. package/lib/static/components/section/section-wrapper.js +0 -20
  297. package/lib/static/components/section/title/browser-skipped.js +0 -39
  298. package/lib/static/components/section/title/browser.js +0 -81
  299. package/lib/static/components/section/title/simple.js +0 -86
  300. package/lib/static/components/state/error-details.js +0 -18
  301. package/lib/static/components/state/index.js +0 -208
  302. package/lib/static/components/state/screenshot/diff-circle.js +0 -66
  303. package/lib/static/components/state/screenshot/full.js +0 -28
  304. package/lib/static/components/state/screenshot/resized.js +0 -90
  305. package/lib/static/components/state/screenshot/with-encode-uri.js +0 -44
  306. package/lib/static/components/state/screenshot/with-synced-scale.js +0 -116
  307. package/lib/static/components/state/state-error.js +0 -140
  308. package/lib/static/components/state/state-fail/index.js +0 -161
  309. package/lib/static/components/state/state-fail/index.styl +0 -31
  310. package/lib/static/components/state/state-fail/onion-skin-diff/index.js +0 -43
  311. package/lib/static/components/state/state-fail/onion-skin-diff/index.styl +0 -19
  312. package/lib/static/components/state/state-fail/prop-types.js +0 -16
  313. package/lib/static/components/state/state-fail/swipe-diff/index.js +0 -138
  314. package/lib/static/components/state/state-fail/swipe-diff/index.styl +0 -82
  315. package/lib/static/components/state/state-fail/switch-diff/index.js +0 -36
  316. package/lib/static/components/state/state-fail/switch-diff/index.styl +0 -12
  317. package/lib/static/components/state/state-fail/useFitImages.js +0 -63
  318. package/lib/static/components/state/state-success.js +0 -23
  319. package/lib/static/components/sticky-header/gui.js +0 -12
  320. package/lib/static/components/sticky-header/index.js +0 -36
  321. package/lib/static/components/sticky-header/index.styl +0 -37
  322. package/lib/static/components/sticky-header/report.js +0 -14
  323. package/lib/static/components/suites.js +0 -157
  324. package/lib/static/containers/array/array.styl +0 -32
  325. package/lib/static/containers/array/index.js +0 -61
  326. package/lib/static/containers/modal.js +0 -43
  327. package/lib/static/gui.css +0 -177
  328. package/lib/static/gui.js +0 -14
  329. package/lib/static/gui.min.js +0 -124
  330. package/lib/static/hooks/useElementSize.js +0 -30
  331. package/lib/static/hooks/useEventListener.js +0 -25
  332. package/lib/static/hooks/useLocalStorage.js +0 -39
  333. package/lib/static/hooks/useWindowSize.js +0 -25
  334. package/lib/static/index.js +0 -14
  335. package/lib/static/modules/action-names.js +0 -60
  336. package/lib/static/modules/actions.js +0 -335
  337. package/lib/static/modules/custom-queries.js +0 -27
  338. package/lib/static/modules/default-state.js +0 -84
  339. package/lib/static/modules/load-plugin.js +0 -109
  340. package/lib/static/modules/local-storage-wrapper.js +0 -54
  341. package/lib/static/modules/middlewares/local-storage.js +0 -30
  342. package/lib/static/modules/middlewares/metrika.js +0 -121
  343. package/lib/static/modules/plugins.js +0 -52
  344. package/lib/static/modules/query-params.js +0 -98
  345. package/lib/static/modules/reducers/api-values.js +0 -25
  346. package/lib/static/modules/reducers/auto-run.js +0 -14
  347. package/lib/static/modules/reducers/bottom-progress-bar.js +0 -16
  348. package/lib/static/modules/reducers/browsers.js +0 -43
  349. package/lib/static/modules/reducers/close-ids.js +0 -12
  350. package/lib/static/modules/reducers/config.js +0 -48
  351. package/lib/static/modules/reducers/date.js +0 -16
  352. package/lib/static/modules/reducers/db.js +0 -30
  353. package/lib/static/modules/reducers/fetch-db-details.js +0 -13
  354. package/lib/static/modules/reducers/grouped-tests/by/meta.js +0 -31
  355. package/lib/static/modules/reducers/grouped-tests/by/result.js +0 -57
  356. package/lib/static/modules/reducers/grouped-tests/helpers.js +0 -91
  357. package/lib/static/modules/reducers/grouped-tests/index.js +0 -52
  358. package/lib/static/modules/reducers/gui.js +0 -16
  359. package/lib/static/modules/reducers/index.js +0 -56
  360. package/lib/static/modules/reducers/loading.js +0 -12
  361. package/lib/static/modules/reducers/modals.js +0 -16
  362. package/lib/static/modules/reducers/notifications.js +0 -12
  363. package/lib/static/modules/reducers/plugins.js +0 -25
  364. package/lib/static/modules/reducers/processing.js +0 -21
  365. package/lib/static/modules/reducers/running.js +0 -19
  366. package/lib/static/modules/reducers/skips.js +0 -15
  367. package/lib/static/modules/reducers/stats.js +0 -21
  368. package/lib/static/modules/reducers/stopping.js +0 -16
  369. package/lib/static/modules/reducers/tree/helpers.js +0 -44
  370. package/lib/static/modules/reducers/tree/index.js +0 -369
  371. package/lib/static/modules/reducers/tree/nodes/browsers.js +0 -116
  372. package/lib/static/modules/reducers/tree/nodes/images.js +0 -59
  373. package/lib/static/modules/reducers/tree/nodes/results.js +0 -39
  374. package/lib/static/modules/reducers/tree/nodes/suites.js +0 -271
  375. package/lib/static/modules/reducers/view.js +0 -93
  376. package/lib/static/modules/selectors/grouped-tests.js +0 -8
  377. package/lib/static/modules/selectors/index.js +0 -3
  378. package/lib/static/modules/selectors/stats.js +0 -33
  379. package/lib/static/modules/selectors/tree.js +0 -269
  380. package/lib/static/modules/selectors/view.js +0 -5
  381. package/lib/static/modules/store.js +0 -25
  382. package/lib/static/modules/web-vitals.js +0 -13
  383. package/lib/static/modules/yandex-metrika.js +0 -50
  384. package/lib/static/report.min.js +0 -124
  385. package/lib/static/styles.css +0 -937
  386. package/lib/static/template.html +0 -13
  387. package/lib/workers/worker.js +0 -15
  388. package/webpack.common.js +0 -95
  389. package/webpack.dev.js +0 -25
  390. package/webpack.prod.js +0 -19
  391. /package/{lib → build/lib}/static/gui.html +0 -0
  392. /package/{lib → build/lib}/static/gui.min.css +0 -0
  393. /package/{lib → build/lib}/static/icons/favicon-failure.png +0 -0
  394. /package/{lib → build/lib}/static/icons/favicon-running.png +0 -0
  395. /package/{lib → build/lib}/static/icons/favicon-success.png +0 -0
  396. /package/{lib → build/lib}/static/icons/favicon.png +0 -0
  397. /package/{lib → build/lib}/static/index.html +0 -0
  398. /package/{lib → build/lib}/static/report.min.css +0 -0
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+ const DB_TYPES = { int: 'INT', text: 'TEXT' };
3
+ const DB_COLUMNS = {
4
+ SUITE_PATH: 'suitePath',
5
+ SUITE_NAME: 'suiteName',
6
+ NAME: 'name',
7
+ SUITE_URL: 'suiteUrl',
8
+ META_INFO: 'metaInfo',
9
+ HISTORY: 'history',
10
+ DESCRIPTION: 'description',
11
+ ERROR: 'error',
12
+ SKIP_REASON: 'skipReason',
13
+ IMAGES_INFO: 'imagesInfo',
14
+ SCREENSHOT: 'screenshot',
15
+ MULTIPLE_TABS: 'multipleTabs',
16
+ STATUS: 'status',
17
+ TIMESTAMP: 'timestamp'
18
+ };
19
+ const SUITES_TABLE_COLUMNS = [
20
+ { name: DB_COLUMNS.SUITE_PATH, type: DB_TYPES.text },
21
+ { name: DB_COLUMNS.SUITE_NAME, type: DB_TYPES.text },
22
+ { name: DB_COLUMNS.NAME, type: DB_TYPES.text },
23
+ { name: DB_COLUMNS.SUITE_URL, type: DB_TYPES.text },
24
+ { name: DB_COLUMNS.META_INFO, type: DB_TYPES.text },
25
+ { name: DB_COLUMNS.HISTORY, type: DB_TYPES.text },
26
+ { name: DB_COLUMNS.DESCRIPTION, type: DB_TYPES.text },
27
+ { name: DB_COLUMNS.ERROR, type: DB_TYPES.text },
28
+ { name: DB_COLUMNS.SKIP_REASON, type: DB_TYPES.text },
29
+ { name: DB_COLUMNS.IMAGES_INFO, type: DB_TYPES.text },
30
+ { name: DB_COLUMNS.SCREENSHOT, type: DB_TYPES.int },
31
+ { name: DB_COLUMNS.MULTIPLE_TABS, type: DB_TYPES.int },
32
+ { name: DB_COLUMNS.STATUS, type: DB_TYPES.text },
33
+ { name: DB_COLUMNS.TIMESTAMP, type: DB_TYPES.int }
34
+ ];
35
+ module.exports = {
36
+ DB_MAX_AVAILABLE_PAGE_SIZE: 65536,
37
+ DB_SUITES_TABLE_NAME: 'suites',
38
+ DB_COLUMNS,
39
+ SUITES_TABLE_COLUMNS,
40
+ LOCAL_DATABASE_NAME: 'sqlite.db',
41
+ DATABASE_URLS_JSON_NAME: 'databaseUrls.json',
42
+ DB_COLUMN_INDEXES: SUITES_TABLE_COLUMNS.reduce((acc, { name }, index) => {
43
+ acc[name] = index;
44
+ return acc;
45
+ }, {})
46
+ };
47
+ //# sourceMappingURL=database.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"database.js","sourceRoot":"","sources":["../../../lib/constants/database.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,QAAQ,GAAG,EAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;AAC5C,MAAM,UAAU,GAAG;IACf,UAAU,EAAE,WAAW;IACvB,UAAU,EAAE,WAAW;IACvB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,UAAU;IACrB,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,YAAY;IACzB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;CACzB,CAAC;AAEF,MAAM,oBAAoB,GAAG;IACzB,EAAC,IAAI,EAAE,UAAU,CAAC,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAC;IAClD,EAAC,IAAI,EAAE,UAAU,CAAC,UAAU,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAC;IAClD,EAAC,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAC;IAC5C,EAAC,IAAI,EAAE,UAAU,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAC;IACjD,EAAC,IAAI,EAAE,UAAU,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAC;IACjD,E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ErrorDetails: boolean;
4
+ let commandsWithShortHistory: never[];
5
+ let defaultView: string;
6
+ let diffMode: string;
7
+ let baseHost: string;
8
+ let lazyLoadOffset: null;
9
+ let errorPatterns: never[];
10
+ let metaInfoBaseUrls: {};
11
+ let customGui: {};
12
+ let customScripts: never[];
13
+ namespace yandexMetrika {
14
+ let counterNumber: null;
15
+ }
16
+ let pluginsEnabled: boolean;
17
+ let plugins: never[];
18
+ }
@@ -1,8 +1,6 @@
1
1
  'use strict';
2
-
3
2
  const diffModes = require('./diff-modes');
4
3
  const viewModes = require('./view-modes');
5
-
6
4
  module.exports = {
7
5
  CIRCLE_RADIUS: 150,
8
6
  config: {
@@ -23,3 +21,4 @@ module.exports = {
23
21
  plugins: []
24
22
  }
25
23
  };
24
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../lib/constants/defaults.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAC1C,MAAM,SAAS,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAE1C,MAAM,CAAC,OAAO,GAAG;IACb,aAAa,EAAE,GAAG;IAClB,MAAM,EAAE;QACJ,gBAAgB,EAAE,KAAK;QACvB,wBAAwB,EAAE,EAAE;QAC5B,WAAW,EAAE,SAAS,CAAC,GAAG;QAC1B,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE;QAC/B,QAAQ,EAAE,EAAE;QACZ,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,EAAE;QACjB,gBAAgB,EAAE,EAAE;QACpB,SAAS,EAAE,EAAE;QACb,aAAa,EAAE,EAAE;QACjB,aAAa,EAAE;YACX,aAAa,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,KAAK;QACrB,OAAO,EAAE,EAAE;KACd;CACJ,CAAC"}
@@ -0,0 +1,53 @@
1
+ export namespace THREE_UP {
2
+ let id: string;
3
+ let title: string;
4
+ let description: string;
5
+ }
6
+ export namespace THREE_UP_SCALED {
7
+ let id_1: string;
8
+ export { id_1 as id };
9
+ let title_1: string;
10
+ export { title_1 as title };
11
+ let description_1: string;
12
+ export { description_1 as description };
13
+ }
14
+ export namespace THREE_UP_SCALED_TO_FIT {
15
+ let id_2: string;
16
+ export { id_2 as id };
17
+ let title_2: string;
18
+ export { title_2 as title };
19
+ let description_2: string;
20
+ export { description_2 as description };
21
+ }
22
+ export namespace ONLY_DIFF {
23
+ let id_3: string;
24
+ export { id_3 as id };
25
+ let title_3: string;
26
+ export { title_3 as title };
27
+ let description_3: string;
28
+ export { description_3 as description };
29
+ }
30
+ export namespace SWITCH {
31
+ let id_4: string;
32
+ export { id_4 as id };
33
+ let title_4: string;
34
+ export { title_4 as title };
35
+ let description_4: string;
36
+ export { description_4 as description };
37
+ }
38
+ export namespace SWIPE {
39
+ let id_5: string;
40
+ export { id_5 as id };
41
+ let title_5: string;
42
+ export { title_5 as title };
43
+ let description_5: string;
44
+ export { description_5 as description };
45
+ }
46
+ export namespace ONION_SKIN {
47
+ let id_6: string;
48
+ export { id_6 as id };
49
+ let title_6: string;
50
+ export { title_6 as title };
51
+ let description_6: string;
52
+ export { description_6 as description };
53
+ }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  module.exports = {
2
3
  THREE_UP: {
3
4
  id: '3-up',
@@ -35,3 +36,4 @@ module.exports = {
35
36
  description: 'move slider'
36
37
  }
37
38
  };
39
+ //# sourceMappingURL=diff-modes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diff-modes.js","sourceRoot":"","sources":["../../../lib/constants/diff-modes.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACb,QAAQ,EAAE;QACN,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,kBAAkB;KAClC;IACD,eAAe,EAAE;QACb,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,sBAAsB;KACtC;IACD,sBAAsB,EAAE;QACpB,EAAE,EAAE,oBAAoB;QACxB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,wCAAwC;KACxD;IACD,SAAS,EAAE;QACP,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,sCAAsC;KACtD;IACD,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,0BAA0B;KAC1C;IACD,KAAK,EAAE;QACH,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,cAAc;KAC9B;IACD,UAAU,EAAE;QACR,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,aAAa;KAC7B;CACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ export function getCommonErrors(): {
2
+ NO_REF_IMAGE_ERROR: string;
3
+ ASSERT_VIEW_ERROR: string;
4
+ };
5
+ export let ERROR_TITLE_TEXT_LENGTH: number;
@@ -1,5 +1,4 @@
1
1
  'use strict';
2
-
3
2
  module.exports = {
4
3
  getCommonErrors: () => ({
5
4
  NO_REF_IMAGE_ERROR: 'NoRefImageError',
@@ -7,3 +6,4 @@ module.exports = {
7
6
  }),
8
7
  ERROR_TITLE_TEXT_LENGTH: 200
9
8
  };
9
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../lib/constants/errors.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,OAAO,GAAG;IACb,eAAe,EAAE,GAAG,EAAE,CAAC,CAAC;QACpB,kBAAkB,EAAE,iBAAiB;QACrC,iBAAiB,EAAE,iBAAiB;KACvC,CAAC;IACF,uBAAuB,EAAE,GAAG;CAC/B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export let EXPAND_ALL: string;
2
+ export let COLLAPSE_ALL: string;
3
+ export let EXPAND_ERRORS: string;
4
+ export let EXPAND_RETRIES: string;
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
-
3
2
  module.exports = {
4
3
  EXPAND_ALL: 'all',
5
4
  COLLAPSE_ALL: 'none',
6
5
  EXPAND_ERRORS: 'errors',
7
6
  EXPAND_RETRIES: 'retries'
8
7
  };
8
+ //# sourceMappingURL=expand-modes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expand-modes.js","sourceRoot":"","sources":["../../../lib/constants/expand-modes.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,OAAO,GAAG;IACb,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE,MAAM;IACpB,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,SAAS;CAC5B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export const RESULT: "result";
2
+ export const RESULT_META: "result_meta";
3
+ export const MENU_BAR: "menu-bar";
4
+ export const ROOT: "root";
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ROOT = exports.MENU_BAR = exports.RESULT_META = exports.RESULT = void 0;
4
+ exports.RESULT = 'result';
5
+ exports.RESULT_META = 'result_meta';
6
+ exports.MENU_BAR = 'menu-bar';
7
+ exports.ROOT = 'root';
8
+ //# sourceMappingURL=extension-points.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-points.js","sourceRoot":"","sources":["../../../lib/constants/extension-points.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAEA,QAAA,MAAM,GAAG,QAAQ,CAAC;AAClB,QAAA,WAAW,GAAG,aAAa,CAAC;AAC5B,QAAA,QAAQ,GAAG,UAAU,CAAC;AACtB,QAAA,IAAI,GAAG,MAAM,CAAC"}
@@ -0,0 +1,7 @@
1
+ export namespace SECTIONS {
2
+ let RESULT: string;
3
+ let META: string;
4
+ }
5
+ export const ERROR_KEY: "error";
6
+ export const RESULT_KEYS: "error"[];
7
+ export const KEY_DELIMITER: ".";
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  exports.SECTIONS = {
2
3
  RESULT: 'result',
3
4
  META: 'meta'
@@ -5,3 +6,4 @@ exports.SECTIONS = {
5
6
  exports.ERROR_KEY = 'error';
6
7
  exports.RESULT_KEYS = [exports.ERROR_KEY];
7
8
  exports.KEY_DELIMITER = '.';
9
+ //# sourceMappingURL=group-tests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-tests.js","sourceRoot":"","sources":["../../../lib/constants/group-tests.js"],"names":[],"mappings":";AAAA,OAAO,CAAC,QAAQ,GAAG;IACf,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACf,CAAC;AACF,OAAO,CAAC,SAAS,GAAG,OAAO,CAAC;AAC5B,OAAO,CAAC,WAAW,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAC1C,OAAO,CAAC,aAAa,GAAG,GAAG,CAAC"}
@@ -0,0 +1,2 @@
1
+ export let IMAGES_PATH: string;
2
+ export let ERROR_DETAILS_PATH: string;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
-
3
2
  module.exports = {
4
3
  IMAGES_PATH: 'images',
5
4
  ERROR_DETAILS_PATH: 'error-details'
6
5
  };
6
+ //# sourceMappingURL=paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../lib/constants/paths.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,OAAO,GAAG;IACb,WAAW,EAAE,QAAQ;IACrB,kBAAkB,EAAE,eAAe;CACtC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export function getSync(): {
2
+ DATABASE_CREATED: string;
3
+ TEST_SCREENSHOTS_SAVED: string;
4
+ REPORT_SAVED: string;
5
+ };
@@ -1,12 +1,10 @@
1
1
  'use strict';
2
-
3
2
  const getSyncEvents = () => ({
4
3
  DATABASE_CREATED: 'databaseCreated',
5
4
  TEST_SCREENSHOTS_SAVED: 'testScreenshotsSaved',
6
5
  REPORT_SAVED: 'reportSaved'
7
6
  });
8
-
9
7
  const events = getSyncEvents();
10
- Object.defineProperty(events, 'getSync', {value: getSyncEvents, enumerable: false});
11
-
8
+ Object.defineProperty(events, 'getSync', { value: getSyncEvents, enumerable: false });
12
9
  module.exports = events;
10
+ //# sourceMappingURL=plugin-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-events.js","sourceRoot":"","sources":["../../../lib/constants/plugin-events.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,CAAC;IACzB,gBAAgB,EAAE,iBAAiB;IACnC,sBAAsB,EAAE,sBAAsB;IAC9C,YAAY,EAAE,aAAa;CAC9B,CAAC,CAAC;AAEH,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;AAC/B,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,SAAS,EAAE,EAAC,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,KAAK,EAAC,CAAC,CAAC;AAEpF,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ export let SQLITE: string;
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
-
3
2
  module.exports = {
4
3
  SQLITE: 'sqlite'
5
4
  };
5
+ //# sourceMappingURL=save-formats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-formats.js","sourceRoot":"","sources":["../../../lib/constants/save-formats.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,OAAO,GAAG;IACb,MAAM,EAAE,QAAQ;CACnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export let IDLE: string;
2
+ export let QUEUED: string;
3
+ export let RUNNING: string;
4
+ export let SUCCESS: string;
5
+ export let FAIL: string;
6
+ export let ERROR: string;
7
+ export let SKIPPED: string;
8
+ export let UPDATED: string;
@@ -1,5 +1,4 @@
1
1
  'use strict';
2
-
3
2
  module.exports = {
4
3
  IDLE: 'idle',
5
4
  QUEUED: 'queued',
@@ -10,3 +9,4 @@ module.exports = {
10
9
  SKIPPED: 'skipped',
11
10
  UPDATED: 'updated'
12
11
  };
12
+ //# sourceMappingURL=test-statuses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-statuses.js","sourceRoot":"","sources":["../../../lib/constants/test-statuses.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,OAAO,GAAG;IACb,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export let ALL: string;
2
+ export let PASSED: string;
3
+ export let FAILED: string;
4
+ export let RETRIED: string;
5
+ export let SKIPPED: string;
@@ -1,5 +1,4 @@
1
1
  'use strict';
2
-
3
2
  module.exports = {
4
3
  ALL: 'all',
5
4
  PASSED: 'passed',
@@ -7,3 +6,4 @@ module.exports = {
7
6
  RETRIED: 'retried',
8
7
  SKIPPED: 'skipped'
9
8
  };
9
+ //# sourceMappingURL=view-modes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-modes.js","sourceRoot":"","sources":["../../../lib/constants/view-modes.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,OAAO,GAAG;IACb,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACrB,CAAC"}
@@ -0,0 +1,19 @@
1
+ declare const _exports: {
2
+ fetchDataFromDatabases: typeof fetchDataFromDatabases;
3
+ mergeDatabases: typeof mergeDatabases;
4
+ connectToDatabase: typeof connectToDatabase;
5
+ getMainDatabaseUrl: typeof getMainDatabaseUrl;
6
+ getSuitesTableRows: typeof getSuitesTableRows;
7
+ closeDatabase: typeof closeDatabase;
8
+ selectAllQuery: (tableName: any) => string;
9
+ selectAllSuitesQuery: () => string;
10
+ createTablesQuery: () => string[];
11
+ compareDatabaseRowsByTimestamp: (row1: any, row2: any) => number;
12
+ handleDatabases: (dbJsonUrls: any, opts?: {}) => Promise<any[]>;
13
+ mergeTables: ({ db, dbPaths, getExistingTables }: {
14
+ db: any;
15
+ dbPaths: any;
16
+ getExistingTables?: (() => void) | undefined;
17
+ }) => void;
18
+ };
19
+ export = _exports;
@@ -1,103 +1,75 @@
1
1
  'use strict';
2
2
  /* eslint-env browser */
3
-
4
- const {isEmpty} = require('lodash');
3
+ const { isEmpty } = require('lodash');
5
4
  const commonSqliteUtils = require('./common');
6
- const {fetchFile, normalizeUrls} = require('../common-utils');
7
-
8
- const {DB_SUITES_TABLE_NAME, LOCAL_DATABASE_NAME} = require('../constants/database');
9
-
5
+ const { fetchFile, normalizeUrls } = require('../common-utils');
6
+ const { DB_SUITES_TABLE_NAME, LOCAL_DATABASE_NAME } = require('../constants/database');
10
7
  function fetchDataFromDatabases(dbJsonUrls) {
11
8
  const loadDbJsonUrl = (dbJsonUrl) => fetchFile(dbJsonUrl);
12
9
  const prepareUrls = (urls, baseUrl) => normalizeUrls(urls, baseUrl);
13
-
14
10
  const formatData = (dbJsonUrl, jsonResponseStatus = 'unknown') => {
15
- return {url: dbJsonUrl, status: jsonResponseStatus, data: null};
11
+ return { url: dbJsonUrl, status: jsonResponseStatus, data: null };
16
12
  };
17
-
18
13
  const loadDbUrl = async (dbUrl) => {
19
- const {data, status} = await fetchFile(dbUrl, {responseType: 'arraybuffer'});
20
-
21
- return {url: dbUrl, status, data};
14
+ const { data, status } = await fetchFile(dbUrl, { responseType: 'arraybuffer' });
15
+ return { url: dbUrl, status, data };
22
16
  };
23
-
24
- return commonSqliteUtils.handleDatabases(dbJsonUrls, {loadDbJsonUrl, prepareUrls, formatData, loadDbUrl});
17
+ return commonSqliteUtils.handleDatabases(dbJsonUrls, { loadDbJsonUrl, prepareUrls, formatData, loadDbUrl });
25
18
  }
26
-
27
19
  async function mergeDatabases(dataForDbs) {
28
20
  const SQL = await window.initSqlJs();
29
-
30
21
  const fetchedDataArray = dataForDbs.map(data => new Uint8Array(data));
31
22
  const connections = fetchedDataArray.map(data => new SQL.Database(data));
32
-
33
23
  if (connections.length === 0) {
34
24
  return null;
35
- } else if (connections.length === 1) {
25
+ }
26
+ else if (connections.length === 1) {
36
27
  return connections[0];
37
28
  }
38
-
39
29
  const sumOfChunkSizes = fetchedDataArray.reduce((acc, data) => {
40
30
  return acc + data.length;
41
31
  }, 0);
42
-
43
32
  const mergedDbConnection = new SQL.Database(undefined, sumOfChunkSizes);
44
33
  const dbPaths = connections.map(db => db.filename);
45
-
46
- commonSqliteUtils.mergeTables({db: mergedDbConnection, dbPaths, getExistingTables: (statement) => {
47
- const tables = [];
48
-
49
- while (statement.step()) {
50
- tables.push(...statement.get());
51
- }
52
-
53
- return tables;
54
- }});
55
-
34
+ commonSqliteUtils.mergeTables({ db: mergedDbConnection, dbPaths, getExistingTables: (statement) => {
35
+ const tables = [];
36
+ while (statement.step()) {
37
+ tables.push(...statement.get());
38
+ }
39
+ return tables;
40
+ } });
56
41
  connections.forEach(db => db.close());
57
-
58
42
  return mergedDbConnection;
59
43
  }
60
-
61
44
  async function connectToDatabase(dbUrl) {
62
45
  const mainDatabaseUrl = new URL(dbUrl);
63
- const {data} = await fetchFile(mainDatabaseUrl.href, {
46
+ const { data } = await fetchFile(mainDatabaseUrl.href, {
64
47
  responseType: 'arraybuffer'
65
48
  });
66
-
67
49
  const SQL = await window.initSqlJs();
68
50
  return new SQL.Database(new Uint8Array(data));
69
51
  }
70
-
71
52
  function getMainDatabaseUrl() {
72
53
  return new URL(LOCAL_DATABASE_NAME, window.location.href);
73
54
  }
74
-
75
55
  function getSuitesTableRows(db) {
76
56
  const databaseRows = getTableRows(db, DB_SUITES_TABLE_NAME);
77
-
78
57
  if (isEmpty(databaseRows)) {
79
58
  return;
80
59
  }
81
-
82
60
  return databaseRows.values.sort(commonSqliteUtils.compareDatabaseRowsByTimestamp);
83
61
  }
84
-
85
62
  function getTableRows(db, tableName) {
86
63
  const [databaseRows] = db.exec(commonSqliteUtils.selectAllQuery(tableName));
87
-
88
64
  if (!databaseRows) {
89
65
  console.warn(`Table "${tableName}" is empty`);
90
-
91
66
  return [];
92
67
  }
93
-
94
68
  return databaseRows;
95
69
  }
96
-
97
70
  function closeDatabase(db) {
98
71
  db.close();
99
72
  }
100
-
101
73
  module.exports = {
102
74
  ...commonSqliteUtils,
103
75
  fetchDataFromDatabases,
@@ -107,3 +79,4 @@ module.exports = {
107
79
  getSuitesTableRows,
108
80
  closeDatabase
109
81
  };
82
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../lib/db-utils/client.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,wBAAwB;AAExB,MAAM,EAAC,OAAO,EAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AACpC,MAAM,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC9C,MAAM,EAAC,SAAS,EAAE,aAAa,EAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE9D,MAAM,EAAC,oBAAoB,EAAE,mBAAmB,EAAC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAErF,SAAS,sBAAsB,CAAC,UAAU;IACtC,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1D,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAEpE,MAAM,UAAU,GAAG,CAA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AAC,EAAE,EAAE,oBAAoB,CAAC,CAAC;IAE5D,IAAI,OAAO,CAAC,YAAY,CAAC,EAAE;QACvB,OAAO;KACV;IAED,OAAO,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,8BAA8B,CAAC,CAAC;AACtF,CAAC;AAED,SAAS,YAAY,CAAC,EAAE,EAAE,SAAS;IAC/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAAC;IAE5E,IAAI,CAAC,YAAY,EAAE;QACf,OAAO,CAAC,IAAI,CAAC,UAAU,SAAS,YAAY,CAAC,CAAC;QAE9C,OAAO,EAAE,CAAC;KACb;IAED,OAAO,YAAY,CAAC;AACxB,CAAC;AAED,SAAS,aAAa,CAAC,EAAE;IACrB,EAAE,CAAC,KAAK,EAAE,CAAC;AACf,CAAC;AAED,MAAM,CAAC,OAAO,GAAG;IACb,GAAG,iBAAiB;IACpB,sBAAsB;IACtB,cAAc;IACd,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,aAAa;CAChB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export function selectAllQuery(tableName: any): string;
2
+ export function selectAllSuitesQuery(): string;
3
+ export function createTablesQuery(): string[];
4
+ export function compareDatabaseRowsByTimestamp(row1: any, row2: any): number;
5
+ export function handleDatabases(dbJsonUrls: any, opts?: {}): Promise<any[]>;
6
+ export function mergeTables({ db, dbPaths, getExistingTables }: {
7
+ db: any;
8
+ dbPaths: any;
9
+ getExistingTables?: (() => void) | undefined;
10
+ }): void;
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+ const _ = require('lodash');
3
+ const { logger } = require('../common-utils');
4
+ const { DB_MAX_AVAILABLE_PAGE_SIZE, DB_SUITES_TABLE_NAME, SUITES_TABLE_COLUMNS, DB_COLUMN_INDEXES } = require('../constants/database');
5
+ exports.selectAllQuery = (tableName) => `SELECT * FROM ${tableName}`;
6
+ exports.selectAllSuitesQuery = () => exports.selectAllQuery(DB_SUITES_TABLE_NAME);
7
+ exports.createTablesQuery = () => [
8
+ createTableQuery(DB_SUITES_TABLE_NAME, SUITES_TABLE_COLUMNS)
9
+ ];
10
+ exports.compareDatabaseRowsByTimestamp = (row1, row2) => {
11
+ return row1[DB_COLUMN_INDEXES.timestamp] - row2[DB_COLUMN_INDEXES.timestamp];
12
+ };
13
+ exports.handleDatabases = async (dbJsonUrls, opts = {}) => {
14
+ return _.flattenDeep(await Promise.all(dbJsonUrls.map(async (dbJsonUrl) => {
15
+ try {
16
+ const currentJsonResponse = await opts.loadDbJsonUrl(dbJsonUrl);
17
+ if (!currentJsonResponse.data) {
18
+ logger.warn(`Cannot get data from ${dbJsonUrl}`);
19
+ return opts.formatData ? opts.formatData(dbJsonUrl, currentJsonResponse.status) : [];
20
+ }
21
+ // JSON format declare at lib/static/modules/actions.js
22
+ const { dbUrls, jsonUrls } = currentJsonResponse.data;
23
+ // paths from databaseUrls.json may be relative or absolute
24
+ const preparedDbUrls = opts.prepareUrls(dbUrls, dbJsonUrl);
25
+ const preparedDbJsonUrls = opts.prepareUrls(jsonUrls, dbJsonUrl);
26
+ return await Promise.all([
27
+ exports.handleDatabases(preparedDbJsonUrls, opts),
28
+ ...preparedDbUrls.map(dbUrl => opts.loadDbUrl(dbUrl, opts))
29
+ ]);
30
+ }
31
+ catch (e) {
32
+ logger.warn(`Error while downloading databases from ${dbJsonUrl}`, e);
33
+ return opts.formatData ? opts.formatData(dbJsonUrl) : [];
34
+ }
35
+ })));
36
+ };
37
+ exports.mergeTables = ({ db, dbPaths, getExistingTables = () => { } }) => {
38
+ db.prepare(`PRAGMA page_size = ${DB_MAX_AVAILABLE_PAGE_SIZE}`).run();
39
+ for (const dbPath of dbPaths) {
40
+ db.prepare(`ATTACH DATABASE '${dbPath}' AS attached`).run();
41
+ const getTablesStatement = db.prepare(`SELECT name FROM attached.sqlite_master WHERE type='table'`);
42
+ const tables = getExistingTables(getTablesStatement);
43
+ for (const tableName of tables) {
44
+ db.prepare(`CREATE TABLE IF NOT EXISTS ${tableName} AS SELECT * FROM attached.${tableName} LIMIT 0`).run();
45
+ db.prepare(`INSERT OR IGNORE INTO ${tableName} SELECT * FROM attached.${tableName}`).run();
46
+ }
47
+ db.prepare(`DETACH attached`).run();
48
+ }
49
+ };
50
+ function createTableQuery(tableName, columns) {
51
+ const formattedColumns = columns
52
+ .map(({ name, type }) => `${name} ${type}`)
53
+ .join(', ');
54
+ return `CREATE TABLE IF NOT EXISTS ${tableName} (${formattedColumns})`;
55
+ }
56
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../lib/db-utils/common.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,MAAM,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC5B,MAAM,EAAC,MAAM,EAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC5C,MAAM,EAAC,0BAA0B,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,iBAAiB,EAAC,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAErI,OAAO,CAAC,cAAc,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC,iBAAiB,SAAS,EAAE,CAAC;AACrE,OAAO,CAAC,oBAAoB,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAElF,OAAO,CAAC,iBAAiB,GAAG,GAAG,EAAE,CAAC;IAC9B,gBAAgB,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;CAC/D,CAAC;AAEF,OAAO,CAAC,8BAA8B,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE;IACpD,OAAO,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACjF,CAAC,CAAC;AAEF,OA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abases;
3
+ mergeDatabases: typeof mergeDatabases;
4
+ getTestsTreeFromDatabase: typeof getTestsTreeFromDatabase;
5
+ selectAllQuery: (tableName: any) => string;
6
+ selectAllSuitesQuery: () => string;
7
+ createTablesQuery: () => string[];
8
+ compareDatabaseRowsByTimestamp: (row1: any, row2: any) => number;
9
+ handleDatabases: (dbJsonUrls: any, opts?: {}) => Promise<any[]>;
10
+ mergeTables: ({ db, dbPaths, getExistingTables }: {
11
+ db: any;
12
+ dbPaths: any;
13
+ getExistingTables?: (() => void) | undefined;
14
+ }) => void;
15
+ };
16
+ export = _exports;