@thinkwise/testwise 0.1.75 → 0.1.97

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 (317) hide show
  1. package/Testwise.ts +13 -4
  2. package/components/BaseComponentObjects.ts +1 -1
  3. package/components/actionbar/Actionbar.ts +45 -38
  4. package/components/actionbar/ActionbarObjects.ts +53 -17
  5. package/components/actionbar/CustomActionBar.ts +10 -0
  6. package/components/cardlist/Cardlist.ts +14 -0
  7. package/components/cardlist/CardlistObjects.ts +5 -0
  8. package/components/chart/Chart.ts +14 -0
  9. package/components/chart/ChartObjects.ts +5 -0
  10. package/components/combined-filter/CombinedFIlterObjects.ts +5 -0
  11. package/components/combined-filter/CombinedFilter.ts +14 -0
  12. package/components/cube-view-bar/CubeViewBar.ts +14 -0
  13. package/components/cube-view-bar/CubeViewBarObjects.ts +5 -0
  14. package/components/filter/FilterForm.ts +11 -8
  15. package/components/filter/FilterFormObjects.ts +5 -0
  16. package/components/filter/FindForm.ts +2 -10
  17. package/components/grid/Grid.ts +4 -2
  18. package/components/grid/GridObjects.ts +1 -1
  19. package/components/index.ts +21 -2
  20. package/components/maps/Maps.ts +14 -0
  21. package/components/maps/MapsObjects.ts +5 -0
  22. package/components/menu/ListBarMenuComponent.ts +37 -0
  23. package/components/menu/ListBarMenuComponentObjects.ts +14 -0
  24. package/components/pivot-grid/PivotGrid.ts +14 -0
  25. package/components/pivot-grid/PivotGridFieldList.ts +14 -0
  26. package/components/pivot-grid/PivotGridFieldListObjects.ts +5 -0
  27. package/components/pivot-grid/PivotGridObjects.ts +5 -0
  28. package/components/pop-up/PopUpComponent.ts +7 -5
  29. package/components/pop-up/PopUpComponentObjects.ts +4 -5
  30. package/components/prefilter-list/PrefilterList.ts +14 -0
  31. package/components/prefilter-list/PrefilterListObjects.ts +5 -0
  32. package/components/preview/Preview.ts +14 -0
  33. package/components/preview/PreviewObjects.ts +5 -0
  34. package/components/report-bar/ReportBar.ts +14 -0
  35. package/components/report-bar/ReportBarObjects.ts +5 -0
  36. package/components/report-tiles/ReportTiles.ts +14 -0
  37. package/components/report-tiles/ReportTilesObjects.ts +5 -0
  38. package/components/scheduler/Scheduler.ts +14 -0
  39. package/components/scheduler/SchedulerObjects.ts +5 -0
  40. package/components/snackbar/SnackBar.ts +29 -0
  41. package/components/snackbar/SnackBarObjects.ts +14 -0
  42. package/components/splitter/Splitter.ts +11 -0
  43. package/components/splitter/SplitterObjects.ts +5 -0
  44. package/components/tab/ComponentTab.ts +5 -0
  45. package/components/tab/ComponentTabObjects.ts +3 -0
  46. package/components/tab/DetailTab.ts +1 -1
  47. package/components/tab/DetailTabObjects.ts +2 -1
  48. package/components/tab/Tab.ts +14 -0
  49. package/components/tab/TabObjects.ts +5 -0
  50. package/components/task/TaskTiles.ts +28 -0
  51. package/components/task/TaskTilesObjects.ts +24 -0
  52. package/components/topbar/TopBar.ts +14 -0
  53. package/components/topbar/TopBarObjects.ts +12 -0
  54. package/components/tree-view/TreeView.ts +14 -0
  55. package/components/tree-view/TreeViewObjects.ts +5 -0
  56. package/dist/Testwise.d.ts +2 -1
  57. package/dist/Testwise.js +14 -5
  58. package/dist/Testwise.js.map +1 -1
  59. package/dist/bdd.d.ts +6 -0
  60. package/dist/bdd.js +9 -0
  61. package/dist/bdd.js.map +1 -0
  62. package/dist/biome.json +1 -1
  63. package/dist/components/BaseComponentObjects.d.ts +1 -1
  64. package/dist/components/actionbar/Actionbar.d.ts +31 -26
  65. package/dist/components/actionbar/Actionbar.js +34 -26
  66. package/dist/components/actionbar/Actionbar.js.map +1 -1
  67. package/dist/components/actionbar/ActionbarObjects.d.ts +23 -11
  68. package/dist/components/actionbar/ActionbarObjects.js +30 -11
  69. package/dist/components/actionbar/ActionbarObjects.js.map +1 -1
  70. package/dist/components/actionbar/CustomActionBar.d.ts +5 -0
  71. package/dist/components/actionbar/CustomActionBar.js +7 -0
  72. package/dist/components/actionbar/CustomActionBar.js.map +1 -0
  73. package/dist/components/cardlist/Cardlist.d.ts +7 -0
  74. package/dist/components/cardlist/Cardlist.js +10 -0
  75. package/dist/components/cardlist/Cardlist.js.map +1 -0
  76. package/dist/components/cardlist/CardlistObjects.d.ts +3 -0
  77. package/dist/components/cardlist/CardlistObjects.js +4 -0
  78. package/dist/components/cardlist/CardlistObjects.js.map +1 -0
  79. package/dist/components/chart/Chart.d.ts +7 -0
  80. package/dist/components/chart/Chart.js +10 -0
  81. package/dist/components/chart/Chart.js.map +1 -0
  82. package/dist/components/chart/ChartObjects.d.ts +3 -0
  83. package/dist/components/chart/ChartObjects.js +4 -0
  84. package/dist/components/chart/ChartObjects.js.map +1 -0
  85. package/dist/components/combined-filter/CombinedFIlterObjects.d.ts +3 -0
  86. package/dist/components/combined-filter/CombinedFIlterObjects.js +4 -0
  87. package/dist/components/combined-filter/CombinedFIlterObjects.js.map +1 -0
  88. package/dist/components/combined-filter/CombinedFilter.d.ts +7 -0
  89. package/dist/components/combined-filter/CombinedFilter.js +10 -0
  90. package/dist/components/combined-filter/CombinedFilter.js.map +1 -0
  91. package/dist/components/cube-view-bar/CubeViewBar.d.ts +7 -0
  92. package/dist/components/cube-view-bar/CubeViewBar.js +10 -0
  93. package/dist/components/cube-view-bar/CubeViewBar.js.map +1 -0
  94. package/dist/components/cube-view-bar/CubeViewBarObjects.d.ts +3 -0
  95. package/dist/components/cube-view-bar/CubeViewBarObjects.js +4 -0
  96. package/dist/components/cube-view-bar/CubeViewBarObjects.js.map +1 -0
  97. package/dist/components/filter/FilterForm.d.ts +6 -4
  98. package/dist/components/filter/FilterForm.js +7 -7
  99. package/dist/components/filter/FilterForm.js.map +1 -1
  100. package/dist/components/filter/FilterFormObjects.d.ts +3 -0
  101. package/dist/components/filter/FilterFormObjects.js +4 -0
  102. package/dist/components/filter/FilterFormObjects.js.map +1 -0
  103. package/dist/components/filter/FindForm.d.ts +1 -4
  104. package/dist/components/filter/FindForm.js +1 -8
  105. package/dist/components/filter/FindForm.js.map +1 -1
  106. package/dist/components/grid/Grid.js +4 -1
  107. package/dist/components/grid/Grid.js.map +1 -1
  108. package/dist/components/grid/GridObjects.js +1 -1
  109. package/dist/components/grid/GridObjects.js.map +1 -1
  110. package/dist/components/index.d.ts +21 -2
  111. package/dist/components/index.js +21 -2
  112. package/dist/components/index.js.map +1 -1
  113. package/dist/components/maps/Maps.d.ts +7 -0
  114. package/dist/components/maps/Maps.js +10 -0
  115. package/dist/components/maps/Maps.js.map +1 -0
  116. package/dist/components/maps/MapsObjects.d.ts +3 -0
  117. package/dist/components/maps/MapsObjects.js +4 -0
  118. package/dist/components/maps/MapsObjects.js.map +1 -0
  119. package/dist/components/menu/ListBarMenuComponent.d.ts +10 -0
  120. package/dist/components/menu/ListBarMenuComponent.js +29 -0
  121. package/dist/components/menu/ListBarMenuComponent.js.map +1 -0
  122. package/dist/components/menu/ListBarMenuComponentObjects.d.ts +7 -0
  123. package/dist/components/menu/ListBarMenuComponentObjects.js +8 -0
  124. package/dist/components/menu/ListBarMenuComponentObjects.js.map +1 -0
  125. package/dist/components/pivot-grid/PivotGrid.d.ts +7 -0
  126. package/dist/components/pivot-grid/PivotGrid.js +10 -0
  127. package/dist/components/pivot-grid/PivotGrid.js.map +1 -0
  128. package/dist/components/pivot-grid/PivotGridFieldList.d.ts +7 -0
  129. package/dist/components/pivot-grid/PivotGridFieldList.js +10 -0
  130. package/dist/components/pivot-grid/PivotGridFieldList.js.map +1 -0
  131. package/dist/components/pivot-grid/PivotGridFieldListObjects.d.ts +3 -0
  132. package/dist/components/pivot-grid/PivotGridFieldListObjects.js +4 -0
  133. package/dist/components/pivot-grid/PivotGridFieldListObjects.js.map +1 -0
  134. package/dist/components/pivot-grid/PivotGridObjects.d.ts +3 -0
  135. package/dist/components/pivot-grid/PivotGridObjects.js +4 -0
  136. package/dist/components/pivot-grid/PivotGridObjects.js.map +1 -0
  137. package/dist/components/pop-up/PopUpComponent.d.ts +5 -5
  138. package/dist/components/pop-up/PopUpComponent.js +6 -4
  139. package/dist/components/pop-up/PopUpComponent.js.map +1 -1
  140. package/dist/components/pop-up/PopUpComponentObjects.d.ts +3 -4
  141. package/dist/components/pop-up/PopUpComponentObjects.js +3 -4
  142. package/dist/components/pop-up/PopUpComponentObjects.js.map +1 -1
  143. package/dist/components/prefilter-list/PrefilterList.d.ts +7 -0
  144. package/dist/components/prefilter-list/PrefilterList.js +10 -0
  145. package/dist/components/prefilter-list/PrefilterList.js.map +1 -0
  146. package/dist/components/prefilter-list/PrefilterListObjects.d.ts +3 -0
  147. package/dist/components/prefilter-list/PrefilterListObjects.js +4 -0
  148. package/dist/components/prefilter-list/PrefilterListObjects.js.map +1 -0
  149. package/dist/components/preview/Preview.d.ts +7 -0
  150. package/dist/components/preview/Preview.js +10 -0
  151. package/dist/components/preview/Preview.js.map +1 -0
  152. package/dist/components/preview/PreviewObjects.d.ts +3 -0
  153. package/dist/components/preview/PreviewObjects.js +4 -0
  154. package/dist/components/preview/PreviewObjects.js.map +1 -0
  155. package/dist/components/report-bar/ReportBar.d.ts +7 -0
  156. package/dist/components/report-bar/ReportBar.js +10 -0
  157. package/dist/components/report-bar/ReportBar.js.map +1 -0
  158. package/dist/components/report-bar/ReportBarObjects.d.ts +3 -0
  159. package/dist/components/report-bar/ReportBarObjects.js +4 -0
  160. package/dist/components/report-bar/ReportBarObjects.js.map +1 -0
  161. package/dist/components/report-tiles/ReportTiles.d.ts +7 -0
  162. package/dist/components/report-tiles/ReportTiles.js +10 -0
  163. package/dist/components/report-tiles/ReportTiles.js.map +1 -0
  164. package/dist/components/report-tiles/ReportTilesObjects.d.ts +3 -0
  165. package/dist/components/report-tiles/ReportTilesObjects.js +4 -0
  166. package/dist/components/report-tiles/ReportTilesObjects.js.map +1 -0
  167. package/dist/components/scheduler/Scheduler.d.ts +7 -0
  168. package/dist/components/scheduler/Scheduler.js +10 -0
  169. package/dist/components/scheduler/Scheduler.js.map +1 -0
  170. package/dist/components/scheduler/SchedulerObjects.d.ts +3 -0
  171. package/dist/components/scheduler/SchedulerObjects.js +4 -0
  172. package/dist/components/scheduler/SchedulerObjects.js.map +1 -0
  173. package/dist/components/snackbar/SnackBar.d.ts +10 -0
  174. package/dist/components/snackbar/SnackBar.js +21 -0
  175. package/dist/components/snackbar/SnackBar.js.map +1 -0
  176. package/dist/components/snackbar/SnackBarObjects.d.ts +8 -0
  177. package/dist/components/snackbar/SnackBarObjects.js +10 -0
  178. package/dist/components/snackbar/SnackBarObjects.js.map +1 -0
  179. package/dist/components/splitter/Splitter.d.ts +6 -0
  180. package/dist/components/splitter/Splitter.js +8 -0
  181. package/dist/components/splitter/Splitter.js.map +1 -0
  182. package/dist/components/splitter/SplitterObjects.d.ts +3 -0
  183. package/dist/components/splitter/SplitterObjects.js +4 -0
  184. package/dist/components/splitter/SplitterObjects.js.map +1 -0
  185. package/dist/components/tab/ComponentTab.d.ts +1 -0
  186. package/dist/components/tab/ComponentTab.js +4 -0
  187. package/dist/components/tab/ComponentTab.js.map +1 -1
  188. package/dist/components/tab/ComponentTabObjects.d.ts +1 -0
  189. package/dist/components/tab/ComponentTabObjects.js +1 -0
  190. package/dist/components/tab/ComponentTabObjects.js.map +1 -1
  191. package/dist/components/tab/DetailTab.js +1 -1
  192. package/dist/components/tab/DetailTab.js.map +1 -1
  193. package/dist/components/tab/DetailTabObjects.d.ts +1 -0
  194. package/dist/components/tab/DetailTabObjects.js +1 -0
  195. package/dist/components/tab/DetailTabObjects.js.map +1 -1
  196. package/dist/components/tab/Tab.d.ts +7 -0
  197. package/dist/components/tab/Tab.js +10 -0
  198. package/dist/components/tab/Tab.js.map +1 -0
  199. package/dist/components/tab/TabObjects.d.ts +3 -0
  200. package/dist/components/tab/TabObjects.js +4 -0
  201. package/dist/components/tab/TabObjects.js.map +1 -0
  202. package/dist/components/task/{TaskTile.d.ts → TaskTiles.d.ts} +4 -4
  203. package/dist/components/task/TaskTiles.js +20 -0
  204. package/dist/components/task/TaskTiles.js.map +1 -0
  205. package/dist/components/task/{TaskTileObjects.d.ts → TaskTilesObjects.d.ts} +1 -1
  206. package/dist/components/task/TaskTilesObjects.js +18 -0
  207. package/dist/components/task/TaskTilesObjects.js.map +1 -0
  208. package/dist/components/topbar/TopBar.d.ts +7 -0
  209. package/dist/components/topbar/TopBar.js +9 -0
  210. package/dist/components/topbar/TopBar.js.map +1 -0
  211. package/dist/components/topbar/TopBarObjects.d.ts +7 -0
  212. package/dist/components/topbar/TopBarObjects.js +9 -0
  213. package/dist/components/topbar/TopBarObjects.js.map +1 -0
  214. package/dist/components/tree-view/TreeView.d.ts +7 -0
  215. package/dist/components/tree-view/TreeView.js +10 -0
  216. package/dist/components/tree-view/TreeView.js.map +1 -0
  217. package/dist/components/tree-view/TreeViewObjects.d.ts +3 -0
  218. package/dist/components/tree-view/TreeViewObjects.js +4 -0
  219. package/dist/components/tree-view/TreeViewObjects.js.map +1 -0
  220. package/dist/helpers/TestExtensions.d.ts +8 -0
  221. package/dist/helpers/TestExtensions.js +21 -0
  222. package/dist/helpers/TestExtensions.js.map +1 -0
  223. package/dist/interfaces/IComponentObjects.js.map +1 -0
  224. package/dist/interfaces/IStoredTestResults.d.ts +5 -0
  225. package/dist/interfaces/IStoredTestResults.js +2 -0
  226. package/dist/interfaces/IStoredTestResults.js.map +1 -0
  227. package/dist/package-lock.json +411 -615
  228. package/dist/package.json +3 -2
  229. package/dist/page-extensions/GlobalComponents.d.ts +5 -2
  230. package/dist/page-extensions/GlobalComponents.js +4 -1
  231. package/dist/page-extensions/GlobalComponents.js.map +1 -1
  232. package/dist/page-extensions/GoToDeepLink.d.ts +1 -1
  233. package/dist/page-extensions/LoginFeatures.d.ts +1 -1
  234. package/dist/page-extensions/UserSimulation.d.ts +1 -1
  235. package/dist/page-extensions/WaitEventHandler.d.ts +1 -1
  236. package/dist/page-overrides/ClickOverride.d.ts +1 -1
  237. package/dist/page-overrides/FillOverride.d.ts +1 -1
  238. package/dist/page-overrides/FillOverride.js +7 -6
  239. package/dist/page-overrides/FillOverride.js.map +1 -1
  240. package/dist/services/ReportingService.js.map +1 -1
  241. package/dist/types/Test.js +2 -0
  242. package/dist/types/Test.js.map +1 -0
  243. package/dist/types/index.d.ts +1 -1
  244. package/dist/types/index.js +1 -1
  245. package/dist/types/index.js.map +1 -1
  246. package/interfaces/IStoredTestResults.ts +6 -0
  247. package/package.json +3 -2
  248. package/page-extensions/GlobalComponents.ts +14 -2
  249. package/page-extensions/GoToDeepLink.ts +1 -1
  250. package/page-extensions/LoginFeatures.ts +1 -1
  251. package/page-extensions/UserSimulation.ts +1 -1
  252. package/page-extensions/WaitEventHandler.ts +1 -1
  253. package/page-overrides/ClickOverride.ts +1 -1
  254. package/page-overrides/FillOverride.ts +10 -7
  255. package/promptCredentials.js +124 -124
  256. package/scripts/setup.js +34 -34
  257. package/services/ReportingService.ts +2 -6
  258. package/types/index.ts +1 -1
  259. package/components/BaseComponent.ts +0 -95
  260. package/components/Splitter.ts +0 -11
  261. package/components/TSFComponent.ts +0 -8
  262. package/components/task/TaskTile.ts +0 -28
  263. package/components/task/TaskTileObjects.ts +0 -20
  264. package/dist/components/BaseComponent.d.ts +0 -29
  265. package/dist/components/BaseComponent.js +0 -67
  266. package/dist/components/BaseComponent.js.map +0 -1
  267. package/dist/components/IComponentObjects.js.map +0 -1
  268. package/dist/components/Splitter.d.ts +0 -5
  269. package/dist/components/Splitter.js +0 -10
  270. package/dist/components/Splitter.js.map +0 -1
  271. package/dist/components/TSFComponent.d.ts +0 -6
  272. package/dist/components/TSFComponent.js +0 -2
  273. package/dist/components/TSFComponent.js.map +0 -1
  274. package/dist/components/task/TaskTile.js +0 -20
  275. package/dist/components/task/TaskTile.js.map +0 -1
  276. package/dist/components/task/TaskTileObjects.js +0 -15
  277. package/dist/components/task/TaskTileObjects.js.map +0 -1
  278. package/dist/seed-data/screen-schemas/chart.json +0 -25
  279. package/dist/seed-data/screen-schemas/chart_horizontal.json +0 -25
  280. package/dist/seed-data/screen-schemas/chart_no_fields.json +0 -14
  281. package/dist/seed-data/screen-schemas/cube.json +0 -40
  282. package/dist/seed-data/screen-schemas/cube_horizontal.json +0 -40
  283. package/dist/seed-data/screen-schemas/cube_no_fields.json +0 -25
  284. package/dist/seed-data/screen-schemas/form_only.json +0 -20
  285. package/dist/seed-data/screen-schemas/form_with_tree.json +0 -20
  286. package/dist/seed-data/screen-schemas/grid_with_card_list.json +0 -20
  287. package/dist/seed-data/screen-schemas/grid_with_filter_form.json +0 -20
  288. package/dist/seed-data/screen-schemas/grid_with_map.json +0 -20
  289. package/dist/seed-data/screen-schemas/grid_with_prefilter_bar.json +0 -20
  290. package/dist/seed-data/screen-schemas/grid_with_report_bar.json +0 -20
  291. package/dist/seed-data/screen-schemas/grid_with_report_tiles.json +0 -20
  292. package/dist/seed-data/screen-schemas/hierarchy.json +0 -43
  293. package/dist/seed-data/screen-schemas/hierarchy_card_list.json +0 -39
  294. package/dist/seed-data/screen-schemas/hierarchy_no_filter.json +0 -38
  295. package/dist/seed-data/screen-schemas/look_up_popup.json +0 -48
  296. package/dist/seed-data/screen-schemas/master_detail.json +0 -39
  297. package/dist/seed-data/screen-schemas/master_detail_no_filter.json +0 -34
  298. package/dist/seed-data/screen-schemas/master_detail_vertical.json +0 -39
  299. package/dist/seed-data/screen-schemas/master_detail_with_preview.json +0 -25
  300. package/dist/seed-data/screen-schemas/master_detail_with_task_bar.json +0 -48
  301. package/dist/seed-data/screen-schemas/master_detail_with_task_tiles.json +0 -44
  302. package/dist/seed-data/screen-schemas/master_vertical_detail.json +0 -39
  303. package/dist/seed-data/screen-schemas/pivot_grid.json +0 -25
  304. package/dist/seed-data/screen-schemas/pivot_grid_horizontal.json +0 -25
  305. package/dist/seed-data/screen-schemas/pivot_grid_no_fields.json +0 -14
  306. package/dist/seed-data/screen-schemas/scheduler.json +0 -14
  307. package/dist/seed-data/screen-schemas/test.json +0 -30
  308. package/dist/seed-data/screen-schemas/testpoonam.json +0 -40
  309. package/dist/seed-data/screen-schemas/view_customer_cube.json +0 -36
  310. package/dist/seed-data/subjects.json +0 -1586
  311. package/dist/types/CoreTypes.js +0 -2
  312. package/dist/types/CoreTypes.js.map +0 -1
  313. /package/dist/{components → interfaces}/IComponentObjects.d.ts +0 -0
  314. /package/dist/{components → interfaces}/IComponentObjects.js +0 -0
  315. /package/dist/types/{CoreTypes.d.ts → Test.d.ts} +0 -0
  316. /package/{components → interfaces}/IComponentObjects.ts +0 -0
  317. /package/types/{CoreTypes.ts → Test.ts} +0 -0
package/scripts/setup.js CHANGED
@@ -1,34 +1,34 @@
1
- /* eslint-disable @typescript-eslint/naming-convention */
2
- import fs from 'node:fs';
3
- import path from 'node:path';
4
- import process from 'node:process';
5
- import { fileURLToPath } from 'node:url';
6
-
7
- const __filename = fileURLToPath(import.meta.url);
8
- const __dirname = path.dirname(__filename);
9
-
10
- export function setup() {
11
- try {
12
- const testwiseConfigFile = path.resolve(process.cwd(), 'Testwise.json');
13
- const testwiseConfigTemplateFile = path.join(__dirname, 'Testwise.template.json');
14
- const tsConfigFile = path.resolve(process.cwd(), 'tsconfig.json');
15
- const tsConfigTemplateFile = path.join(__dirname, 'tsconfig.template.json');
16
-
17
- if (!fs.existsSync(testwiseConfigFile)) {
18
- fs.copyFileSync(testwiseConfigTemplateFile, testwiseConfigFile);
19
- console.info('Testwise.json config file created.');
20
- } else {
21
- console.info('Testwise.json already exists, skipping creation.');
22
- }
23
-
24
- if (!fs.existsSync(tsConfigFile)) {
25
- fs.copyFileSync(tsConfigTemplateFile, tsConfigFile);
26
- console.info('tsconfig.json config file created.');
27
- } else {
28
- console.info('tsconfig.json already exists, skipping creation.');
29
- }
30
- } catch (error) {
31
- console.error('Error during installation:', error.message);
32
- process.exit(1); // Exit with an error code if something goes wrong
33
- }
34
- }
1
+ /* eslint-disable @typescript-eslint/naming-convention */
2
+ import fs from 'node:fs';
3
+ import path from 'node:path';
4
+ import process from 'node:process';
5
+ import { fileURLToPath } from 'node:url';
6
+
7
+ const __filename = fileURLToPath(import.meta.url);
8
+ const __dirname = path.dirname(__filename);
9
+
10
+ export function setup() {
11
+ try {
12
+ const testwiseConfigFile = path.resolve(process.cwd(), 'Testwise.json');
13
+ const testwiseConfigTemplateFile = path.join(__dirname, 'Testwise.template.json');
14
+ const tsConfigFile = path.resolve(process.cwd(), 'tsconfig.json');
15
+ const tsConfigTemplateFile = path.join(__dirname, 'tsconfig.template.json');
16
+
17
+ if (!fs.existsSync(testwiseConfigFile)) {
18
+ fs.copyFileSync(testwiseConfigTemplateFile, testwiseConfigFile);
19
+ console.info('Testwise.json config file created.');
20
+ } else {
21
+ console.info('Testwise.json already exists, skipping creation.');
22
+ }
23
+
24
+ if (!fs.existsSync(tsConfigFile)) {
25
+ fs.copyFileSync(tsConfigTemplateFile, tsConfigFile);
26
+ console.info('tsconfig.json config file created.');
27
+ } else {
28
+ console.info('tsconfig.json already exists, skipping creation.');
29
+ }
30
+ } catch (error) {
31
+ console.error('Error during installation:', error.message);
32
+ process.exit(1); // Exit with an error code if something goes wrong
33
+ }
34
+ }
@@ -2,15 +2,11 @@
2
2
 
3
3
  import type { FullResult, Reporter, TestCase, TestResult } from '@playwright/test/reporter';
4
4
  import { TestifyService } from '../example-code/TestifyService.js';
5
-
6
- interface StoredTestResult {
7
- title: string;
8
- status: TestResult['status'];
9
- }
5
+ import type { IStoredTestResult } from '../interfaces/IStoredTestResults.js';
10
6
 
11
7
  class ReportingService implements Reporter {
12
8
  private _testifyService: TestifyService | null = null;
13
- private _results: StoredTestResult[] = [];
9
+ private _results: IStoredTestResult[] = [];
14
10
 
15
11
  onTestEnd(test: TestCase, result: TestResult) {
16
12
  console.info(`Test ended: ${test.title}, status: ${result.status}`);
package/types/index.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './CoreTypes.js';
1
+ export * from './Test.js';
2
2
  export * from './Universal.js';
@@ -1,95 +0,0 @@
1
- import type { Locator, Page } from '@playwright/test';
2
- import type { TSFComponent } from './TSFComponent.js';
3
-
4
- export abstract class BaseComponent implements TSFComponent {
5
- protected page: Page;
6
- protected parentComponent!: BaseComponent;
7
-
8
- public id: string;
9
-
10
- constructor(page: Page, testid: string, parentComponent?: BaseComponent) {
11
- this.page = page;
12
- this.id = testid;
13
-
14
- if (parentComponent) {
15
- this.addParentComponent(parentComponent);
16
- }
17
- }
18
-
19
- protected addParentComponent(parentComponent: BaseComponent): void {
20
- this.parentComponent = parentComponent;
21
- }
22
-
23
- /**
24
- * Abstract method to retrieve the locator for the component. Implementations should define how to locate the component
25
- * within the given context or the page.
26
- *
27
- * @param {Locator} [context] - Optional context within which to locate the component.
28
- * @returns {Promise<Locator>} A promise that resolves to the component's locator.
29
- */
30
- public abstract getLocator(context?: Locator): Promise<Locator>;
31
-
32
- /**
33
- * Retrieves the component's locator. If the component's context locator exists, it waits for it to be available
34
- * and returns it. Otherwise, it falls back to retrieving the locator without context.
35
- *
36
- * @returns {Promise<Locator>} A promise that resolves to the component's locator.
37
- */
38
- public async getComponent(): Promise<Locator> {
39
- const timeout = 250; // per attempt
40
- const retries = 3;
41
- const delayMs = 500;
42
- // Try to get the component locator with existing context
43
- const componentLocator = await this.getComponentContext();
44
-
45
- if (componentLocator) {
46
- // If the component locator can be found on the page, return it
47
- const found = await this.waitForWithRetry(componentLocator, timeout, retries, delayMs);
48
- if (found) {
49
- return componentLocator;
50
- }
51
- }
52
-
53
- // If no context locator is found, return the component locator without context
54
- return await this.getLocator();
55
- }
56
-
57
- /**
58
- * Helper to wait for a locator with retries.
59
- */
60
- private async waitForWithRetry(
61
- locator: Locator,
62
- timeout: number,
63
- retries: number,
64
- delayMs: number
65
- ): Promise<boolean> {
66
- for (let attempt = 0; attempt < retries; attempt++) {
67
- try {
68
- await locator.waitFor({ timeout });
69
- return true;
70
- } catch {
71
- if (attempt < retries - 1) {
72
- await new Promise((res) => setTimeout(res, delayMs));
73
- }
74
- }
75
- }
76
- return false;
77
- }
78
-
79
- private async getComponentContext(): Promise<Locator | undefined> {
80
- // If there is no parent component, check if the current locator exists and return it
81
- if (!this.parentComponent) {
82
- const currentLocator = await this.getLocator();
83
- return currentLocator;
84
- }
85
-
86
- // Recursively call the method on the parent component
87
- const parentLocator = await this.parentComponent.getComponentContext();
88
- if (parentLocator) {
89
- const currentLocator = await this.getLocator(parentLocator);
90
- return currentLocator;
91
- }
92
- // If neither the parent nor the current locator exists, return undefined
93
- return undefined;
94
- }
95
- }
@@ -1,11 +0,0 @@
1
- import type { Locator } from '@playwright/test';
2
- import { BaseComponent } from './BaseComponent.js';
3
-
4
- export class Splitter extends BaseComponent {
5
- public async getLocator(context?: Locator): Promise<Locator> {
6
- if (context) {
7
- return context.locator(`[data-type="SplitPane"][class*="${this.id}"]`);
8
- }
9
- return this.page.locator(`[data-type="SplitPane"][class*="${this.id}"]`);
10
- }
11
- }
@@ -1,8 +0,0 @@
1
- import type { Locator } from '@playwright/test';
2
-
3
- export interface TSFComponent {
4
- id: string;
5
-
6
- getComponent(): Promise<Locator>;
7
- getLocator(): Promise<Locator>;
8
- }
@@ -1,28 +0,0 @@
1
- import type { Locator, Page } from '@playwright/test';
2
- import { TaskTileObjects } from './TaskTileObjects.js';
3
-
4
- export class TaskTile {
5
- private _taskTileObjects: TaskTileObjects;
6
-
7
- /**
8
- * @param taskTileContext the tasktile container element
9
- */
10
- constructor(page: Page, taskTileContext: Locator | null = null) {
11
- this._taskTileObjects = new TaskTileObjects(page, taskTileContext);
12
- }
13
-
14
- /** returns all task tile buttons */
15
- public tasks = (): Locator => this._taskTileObjects.tasks();
16
-
17
- public getTaskById = (key: string): Locator => this._taskTileObjects.taskById(key);
18
-
19
- public getTaskByLabel = (label: string): Locator => this._taskTileObjects.taskByLabel(label);
20
-
21
- public clickById = async (key: string): Promise<void> => {
22
- await this.getTaskById(key).click();
23
- };
24
-
25
- public clickByLabel = async (label: string): Promise<void> => {
26
- await this.getTaskByLabel(label).click();
27
- };
28
- }
@@ -1,20 +0,0 @@
1
- import type { Locator, Page } from '@playwright/test';
2
- import { BaseComponentObjects } from '../BaseComponentObjects.js';
3
-
4
- export class TaskTileObjects extends BaseComponentObjects {
5
- constructor(page: Page, context: Locator | null = null) {
6
- super(page, context);
7
- }
8
-
9
- /** returns the taskbar container (same as provided context) */
10
- public container = (): Locator => this.context;
11
-
12
- /** all task buttons within this taskbar */
13
- public tasks = (): Locator => this.context.locator('button[data-testid^="tasktiles"]');
14
-
15
- /** task by its data-testid key, e.g. tasktiles__task__task-edit-a-category */
16
- public taskById = (actionKey: string): Locator => this.context.getByTestId(`tasktiles__task__${actionKey}`);
17
-
18
- /** task by accessible label, e.g. "Add new category" */
19
- public taskByLabel = (label: string): Locator => this.context.getByRole('button', { name: label });
20
- }
@@ -1,29 +0,0 @@
1
- import type { Locator, Page } from '@playwright/test';
2
- import type { TSFComponent } from './TSFComponent.js';
3
- export declare abstract class BaseComponent implements TSFComponent {
4
- protected page: Page;
5
- protected parentComponent: BaseComponent;
6
- id: string;
7
- constructor(page: Page, testid: string, parentComponent?: BaseComponent);
8
- protected addParentComponent(parentComponent: BaseComponent): void;
9
- /**
10
- * Abstract method to retrieve the locator for the component. Implementations should define how to locate the component
11
- * within the given context or the page.
12
- *
13
- * @param {Locator} [context] - Optional context within which to locate the component.
14
- * @returns {Promise<Locator>} A promise that resolves to the component's locator.
15
- */
16
- abstract getLocator(context?: Locator): Promise<Locator>;
17
- /**
18
- * Retrieves the component's locator. If the component's context locator exists, it waits for it to be available
19
- * and returns it. Otherwise, it falls back to retrieving the locator without context.
20
- *
21
- * @returns {Promise<Locator>} A promise that resolves to the component's locator.
22
- */
23
- getComponent(): Promise<Locator>;
24
- /**
25
- * Helper to wait for a locator with retries.
26
- */
27
- private waitForWithRetry;
28
- private getComponentContext;
29
- }
@@ -1,67 +0,0 @@
1
- export class BaseComponent {
2
- constructor(page, testid, parentComponent) {
3
- this.page = page;
4
- this.id = testid;
5
- if (parentComponent) {
6
- this.addParentComponent(parentComponent);
7
- }
8
- }
9
- addParentComponent(parentComponent) {
10
- this.parentComponent = parentComponent;
11
- }
12
- /**
13
- * Retrieves the component's locator. If the component's context locator exists, it waits for it to be available
14
- * and returns it. Otherwise, it falls back to retrieving the locator without context.
15
- *
16
- * @returns {Promise<Locator>} A promise that resolves to the component's locator.
17
- */
18
- async getComponent() {
19
- const timeout = 250; // per attempt
20
- const retries = 3;
21
- const delayMs = 500;
22
- // Try to get the component locator with existing context
23
- const componentLocator = await this.getComponentContext();
24
- if (componentLocator) {
25
- // If the component locator can be found on the page, return it
26
- const found = await this.waitForWithRetry(componentLocator, timeout, retries, delayMs);
27
- if (found) {
28
- return componentLocator;
29
- }
30
- }
31
- // If no context locator is found, return the component locator without context
32
- return await this.getLocator();
33
- }
34
- /**
35
- * Helper to wait for a locator with retries.
36
- */
37
- async waitForWithRetry(locator, timeout, retries, delayMs) {
38
- for (let attempt = 0; attempt < retries; attempt++) {
39
- try {
40
- await locator.waitFor({ timeout });
41
- return true;
42
- }
43
- catch {
44
- if (attempt < retries - 1) {
45
- await new Promise((res) => setTimeout(res, delayMs));
46
- }
47
- }
48
- }
49
- return false;
50
- }
51
- async getComponentContext() {
52
- // If there is no parent component, check if the current locator exists and return it
53
- if (!this.parentComponent) {
54
- const currentLocator = await this.getLocator();
55
- return currentLocator;
56
- }
57
- // Recursively call the method on the parent component
58
- const parentLocator = await this.parentComponent.getComponentContext();
59
- if (parentLocator) {
60
- const currentLocator = await this.getLocator(parentLocator);
61
- return currentLocator;
62
- }
63
- // If neither the parent nor the current locator exists, return undefined
64
- return undefined;
65
- }
66
- }
67
- //# sourceMappingURL=BaseComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseComponent.js","sourceRoot":"","sources":["../../components/BaseComponent.ts"],"names":[],"mappings":"AAGA,MAAM,OAAgB,aAAa;IAMjC,YAAY,IAAU,EAAE,MAAc,EAAE,eAA+B;QACrE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC;QAEjB,IAAI,eAAe,EAAE,CAAC;YACpB,IAAI,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;IAES,kBAAkB,CAAC,eAA8B;QACzD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;IAWD;;;;;OAKG;IACI,KAAK,CAAC,YAAY;QACvB,MAAM,OAAO,GAAG,GAAG,CAAC,CAAC,cAAc;QACnC,MAAM,OAAO,GAAG,CAAC,CAAC;QAClB,MAAM,OAAO,GAAG,GAAG,CAAC;QACpB,yDAAyD;QACzD,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAE1D,IAAI,gBAAgB,EAAE,CAAC;YACrB,+DAA+D;YAC/D,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACvF,IAAI,KAAK,EAAE,CAAC;gBACV,OAAO,gBAAgB,CAAC;YAC1B,CAAC;QACH,CAAC;QAED,+EAA+E;QAC/E,OAAO,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;IACjC,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,gBAAgB,CAC5B,OAAgB,EAChB,OAAe,EACf,OAAe,EACf,OAAe;QAEf,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,GAAG,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC;YACnD,IAAI,CAAC;gBACH,MAAM,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;gBACnC,OAAO,IAAI,CAAC;YACd,CAAC;YAAC,MAAM,CAAC;gBACP,IAAI,OAAO,GAAG,OAAO,GAAG,CAAC,EAAE,CAAC;oBAC1B,MAAM,IAAI,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;gBACvD,CAAC;YACH,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,KAAK,CAAC,mBAAmB;QAC/B,qFAAqF;QACrF,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;YAC1B,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;YAC/C,OAAO,cAAc,CAAC;QACxB,CAAC;QAED,sDAAsD;QACtD,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,mBAAmB,EAAE,CAAC;QACvE,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;YAC5D,OAAO,cAAc,CAAC;QACxB,CAAC;QACD,yEAAyE;QACzE,OAAO,SAAS,CAAC;IACnB,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IComponentObjects.js","sourceRoot":"","sources":["../../components/IComponentObjects.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Locator } from '@playwright/test';
2
- import { BaseComponent } from './BaseComponent.js';
3
- export declare class Splitter extends BaseComponent {
4
- getLocator(context?: Locator): Promise<Locator>;
5
- }
@@ -1,10 +0,0 @@
1
- import { BaseComponent } from './BaseComponent.js';
2
- export class Splitter extends BaseComponent {
3
- async getLocator(context) {
4
- if (context) {
5
- return context.locator(`[data-type="SplitPane"][class*="${this.id}"]`);
6
- }
7
- return this.page.locator(`[data-type="SplitPane"][class*="${this.id}"]`);
8
- }
9
- }
10
- //# sourceMappingURL=Splitter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Splitter.js","sourceRoot":"","sources":["../../components/Splitter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,OAAO,QAAS,SAAQ,aAAa;IAClC,KAAK,CAAC,UAAU,CAAC,OAAiB;QACvC,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,OAAO,CAAC,OAAO,CAAC,mCAAmC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;QACzE,CAAC;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,mCAAmC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import type { Locator } from '@playwright/test';
2
- export interface TSFComponent {
3
- id: string;
4
- getComponent(): Promise<Locator>;
5
- getLocator(): Promise<Locator>;
6
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=TSFComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TSFComponent.js","sourceRoot":"","sources":["../../components/TSFComponent.ts"],"names":[],"mappings":""}
@@ -1,20 +0,0 @@
1
- import { TaskTileObjects } from './TaskTileObjects.js';
2
- export class TaskTile {
3
- /**
4
- * @param taskTileContext the tasktile container element
5
- */
6
- constructor(page, taskTileContext = null) {
7
- /** returns all task tile buttons */
8
- this.tasks = () => this._taskTileObjects.tasks();
9
- this.getTaskById = (key) => this._taskTileObjects.taskById(key);
10
- this.getTaskByLabel = (label) => this._taskTileObjects.taskByLabel(label);
11
- this.clickById = async (key) => {
12
- await this.getTaskById(key).click();
13
- };
14
- this.clickByLabel = async (label) => {
15
- await this.getTaskByLabel(label).click();
16
- };
17
- this._taskTileObjects = new TaskTileObjects(page, taskTileContext);
18
- }
19
- }
20
- //# sourceMappingURL=TaskTile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskTile.js","sourceRoot":"","sources":["../../../components/task/TaskTile.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,OAAO,QAAQ;IAGnB;;OAEG;IACH,YAAY,IAAU,EAAE,kBAAkC,IAAI;QAI9D,oCAAoC;QAC7B,UAAK,GAAG,GAAY,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;QAErD,gBAAW,GAAG,CAAC,GAAW,EAAW,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAE5E,mBAAc,GAAG,CAAC,KAAa,EAAW,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAEtF,cAAS,GAAG,KAAK,EAAE,GAAW,EAAiB,EAAE;YACtD,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC;QACtC,CAAC,CAAC;QAEK,iBAAY,GAAG,KAAK,EAAE,KAAa,EAAiB,EAAE;YAC3D,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,CAAC;QAC3C,CAAC,CAAC;QAhBA,IAAI,CAAC,gBAAgB,GAAG,IAAI,eAAe,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IACrE,CAAC;CAgBF"}
@@ -1,15 +0,0 @@
1
- import { BaseComponentObjects } from '../BaseComponentObjects.js';
2
- export class TaskTileObjects extends BaseComponentObjects {
3
- constructor(page, context = null) {
4
- super(page, context);
5
- /** returns the taskbar container (same as provided context) */
6
- this.container = () => this.context;
7
- /** all task buttons within this taskbar */
8
- this.tasks = () => this.context.locator('button[data-testid^="tasktiles"]');
9
- /** task by its data-testid key, e.g. tasktiles__task__task-edit-a-category */
10
- this.taskById = (actionKey) => this.context.getByTestId(`tasktiles__task__${actionKey}`);
11
- /** task by accessible label, e.g. "Add new category" */
12
- this.taskByLabel = (label) => this.context.getByRole('button', { name: label });
13
- }
14
- }
15
- //# sourceMappingURL=TaskTileObjects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskTileObjects.js","sourceRoot":"","sources":["../../../components/task/TaskTileObjects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAO,eAAgB,SAAQ,oBAAoB;IACvD,YAAY,IAAU,EAAE,UAA0B,IAAI;QACpD,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAGvB,+DAA+D;QACxD,cAAS,GAAG,GAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAE/C,2CAA2C;QACpC,UAAK,GAAG,GAAY,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;QAEvF,8EAA8E;QACvE,aAAQ,GAAG,CAAC,SAAiB,EAAW,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,oBAAoB,SAAS,EAAE,CAAC,CAAC;QAE5G,wDAAwD;QACjD,gBAAW,GAAG,CAAC,KAAa,EAAW,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAZnG,CAAC;CAaF"}
@@ -1,25 +0,0 @@
1
- {
2
- "title": "I_chart",
3
- "type": "object",
4
- "properties": {
5
- "Chart1": { "$ref": "#/definitions/Chart" },
6
- "PivotGridFieldList1": { "$ref": "#/definitions/PivotGridFieldList" },
7
- "Splitter_DB1D3C31": { "$ref": "#/definitions/Splitter" },
8
- "Splitter1": { "$ref": "#/definitions/Splitter" },
9
- "Toolbar_BB2502FC": { "$ref": "#/definitions/Actionbar" }
10
- },
11
- "required": [
12
- "Chart1",
13
- "PivotGridFieldList1",
14
- "Splitter_DB1D3C31",
15
- "Splitter1",
16
- "Toolbar_BB2502FC"
17
- ],
18
- "additionalProperties": false,
19
- "definitions": {
20
- "Actionbar": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
21
- "Chart": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
22
- "PivotGridFieldList": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
23
- "Splitter": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false }
24
- }
25
- }
@@ -1,25 +0,0 @@
1
- {
2
- "title": "I_chart_horizontal",
3
- "type": "object",
4
- "properties": {
5
- "Chart1": { "$ref": "#/definitions/Chart" },
6
- "PivotGridFieldList1": { "$ref": "#/definitions/PivotGridFieldList" },
7
- "Splitter_A5007C3F": { "$ref": "#/definitions/Splitter" },
8
- "Splitter2": { "$ref": "#/definitions/Splitter" },
9
- "Toolbar_907134B1": { "$ref": "#/definitions/Actionbar" }
10
- },
11
- "required": [
12
- "Chart1",
13
- "PivotGridFieldList1",
14
- "Splitter_A5007C3F",
15
- "Splitter2",
16
- "Toolbar_907134B1"
17
- ],
18
- "additionalProperties": false,
19
- "definitions": {
20
- "Actionbar": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
21
- "Chart": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
22
- "PivotGridFieldList": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
23
- "Splitter": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false }
24
- }
25
- }
@@ -1,14 +0,0 @@
1
- {
2
- "title": "I_chart_no_fields",
3
- "type": "object",
4
- "properties": {
5
- "Chart1": { "$ref": "#/definitions/Chart" }
6
- },
7
- "required": [
8
- "Chart1"
9
- ],
10
- "additionalProperties": false,
11
- "definitions": {
12
- "Chart": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false }
13
- }
14
- }
@@ -1,40 +0,0 @@
1
- {
2
- "title": "I_cube",
3
- "type": "object",
4
- "properties": {
5
- "Chart1": { "$ref": "#/definitions/Chart" },
6
- "PivotGrid1": { "$ref": "#/definitions/PivotGrid" },
7
- "PivotGridFieldList1": { "$ref": "#/definitions/PivotGridFieldList" },
8
- "Splitter_886BCD13": { "$ref": "#/definitions/Splitter" },
9
- "Splitter_E71D598C": { "$ref": "#/definitions/Splitter" },
10
- "Splitter1": { "$ref": "#/definitions/Splitter" },
11
- "Tabbed1": { "$ref": "#/definitions/Tab" },
12
- "Tabbed1Tabpage1": { "$ref": "#/definitions/ComponentTab" },
13
- "Tabbed1Tabpage2": { "$ref": "#/definitions/ComponentTab" },
14
- "Toolbar_503DB1BD": { "$ref": "#/definitions/Actionbar" },
15
- "Toolbar_BE6BDF12": { "$ref": "#/definitions/Actionbar" }
16
- },
17
- "required": [
18
- "Chart1",
19
- "PivotGrid1",
20
- "PivotGridFieldList1",
21
- "Splitter_886BCD13",
22
- "Splitter_E71D598C",
23
- "Splitter1",
24
- "Tabbed1",
25
- "Tabbed1Tabpage1",
26
- "Tabbed1Tabpage2",
27
- "Toolbar_503DB1BD",
28
- "Toolbar_BE6BDF12"
29
- ],
30
- "additionalProperties": false,
31
- "definitions": {
32
- "Actionbar": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
33
- "Chart": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
34
- "ComponentTab": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
35
- "PivotGrid": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
36
- "PivotGridFieldList": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
37
- "Splitter": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
38
- "Tab": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false }
39
- }
40
- }
@@ -1,40 +0,0 @@
1
- {
2
- "title": "I_cube_horizontal",
3
- "type": "object",
4
- "properties": {
5
- "Chart1": { "$ref": "#/definitions/Chart" },
6
- "PivotGrid1": { "$ref": "#/definitions/PivotGrid" },
7
- "PivotGridFieldList1": { "$ref": "#/definitions/PivotGridFieldList" },
8
- "Splitter_78515F00": { "$ref": "#/definitions/Splitter" },
9
- "Splitter_A6E7DBE5": { "$ref": "#/definitions/Splitter" },
10
- "Splitter5": { "$ref": "#/definitions/Splitter" },
11
- "Tabbed1": { "$ref": "#/definitions/Tab" },
12
- "Tabbed1Tabpage1": { "$ref": "#/definitions/ComponentTab" },
13
- "Tabbed1Tabpage2": { "$ref": "#/definitions/ComponentTab" },
14
- "Toolbar_96F2195F": { "$ref": "#/definitions/Actionbar" },
15
- "Toolbar_CF139710": { "$ref": "#/definitions/Actionbar" }
16
- },
17
- "required": [
18
- "Chart1",
19
- "PivotGrid1",
20
- "PivotGridFieldList1",
21
- "Splitter_78515F00",
22
- "Splitter_A6E7DBE5",
23
- "Splitter5",
24
- "Tabbed1",
25
- "Tabbed1Tabpage1",
26
- "Tabbed1Tabpage2",
27
- "Toolbar_96F2195F",
28
- "Toolbar_CF139710"
29
- ],
30
- "additionalProperties": false,
31
- "definitions": {
32
- "Actionbar": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
33
- "Chart": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
34
- "ComponentTab": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
35
- "PivotGrid": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
36
- "PivotGridFieldList": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
37
- "Splitter": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
38
- "Tab": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false }
39
- }
40
- }
@@ -1,25 +0,0 @@
1
- {
2
- "title": "I_cube_no_fields",
3
- "type": "object",
4
- "properties": {
5
- "Chart1": { "$ref": "#/definitions/Chart" },
6
- "PivotGrid1": { "$ref": "#/definitions/PivotGrid" },
7
- "Tabbed1": { "$ref": "#/definitions/Tab" },
8
- "Tabbed1Tabpage1": { "$ref": "#/definitions/ComponentTab" },
9
- "Tabbed1Tabpage2": { "$ref": "#/definitions/ComponentTab" }
10
- },
11
- "required": [
12
- "Chart1",
13
- "PivotGrid1",
14
- "Tabbed1",
15
- "Tabbed1Tabpage1",
16
- "Tabbed1Tabpage2"
17
- ],
18
- "additionalProperties": false,
19
- "definitions": {
20
- "Chart": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
21
- "ComponentTab": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
22
- "PivotGrid": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false },
23
- "Tab": { "type": "object", "properties": { "temp": { "type": "string" } }, "required": ["temp"], "additionalProperties": false }
24
- }
25
- }