graphdb-workbench-tests 3.4.0-TR2 → 3.4.0-TR4

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 (363) hide show
  1. package/Dockerfile +11 -0
  2. package/cypress-flaky.config.js +6 -20
  3. package/cypress.config.js +6 -45
  4. package/fixtures/locale-en.json +3342 -0
  5. package/fixtures/ttyg/agent/get-agent-defaults.json +2 -9
  6. package/fixtures/ttyg/chats/ask-question.json +2 -12
  7. package/fixtures/ttyg/chats/create/create-chat-response.json +14 -10
  8. package/fixtures/ttyg/chats/explain-response-1.json +48 -2
  9. package/fixtures/ttyg/chats/get-chat.json +1 -6
  10. package/{e2e-legacy → integration}/cluster/cluster-states.spec.js +3 -3
  11. package/{e2e-legacy/explore/class-hierarchy → integration/explore}/class.hierarchy.spec.js +1 -1
  12. package/{e2e-legacy/explore/class-relationships/class-relationships.spec.js → integration/explore/class.relationships.spec.js} +50 -20
  13. package/{e2e-legacy/explore/graphs-overview → integration/explore}/graphs.overview.spec.js +4 -4
  14. package/integration/explore/similarity-index/similarity-index-create.spec.js +333 -0
  15. package/integration/explore/similarity-index/similarity-index.spec.js +88 -0
  16. package/integration/explore/similarity-index/similarity.spec.js +628 -0
  17. package/{e2e-legacy → integration}/explore/visual-graph/graphs-config.spec.js +10 -5
  18. package/{e2e-legacy → integration}/explore/visual-graph/visual-graph-node-labels.spec.js +2 -14
  19. package/{e2e-legacy → integration}/explore/visual-graph/visual.graph.spec.js +96 -75
  20. package/{e2e-legacy → integration}/graphql/create-graphql-endpoint.spec.js +2 -0
  21. package/{e2e-legacy → integration}/graphql/edit-graphql-enpoint.spec.js +1 -1
  22. package/{e2e-legacy → integration}/graphql/filter-graphql-endpoints-on-management-view.spec.js +1 -1
  23. package/{e2e-legacy → integration}/graphql/graphql-endpoint-management-view.spec.js +4 -4
  24. package/{e2e-legacy → integration}/graphql/graphql-playground.spec.js +1 -1
  25. package/{e2e-legacy → integration}/graphql/import-graphql-endpoint-definitions.spec.js +6 -0
  26. package/integration/guides/movies-interactive-guide.spec.js +73 -0
  27. package/{e2e-legacy/help/guides/star-wars-interactive-guide.spec.js → integration/guides/star-wars-interactive-guide.js} +2 -3
  28. package/integration/home/cookie-policy.spec.js +90 -0
  29. package/integration/home/documentation-link.spec.js +60 -0
  30. package/{e2e-legacy → integration}/home/google-analytics.spec.js +6 -4
  31. package/{e2e-legacy → integration}/home/language-change.spec.js +2 -2
  32. package/integration/home/language-selector.spec.js +19 -0
  33. package/integration/home/rdf-resource-search.spec.js +177 -0
  34. package/integration/home/view-resource-autocomplete.spec.js +52 -0
  35. package/integration/home/workbench.home.spec.js +30 -0
  36. package/{e2e-legacy → integration}/import/import-server-files.spec.js +3 -5
  37. package/{e2e-legacy → integration}/import/import-user-data-file-upload.spec.js +13 -19
  38. package/{e2e-legacy → integration}/import/import-user-data-text-snippet.spec.js +2 -0
  39. package/{e2e-legacy → integration}/import/import-user-data-url.spec.js +23 -0
  40. package/{e2e-legacy → integration}/import/import-user-data.spec.js +4 -11
  41. package/{e2e-legacy → integration}/license/license.spec.js +4 -4
  42. package/{e2e-legacy → integration}/monitor/global-operation-statuses-component.spec.js +5 -12
  43. package/{e2e-legacy/monitor/backup-and-restore/backup-and-restore.spec.js → integration/monitor/monitor.backup-and-restore.spec.js} +2 -2
  44. package/integration/monitor/monitor.queries.spec.js +31 -0
  45. package/{e2e-legacy/monitor/system → integration/monitor}/monitor.resources.spec.js +2 -3
  46. package/{e2e-legacy → integration}/repository/ontop-repository.spec.js +1 -1
  47. package/{e2e-legacy → integration}/repository/repositories.spec.js +45 -37
  48. package/{e2e-legacy → integration}/resource/resource.spec.js +7 -17
  49. package/{e2e-legacy → integration}/setup/aclmanagement/create-rule.spec.js +0 -4
  50. package/{e2e-legacy/setup/autocomplete → integration/setup}/autocomplete.spec.js +7 -6
  51. package/{e2e-legacy → integration}/setup/connectors-lucene.spec.js +10 -26
  52. package/{e2e-legacy → integration}/setup/jdbc/jdbc-create.spec.js +4 -4
  53. package/integration/setup/my-settings.spec.js +289 -0
  54. package/{e2e-legacy/setup/namespaces → integration/setup}/namespaces.spec.js +5 -6
  55. package/{e2e-legacy/setup/plugins → integration/setup}/plugins.spec.js +3 -3
  56. package/{e2e-legacy/setup/rdf-rank → integration/setup}/rdf-rank.spec.js +5 -3
  57. package/{e2e-legacy/setup/sparql-template/sparql-template-create.spec.js → integration/setup/sparql-template-create.js} +8 -16
  58. package/{e2e-legacy/setup/sparql-template → integration/setup}/sparql-templates.spec.js +4 -4
  59. package/{e2e-legacy/setup/users-and-access → integration/setup}/user-and-access.spec.js +87 -184
  60. package/{e2e-legacy → integration}/sparql-editor/actions/expand-results-over-sameas.spec.js +12 -12
  61. package/{e2e-legacy → integration}/sparql-editor/actions/include-inferred-statements.spec.js +6 -6
  62. package/{e2e-legacy → integration}/sparql-editor/actions/inferred-sameas.spec.js +8 -10
  63. package/{e2e-legacy → integration}/sparql-editor/actions/show-saved-queries.spec.js +6 -1
  64. package/{e2e-legacy → integration}/sparql-editor/saved-query/abort-query.spec.js +1 -1
  65. package/{e2e-legacy → integration}/sparql-editor/saved-query/edit-query.spec.js +3 -3
  66. package/{e2e-legacy → integration}/sparql-editor/saved-query/readonly-query.spec.js +24 -15
  67. package/{e2e-legacy → integration}/sparql-editor/saved-query/share-query.spec.js +1 -32
  68. package/{e2e-legacy → integration}/sparql-editor/yasgui-tabs.spec.js +12 -2
  69. package/{e2e-legacy → integration}/sparql-editor/yasr/pagination.spec.js +18 -5
  70. package/{e2e-legacy → integration}/sparql-editor/yasr/table-plugin.spec.js +6 -1
  71. package/integration/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +57 -0
  72. package/{e2e-legacy → integration}/ttyg/agent-list.spec.js +2 -53
  73. package/{e2e-legacy → integration}/ttyg/agent-select-menu.spec.js +2 -25
  74. package/{e2e-legacy → integration}/ttyg/chat-list.spec.js +14 -3
  75. package/{e2e-legacy → integration}/ttyg/chat-panel.spec.js +6 -74
  76. package/{e2e-legacy → integration}/ttyg/clone-agent.spec.js +2 -24
  77. package/{e2e-legacy → integration}/ttyg/create-agent.spec.js +66 -37
  78. package/{e2e-legacy → integration}/ttyg/create-chat.spec.js +4 -6
  79. package/{e2e-legacy → integration}/ttyg/delete-agent.spec.js +2 -1
  80. package/integration/ttyg/edit-agent.spec.js +99 -0
  81. package/{e2e-legacy → integration}/ttyg/ttyg-view.spec.js +2 -2
  82. package/{e2e-flaky → integration-flaky}/explore/visual.graph.spec.js +1 -4
  83. package/{e2e-flaky → integration-flaky}/import/import-server-files-operations.spec.js +2 -2
  84. package/{e2e-flaky → integration-flaky}/import/import-user-data-batch-operations.spec.js +3 -3
  85. package/{e2e-flaky → integration-flaky}/setup/sparql-template-create.js +18 -10
  86. package/integration-flaky/setup/users-and-access/security-and-free-access.spec.js +54 -0
  87. package/{e2e-flaky → integration-flaky}/sparql-editor/actions/execute-update-query.spec.js +12 -2
  88. package/{e2e-flaky → integration-flaky}/sparql-editor/actions/share-query.spec.js +7 -1
  89. package/{e2e-flaky → integration-flaky}/sparql-editor/yasr/table-plugin.spec.js +7 -3
  90. package/{e2e-legacy → integration-flaky}/ttyg/ttyg-permission.spec.js +17 -23
  91. package/npm-shrinkwrap.json +3815 -11004
  92. package/package.json +42 -58
  93. package/plugins/index.js +5 -10
  94. package/steps/application-steps.js +6 -8
  95. package/steps/class-views-steps.js +7 -35
  96. package/steps/cluster/cluster-page-steps.js +2 -12
  97. package/steps/error-steps.js +3 -15
  98. package/steps/explore/graphs-overview-steps.js +1 -21
  99. package/steps/explore/similarity-index-create-steps.js +3 -5
  100. package/steps/explore/similarity-indexes-steps.js +2 -16
  101. package/steps/graphql/graphql-endpoint-management-steps.js +2 -2
  102. package/steps/guides/guide-dialog-steps.js +2 -81
  103. package/steps/guides/guide-steps.js +2 -54
  104. package/steps/home-steps.js +77 -184
  105. package/steps/import/import-resource-message-dialog.js +1 -1
  106. package/steps/import/import-steps.js +16 -12
  107. package/steps/import/import-user-data-steps.js +1 -5
  108. package/steps/language-selector-steps.js +2 -2
  109. package/steps/license-steps.js +9 -91
  110. package/steps/login-steps.js +6 -31
  111. package/steps/main-menu-steps.js +19 -244
  112. package/steps/modal-dialog-steps.js +1 -32
  113. package/steps/monitoring/backup-and-restore-steps.js +3 -9
  114. package/steps/operations-statuses-component-steps.js +10 -5
  115. package/steps/repository-selector-steps.js +3 -3
  116. package/steps/repository-steps.js +18 -64
  117. package/steps/resource/resource-steps.js +2 -6
  118. package/steps/setup/acl-management-steps.js +2 -6
  119. package/steps/setup/autocomplete-steps.js +8 -23
  120. package/steps/setup/jdbc-steps.js +4 -18
  121. package/steps/setup/namespace-steps.js +7 -10
  122. package/steps/setup/plugins-steps.js +5 -12
  123. package/steps/setup/rdf-rank-steps.js +9 -23
  124. package/steps/setup/settings-steps.js +2 -101
  125. package/steps/setup/sparql-templates-steps.js +1 -19
  126. package/steps/setup/user-and-access-steps.js +16 -50
  127. package/steps/sparql-editor-steps.js +2 -8
  128. package/steps/sparql-steps.js +1 -13
  129. package/steps/toaster-steps.js +6 -18
  130. package/steps/ttyg/chat-panel-steps.js +2 -40
  131. package/steps/ttyg/ttyg-agent-settings-modal.steps.js +31 -136
  132. package/steps/ttyg/ttyg-view-steps.js +10 -80
  133. package/steps/visual-graph-steps.js +10 -106
  134. package/steps/yasgui/yasgui-loader.js +3 -3
  135. package/steps/yasgui/yasgui-steps.js +1 -1
  136. package/steps/yasgui/yasqe-steps.js +4 -35
  137. package/steps/yasgui/yasr-steps.js +3 -73
  138. package/stubs/autocomplete/autocomplete-stubs.js +0 -7
  139. package/stubs/environment-stubs.js +1 -9
  140. package/stubs/license-stubs.js +0 -51
  141. package/stubs/repositories/repositories-stubs.js +75 -180
  142. package/stubs/repositories-stub.js +73 -0
  143. package/stubs/security-stubs.js +0 -12
  144. package/stubs/similarity-index-stubs.js +0 -4
  145. package/stubs/ttyg/ttyg-stubs.js +15 -64
  146. package/stubs/yasgui/query-stubs.js +1 -5
  147. package/support/commands.js +1 -22
  148. package/support/{e2e.js → index.js} +3 -9
  149. package/support/repository-commands.js +4 -29
  150. package/support/settings-commands.js +1 -33
  151. package/support/user-commands.js +4 -9
  152. package/utils/html-util.js +4 -24
  153. package/.editorconfig +0 -17
  154. package/.nycrc +0 -10
  155. package/cypress-legacy.config.js +0 -47
  156. package/cypress-security.config.js +0 -36
  157. package/e2e-flaky/import/import-user-data-url.spec.js +0 -63
  158. package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository-without-class-hierarchy.spec.js +0 -42
  159. package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository.spec.js +0 -43
  160. package/e2e-legacy/explore/class-hierarchy/class-hierarchy-without-selected-repository.spec.js +0 -30
  161. package/e2e-legacy/explore/class-relationships/class-relationships-repository-with-data.spec.js +0 -42
  162. package/e2e-legacy/explore/class-relationships/class-relationships-with-selected-repository.spec.js +0 -39
  163. package/e2e-legacy/explore/class-relationships/class-relationships-without-selected-repository.spec.js +0 -21
  164. package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-with-selected-repository.spec.js +0 -44
  165. package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-without-selected-repository.spec.js +0 -32
  166. package/e2e-legacy/explore/similarity-index/similarity-index-with-repository.spec.js +0 -38
  167. package/e2e-legacy/explore/similarity-index/similarity-index-without-repository.spec.js +0 -21
  168. package/e2e-legacy/explore/visual-graph/node-info-panel.spec.js +0 -58
  169. package/e2e-legacy/explore/visual-graph/visual-graph-links-limit.spec.js +0 -140
  170. package/e2e-legacy/explore/visual-graph/visual-graph-with-selected-repository.js +0 -38
  171. package/e2e-legacy/explore/visual-graph/visual-graph-without-selected-repository.js +0 -21
  172. package/e2e-legacy/graphql/graphql-endpoint-management-with-endpoints.spec.js +0 -43
  173. package/e2e-legacy/graphql/graphql-endpoint-management-with-selected-repository.spec.js +0 -39
  174. package/e2e-legacy/graphql/graphql-endpoint-management-without-selected-repository.spec.js +0 -21
  175. package/e2e-legacy/graphql/graphql-playground-with-endpoints.spec.js +0 -40
  176. package/e2e-legacy/graphql/graphql-playground-with-selected-repository.spec.js +0 -38
  177. package/e2e-legacy/graphql/graphql-playground-without-selected-repository.spec.js +0 -22
  178. package/e2e-legacy/graphql/graphql-theme.spec.js +0 -73
  179. package/e2e-legacy/guides/autocomplete/enable-autocomplete-guide.spec.js +0 -49
  180. package/e2e-legacy/guides/class-hierarcy/class-hierarchy-guide.spec.js +0 -89
  181. package/e2e-legacy/guides/class-relations/class-relations-guide.spec.js +0 -76
  182. package/e2e-legacy/guides/connectors/connectors-guide.spec.js +0 -163
  183. package/e2e-legacy/guides/create-similarity-index/create-similarity-index-guide.spec.js +0 -74
  184. package/e2e-legacy/guides/download-guide-resource/download-guide-resource-guide.js +0 -55
  185. package/e2e-legacy/guides/execute-sparql-query/execute-sparql-query-guide.spec.js +0 -92
  186. package/e2e-legacy/guides/import-rdf-file/confirm-duplicate-rdf-file.spec.js +0 -63
  187. package/e2e-legacy/guides/import-rdf-file/import-rdf-file.spec.js +0 -105
  188. package/e2e-legacy/guides/main-menu/main-menu-guide.spec.js +0 -302
  189. package/e2e-legacy/guides/navigation/navigation-guide.spec.js +0 -64
  190. package/e2e-legacy/guides/rdf-rank/rdf-rank-guide.spec.js +0 -42
  191. package/e2e-legacy/guides/repositories/create-repository-guide.spec.js +0 -69
  192. package/e2e-legacy/guides/table-graph-explore/table-graph-explore-guide.spec.js +0 -167
  193. package/e2e-legacy/guides/ttyg/configure-agent/configure-agent-guide.spec.js +0 -157
  194. package/e2e-legacy/guides/ttyg/conversation/ttyg-conversation-guide.spec.js +0 -92
  195. package/e2e-legacy/guides/ttyg/edit-agent/edit-ttyg-agent-guide.spec.js +0 -88
  196. package/e2e-legacy/guides/visual-graph/visual-graph-guide.spec.js +0 -372
  197. package/e2e-legacy/guides/welcome/welcome-guide.spec.js +0 -36
  198. package/e2e-legacy/help/guides/guides-autostart.spec.js +0 -126
  199. package/e2e-legacy/help/guides/guides-confirm-cancel-dialog.js +0 -83
  200. package/e2e-legacy/help/guides/guides-with-repository.spec.js +0 -32
  201. package/e2e-legacy/help/guides/guides-without-repository.spec.js +0 -20
  202. package/e2e-legacy/help/guides/movies-interactive-guide.spec.js +0 -71
  203. package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-with-repository.spec.js +0 -32
  204. package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-without-repository.spec.js +0 -20
  205. package/e2e-legacy/help/system-information/system-information-with-repository.spec.js +0 -32
  206. package/e2e-legacy/help/system-information/system-information-without-repository.spec.js +0 -20
  207. package/e2e-legacy/home/cookie-policy/cookie-policy.spec.js +0 -182
  208. package/e2e-legacy/home/documentation-link.spec.js +0 -41
  209. package/e2e-legacy/home/home-page-with-selected-repository.spec.js +0 -69
  210. package/e2e-legacy/home/home-page-without-repositories.spec.js +0 -87
  211. package/e2e-legacy/home/home-page-without-selected-repository.spec.js +0 -59
  212. package/e2e-legacy/home/rdf-resource-search.spec.js +0 -160
  213. package/e2e-legacy/home/view-resource-autocomplete.spec.js +0 -65
  214. package/e2e-legacy/import/initial-state/import-page-with-selected-repositor.js +0 -51
  215. package/e2e-legacy/import/initial-state/import-page-with-selected-repository-without-imported-files.js +0 -45
  216. package/e2e-legacy/import/initial-state/import-page-without-selected-repository.spec.js +0 -28
  217. package/e2e-legacy/license/license-with-repository.spec.js +0 -113
  218. package/e2e-legacy/license/license-without-repository.spec.js +0 -103
  219. package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-with-repository.spec.js +0 -36
  220. package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-without-repository.spec.js +0 -25
  221. package/e2e-legacy/monitor/query-and-updates/queries-and-updates-with-repository.spec.js +0 -39
  222. package/e2e-legacy/monitor/query-and-updates/queries-and-updates-without-repository.spec.js +0 -21
  223. package/e2e-legacy/monitor/system/system-monitoring-with-repository.spec.js +0 -32
  224. package/e2e-legacy/monitor/system/system-monitoring-without-repository.spec.js +0 -20
  225. package/e2e-legacy/not-found/not-found.spec.js +0 -23
  226. package/e2e-legacy/repository/url-with-repository-id-parameter.spec.js +0 -181
  227. package/e2e-legacy/setup/aclmanagement/acl-management-with-selected repository.spec.js +0 -40
  228. package/e2e-legacy/setup/aclmanagement/acl-management-without-repositories.spec.js +0 -21
  229. package/e2e-legacy/setup/autocomplete/autocomplete-with-repository.spec.js +0 -40
  230. package/e2e-legacy/setup/autocomplete/autocomplete-without-repository.spec.js +0 -27
  231. package/e2e-legacy/setup/cluster/cluster-initial-state-with-cluster.spec.js +0 -34
  232. package/e2e-legacy/setup/cluster/cluster-initial-state-without-cluster.spec.js +0 -25
  233. package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js +0 -41
  234. package/e2e-legacy/setup/connectors/connectors-initial-state-without-repositories.spec.js +0 -21
  235. package/e2e-legacy/setup/jdbc/jdbc-with-repository.spec.js +0 -39
  236. package/e2e-legacy/setup/jdbc/jdbc-without-repository.spec.js +0 -27
  237. package/e2e-legacy/setup/namespaces/namespaces-with-repository.spec.js +0 -44
  238. package/e2e-legacy/setup/namespaces/namespaces-without-repository.spec.js +0 -27
  239. package/e2e-legacy/setup/plugins/plugins-with-repository.spec.js +0 -38
  240. package/e2e-legacy/setup/plugins/plugins-without-repository.spec.js +0 -28
  241. package/e2e-legacy/setup/rdf-rank/rdf-rank-with-repository.spec.js +0 -40
  242. package/e2e-legacy/setup/rdf-rank/rdf-rank-without-repository.spec.js +0 -30
  243. package/e2e-legacy/setup/repositories/repositories-view-with-repositories.spec.js +0 -40
  244. package/e2e-legacy/setup/repositories/repositories-view-without-repositories.spec.js +0 -28
  245. package/e2e-legacy/setup/settings/my-settings-initial-state.spec.js +0 -86
  246. package/e2e-legacy/setup/settings/my-settings.spec.js +0 -207
  247. package/e2e-legacy/setup/sparql-template/sparql-template-with-repository.spec.js +0 -39
  248. package/e2e-legacy/setup/sparql-template/sparql-template-without-repository.spec.js +0 -29
  249. package/e2e-legacy/setup/users-and-access/users-and-access-initial-state.spec.js +0 -25
  250. package/e2e-legacy/sparql-editor/sparql-page-with-selected-repository.spec.js +0 -33
  251. package/e2e-legacy/sparql-editor/sparql-page-without-selected-repository.spec.js +0 -26
  252. package/e2e-legacy/sparql-editor/yasqe-themes.spec.js +0 -54
  253. package/e2e-legacy/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +0 -106
  254. package/e2e-legacy/sparql-editor/yasr/yasr.spec.js +0 -80
  255. package/e2e-legacy/ttyg/edit-agent.spec.js +0 -178
  256. package/e2e-legacy/ttyg/ttyg-initial-state-with-configured-api-key.spec.js +0 -46
  257. package/e2e-legacy/ttyg/ttyg-initial-state-with-selected-repository.spec.js +0 -45
  258. package/e2e-legacy/ttyg/ttyg-initial-state-without-repositories.spec.js +0 -21
  259. package/e2e-security/repository/url-with-repository-id-parameter.spec.js +0 -57
  260. package/e2e-security/setup/home/cookie-policy.spec.js +0 -290
  261. package/e2e-security/setup/users-and-access/create-user-permissions.spec.js +0 -193
  262. package/e2e-security/setup/users-and-access/graphql-user.spec.js +0 -126
  263. package/e2e-security/setup/users-and-access/repo-admin-role.spec.js +0 -70
  264. package/e2e-security/setup/users-and-access/turn-on-security-and-password-change.spec.js +0 -99
  265. package/e2e-security/setup/users-and-access/user-and-access.spec.js +0 -87
  266. package/e2e-security/setup/users-and-access/users-and-access-initial-state.spec.js +0 -38
  267. package/eslint.config.js +0 -39
  268. package/fixtures/graph/graph-configurations.json +0 -59
  269. package/fixtures/guides/autocomplete/enable-autocomplete-guide.json +0 -12
  270. package/fixtures/guides/class-hierarchy/class-hierarchy-guide.json +0 -35
  271. package/fixtures/guides/class-relations/class-relations-guide.json +0 -33
  272. package/fixtures/guides/confirm-cancel-dialog/confirm-cancel-dialog-guide.json +0 -15
  273. package/fixtures/guides/connectors/connectors-guide.json +0 -66
  274. package/fixtures/guides/connectors/lucene-connector-guide.json +0 -120
  275. package/fixtures/guides/create-repository/create-repository-guide.json +0 -25
  276. package/fixtures/guides/create-similarity-index/create-similarity-index-guide.json +0 -36
  277. package/fixtures/guides/download-guide-resource/download-guide-resource-guide.json +0 -25
  278. package/fixtures/guides/download-resource.ttl +0 -629
  279. package/fixtures/guides/execute-sparql-query/execute-sparql-query-guide.json +0 -54
  280. package/fixtures/guides/import-rdf-file/confirm-duplicate-rdf-file-guide.json +0 -30
  281. package/fixtures/guides/import-rdf-file/import-rdf-file-guide.json +0 -21
  282. package/fixtures/guides/main-menu/main-menu-guide.json +0 -98
  283. package/fixtures/guides/navigation/navigation-guide.json +0 -60
  284. package/fixtures/guides/rdf-rank/rdf-rank-guide.json +0 -18
  285. package/fixtures/guides/table-graph-explore/table-graph-explore-guide.json +0 -51
  286. package/fixtures/guides/table-graph-explore/table-graph-explore-without-substeps-guide.json +0 -25
  287. package/fixtures/guides/ttyg/configure-agent/configure-ttyg-agent-guide.json +0 -74
  288. package/fixtures/guides/ttyg/conversation/ttyg-conversation-guide.json +0 -26
  289. package/fixtures/guides/ttyg/edit-ttyg-agent/edit-ttyg-agent-guide.json +0 -22
  290. package/fixtures/guides/visual-graph/visual-graph-config-guide.json +0 -39
  291. package/fixtures/guides/visual-graph/visual-graph-guide.json +0 -85
  292. package/fixtures/guides/welcome/welcome-guide.json +0 -18
  293. package/fixtures/repositories/free-access.json +0 -13
  294. package/fixtures/similarity/get-ttyg-similarity-instances.json +0 -10
  295. package/fixtures/ttyg/agent/get-agent-defaults-assistant-api.json +0 -44
  296. package/fixtures/ttyg/agent/get-agent-list-with-incompatible-agents.json +0 -79
  297. package/fixtures/ttyg/agent/get-similarity-indexes-for-another-repo.json +0 -8
  298. package/fixtures/ttyg/agent/get-similarity-indexes.json +0 -22
  299. package/fixtures/ttyg/chats/ask-question-cancel.json +0 -12
  300. package/fixtures/ttyg/chats/cancel-question-response.json +0 -1
  301. package/fixtures/ttyg/chats/create/question-response-after-chat-creation.json +0 -29
  302. package/fixtures/ttyg/chats/explain-response-3.json +0 -12
  303. package/steps/base-steps.js +0 -29
  304. package/steps/cookie-policy/cookie-consent-banner-steps.js +0 -21
  305. package/steps/cookie-policy/cookie-policy-modal.steps.js +0 -56
  306. package/steps/error-page-steps.js +0 -9
  307. package/steps/explore/class-relationships-steps.js +0 -64
  308. package/steps/graphql/playground-editor-steps.js +0 -46
  309. package/steps/header-steps.js +0 -22
  310. package/steps/monitoring/queries-and-updates-steps.js +0 -20
  311. package/steps/monitoring/system-monitoring-steps.js +0 -40
  312. package/steps/not-found/not-found-steps.js +0 -23
  313. package/steps/rdf-resource-search-steps.js +0 -55
  314. package/steps/rest-api-documentation-steps.js +0 -15
  315. package/steps/setup/connectors-steps.js +0 -32
  316. package/steps/shared-modal-dialog-steps.js +0 -45
  317. package/steps/system-information-steps.js +0 -70
  318. package/steps/widgets/active-repository-widget-steps.js +0 -29
  319. package/steps/widgets/license-widget-steps.js +0 -9
  320. package/steps/widgets/repository-errors-widget-steps.js +0 -21
  321. package/steps/widgets/saved-sparql-queries-widget-steps.js +0 -9
  322. package/stubs/browser-stubs.js +0 -21
  323. package/stubs/graph-config-stubs.js +0 -17
  324. package/stubs/guides/guides-stubs.js +0 -103
  325. package/stubs/saved-queries-stubs.js +0 -5
  326. package/stubs/sparql-stubs.js +0 -10
  327. package/support/connector-commands.js +0 -13
  328. package/support/e2e-security.js +0 -9
  329. package/support/url-commands.js +0 -13
  330. package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-multi-region.spec.js +0 -0
  331. package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-nodes.spec.js +0 -0
  332. package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-properties.spec.js +0 -0
  333. package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration.spec.js +0 -0
  334. package/{e2e-legacy → integration}/cluster/cluster-legend.spec.js +0 -0
  335. package/{e2e-legacy → integration}/cluster/edit-cluster-nodes-modal.spec.js +0 -0
  336. package/{e2e-legacy → integration}/graphql/activate-deactivate-graphql-endpoint.spec.js +0 -0
  337. package/{e2e-legacy → integration}/graphql/delete-graphql-endpoint.spec.js +0 -0
  338. package/{e2e-legacy → integration}/graphql/export-graphql-endpoint-definition.spec.js +0 -0
  339. package/{e2e-legacy → integration}/graphql/set-default-graphql-endpoint.spec.js +0 -0
  340. package/{e2e-legacy/help/system-information → integration/help}/system-information.spec.js +0 -0
  341. package/{e2e-legacy → integration}/home/create-repository.spec.js +0 -0
  342. package/{e2e-legacy → integration}/import/import-server-files-batch-operations.spec.js +0 -0
  343. package/{e2e-legacy → integration}/import/import-user-data-settings-dialog.spec.js +0 -0
  344. package/{e2e-legacy → integration}/import/import-view.spec.js +0 -0
  345. package/{e2e-legacy → integration}/repository/attach-remote-location.spec.js +1 -1
  346. /package/{e2e-legacy → integration}/repository/repository-commands.spec.js +0 -0
  347. /package/{e2e-legacy → integration}/setup/aclmanagement/delete-rule.spec.js +0 -0
  348. /package/{e2e-legacy → integration}/setup/aclmanagement/edit-rule.spec.js +0 -0
  349. /package/{e2e-legacy → integration}/setup/aclmanagement/render-rules.spec.js +0 -0
  350. /package/{e2e-legacy → integration}/setup/aclmanagement/reorder-rules.spec.js +0 -0
  351. /package/{e2e-legacy → integration}/setup/aclmanagement/revert-rules.spec.js +0 -0
  352. /package/{e2e-legacy → integration}/setup/aclmanagement/scopes.spec.js +0 -0
  353. /package/{e2e-legacy → integration}/setup/aclmanagement/update-rules.spec.js +0 -0
  354. /package/{e2e-legacy → integration}/setup/jdbc/jdbc.spec.js +0 -0
  355. /package/{e2e-legacy → integration}/sparql-editor/actions/execute-query.spec.js +0 -0
  356. /package/{e2e-legacy → integration}/sparql-editor/actions/save-query.spec.js +0 -0
  357. /package/{e2e-legacy → integration}/sparql-editor/internationalization.spec.js +0 -0
  358. /package/{e2e-legacy → integration}/sparql-editor/saved-query/delete-query.spec.js +0 -0
  359. /package/{e2e-legacy → integration}/sparql-editor/sparql-editor.spec.js +0 -0
  360. /package/{e2e-legacy → integration}/sparql-editor/yasr/download-as.spec.js +0 -0
  361. /package/{e2e-flaky → integration-flaky}/import/import.server.files.spec.js +0 -0
  362. /package/{e2e-flaky → integration-flaky}/sparql-editor/lucene-connector.spec.js +0 -0
  363. /package/{e2e-flaky → integration-flaky}/sparql-editor/plugins/error-plugin.spec.js +0 -0
@@ -1,160 +0,0 @@
1
- import HomeSteps from '../../steps/home-steps';
2
- import {RdfResourceSearchSteps} from "../../steps/rdf-resource-search-steps";
3
- import ImportSteps from "../../steps/import/import-steps";
4
- import {BaseSteps} from "../../steps/base-steps";
5
- import {BrowserStubs} from "../../stubs/browser-stubs";
6
-
7
- const FILE_TO_IMPORT = 'wine.rdf';
8
-
9
- describe('RDF resource search', () => {
10
- let repositoryId;
11
- beforeEach(() => {
12
- cy.viewport(1280, 1000);
13
- repositoryId = 'rdf-resource-search-' + Date.now();
14
- cy.createRepository({id: repositoryId});
15
- cy.initializeRepository(repositoryId);
16
- cy.enableAutocomplete(repositoryId);
17
- });
18
-
19
- afterEach(() => {
20
- cy.deleteRepository(repositoryId);
21
- });
22
-
23
- it('Search button should not be present when no repo is selected', () => {
24
- HomeSteps.visitAndWaitLoader();
25
- RdfResourceSearchSteps.getComponent().should('not.exist');
26
- });
27
-
28
- it('Search should only be triggered from the home page when a repository is selected', () => {
29
- // When: I visit home page with selected repository
30
- cy.presetRepository(repositoryId);
31
- HomeSteps.visitAndWaitLoader();
32
- // And: I click the button
33
- RdfResourceSearchSteps.clickOnShowViewResourceMessageButton();
34
- // Then: I should be able to type some text in the input on home page
35
- HomeSteps.getRdfResourceSearchInput().type('hasPos');
36
- // And: the autocomplete dropdown should become visible
37
- HomeSteps.getAutocompleteResultsContainer().should('be.visible');
38
- // When: I click the close button
39
- HomeSteps.closeRdfResourceSearchBox();
40
- // The input should be cleared
41
- HomeSteps.getRdfResourceSearchInput().should('have.value', '');
42
- });
43
-
44
- it('should be visible when a repository is selected and the user is not on the Home page', () => {
45
- // When: There is a repository selected and I visit a page other than home.
46
- cy.presetRepository(repositoryId);
47
- ImportSteps.visit();
48
- // Then: Search rdf button should be visible
49
- RdfResourceSearchSteps.getOpenButton().should('be.visible');
50
-
51
- // When: I click the button
52
- RdfResourceSearchSteps.openRdfSearchBox();
53
- // Then: I should be able to type some text in the input
54
- RdfResourceSearchSteps.getRDFResourceSearchInput().type('hasPos');
55
- // And: the autocomplete dropdown should become visible
56
- RdfResourceSearchSteps.getAutocompleteResults().should('be.visible');
57
-
58
- // When: I close the RDF search box
59
- RdfResourceSearchSteps.closeRDFSearchBox();
60
- // And: open again the search box
61
- RdfResourceSearchSteps.openRdfSearchBox();
62
- // Then: The input should have value 'hasPos'
63
- RdfResourceSearchSteps.getRDFResourceSearchInput().should('have.value', 'hasPos');
64
- // And: the autocomplete dropdown should become visible
65
- RdfResourceSearchSteps.getAutocompleteResults().should('be.visible');
66
-
67
- // When: I press 'escape'
68
- BaseSteps.typeEscapeKey();
69
- // Then: Search box should not be visible
70
- RdfResourceSearchSteps.getRDFResourceSearchInput().should('not.be.visible');
71
- });
72
-
73
- it('Search should be persisted on page reload', () => {
74
- // Given: There is a repository selected and I visit a page other than home.
75
- cy.presetRepository(repositoryId);
76
- ImportSteps.visit();
77
- ImportSteps.getView().should('be.visible');
78
- BrowserStubs.stubWindowOpen();
79
- // Then: Search rdf button should be visible
80
- RdfResourceSearchSteps.getOpenButton().should('be.visible');
81
- // When: I open the search resource component
82
- RdfResourceSearchSteps.openRdfSearchBox();
83
- //Then: I should be able to type some text in the input
84
- RdfResourceSearchSteps.getRDFResourceSearchInput().type('hasPos')
85
- .then(() => {
86
- // When: I select option from suggestions
87
- RdfResourceSearchSteps.clickOnAutocompleteSuggestionByPartialText('hasPos')
88
- .then(() => {
89
- // Then: Search result should be opened in new window
90
- cy.get(BrowserStubs.WINDOW_OPEN_ALIAS()).should('have.been.calledWithMatch', `resource?uri=http%3A%2F%2Fwww.w3.org%2Fns%2Forg%23hasPost`, "_blank");
91
- });
92
- });
93
-
94
- // When: I revisit the home page
95
- ImportSteps.visit();
96
- // And: I open again the search box
97
- RdfResourceSearchSteps.openRdfSearchBox();
98
- // Then: The input should have value 'hasPos' from previous search
99
- RdfResourceSearchSteps.getRDFResourceSearchInput().should('have.value', 'hasPos');
100
- // And: the autocomplete dropdown should become visible
101
- RdfResourceSearchSteps.getAutocompleteResults().should('be.visible');
102
-
103
- // When: I press 'escape'
104
- BaseSteps.typeEscapeKey();
105
- // Then: Search box should not be visible
106
- RdfResourceSearchSteps.getRDFResourceSearchInput().should('not.be.visible');
107
- });
108
-
109
- it('Should test RDF resource search box', () => {
110
- // Given: I have a repository with RDF data
111
- cy.presetRepository(repositoryId);
112
- cy.importServerFile(repositoryId, FILE_TO_IMPORT);
113
- // And: I visit the home page
114
- HomeSteps.visitAndWaitLoader();
115
- HomeSteps.getView().should('be.visible');
116
- HomeSteps.getRdfResourceSearchInput().should('be.visible');
117
- RdfResourceSearchSteps.getShowViewResourceMessageButton().should('be.visible');
118
-
119
- // When: I click on the RDF resource search button
120
- RdfResourceSearchSteps.clickOnShowViewResourceMessageButton();
121
- // Then: The input for RDF resource search should be visible (This is the legacy component used prior to the migration)
122
- HomeSteps.getRdfResourceSearchInput().should('have.attr', 'placeholder', 'Search RDF resources...')
123
- .and('be.focused');
124
-
125
- //Navigate away from the Homepage, to be able to test the new resource search box
126
- HomeSteps.visitAndWaitLoader();
127
- BrowserStubs.stubWindowOpen();
128
- HomeSteps.getView().should('be.visible');
129
- HomeSteps.getRdfResourceSearchInput().should('be.visible');
130
- RdfResourceSearchSteps.getShowViewResourceMessageButton().should('be.visible');
131
-
132
- // Then: The input for RDF resource search should not be visible (This is the legacy component used prior to the migration)
133
- HomeSteps.getRdfResourceSearchInput().should('be.visible');
134
- // When: I click on the RDF resource search button
135
- RdfResourceSearchSteps.clickOnShowViewResourceMessageButton();
136
- // Then: The input for RDF resource search should be visible (This is the legacy component used prior to the migration)
137
- HomeSteps.getRdfResourceSearchInput().should('have.attr', 'placeholder', 'Search RDF resources...')
138
- .and('be.focused');
139
-
140
- // When: I type some text in the input
141
- HomeSteps.getRdfResourceSearchInput().type('Dry');
142
- // Then: The autocomplete results should be visible
143
- HomeSteps.getAutocompleteSuggestion().should('be.visible')
144
- .and('have.length', 7);
145
-
146
- // When: The table display button is active
147
- HomeSteps.getTableDisplayButton().click();
148
- // And: click on some suggestion
149
- HomeSteps.getAutocompleteSuggestionByPartialText('http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#').click();
150
- // Then: The clicked suggestion should be opened in new window
151
- cy.get(BrowserStubs.WINDOW_OPEN_ALIAS()).should('have.been.calledWithMatch', `resource?uri=http%3A%2F%2Fwww.w3.org%2FTR%2F2003%2FPR-owl-guide-20031209%2Fwine%23Dry`);
152
-
153
- // When: The visual display button is active
154
- HomeSteps.getVisualDisplayButton().click();
155
- // And: click on some suggestion
156
- HomeSteps.getAutocompleteSuggestionByPartialText('http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#').click();
157
- // Then: The clicked suggestion should be opened in new window
158
- cy.get(BrowserStubs.WINDOW_OPEN_ALIAS()).should('have.been.calledWithMatch', `graphs-visualizations?uri=http%3A%2F%2Fwww.w3.org%2FTR%2F2003%2FPR-owl-guide-20031209%2Fwine%23Dry`);
159
- });
160
- });
@@ -1,65 +0,0 @@
1
- import HomeSteps from '../../steps/home-steps';
2
- import {BrowserStubs} from "../../stubs/browser-stubs";
3
-
4
- describe('View resource autocomplete', () => {
5
-
6
- const FOAT_SNIPPET = '@base <http://example.org/> .\n' +
7
- '@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n' +
8
- '<#green-goblin>\n' +
9
- 'a foaf:Person ; # in the context of the Marvel universe\n' +
10
- 'foaf:name "Green Goblin" .\n';
11
- const GOBLIN_URI = 'http://example.org/#green-goblin';
12
-
13
- let repositoryId;
14
-
15
- beforeEach(() => {
16
- cy.viewport(1280, 1000);
17
- repositoryId = 'view-resource-autocomplete-' + Date.now();
18
- cy.createRepository({id: repositoryId});
19
- BrowserStubs.stubWindowOpen();
20
- });
21
-
22
- afterEach(() => {
23
- cy.deleteRepository(repositoryId);
24
- });
25
-
26
- it('Test homepage autocomplete when it is enabled', () => {
27
- HomeSteps.selectRepo(repositoryId);
28
-
29
- // Type an invalid resource
30
- HomeSteps.getAutocompleteInput().type('hfsafa');
31
- HomeSteps.noAutocompleteToast();
32
-
33
- cy.importRDFTextSnippet(repositoryId, FOAT_SNIPPET);
34
- cy.enableAutocomplete(repositoryId);
35
-
36
- HomeSteps.visitAndWaitLoader();
37
- BrowserStubs.stubWindowOpen();
38
-
39
- // When: The table display button is active
40
- HomeSteps.getAutocompleteDisplayTypeButton('table').click();
41
- // And: select an autocomplete suggestion
42
- HomeSteps.autocompleteText('Green', GOBLIN_URI)
43
- HomeSteps.autocompleteText('Green', GOBLIN_URI)
44
- HomeSteps.getAutocompleteResultElement(GOBLIN_URI).click()
45
- // Then: The clicked suggestion should be opened in new window
46
- cy.get(BrowserStubs.WINDOW_OPEN_ALIAS()).should('be.calledWith', 'resource?uri=http%3A%2F%2Fexample.org%2F%23green-goblin');
47
-
48
- // When: The visual display button is active
49
- HomeSteps.getAutocompleteDisplayTypeButton('visual').click();
50
- // And: select an autocomplete suggestion
51
- HomeSteps.getAutocompleteResultElement(GOBLIN_URI).click()
52
- // Then: clicked suggestion should be opened in new window
53
- cy.get(BrowserStubs.WINDOW_OPEN_ALIAS()).should('be.calledWith', 'graphs-visualizations?uri=http%3A%2F%2Fexample.org%2F%23green-goblin')
54
- });
55
-
56
- it('should not suggest resources in "View resources" when autocomplete is not enabled', () => {
57
- cy.importRDFTextSnippet(repositoryId, FOAT_SNIPPET);
58
-
59
- HomeSteps.visitAndWaitLoader();
60
- HomeSteps.selectRepo(repositoryId);
61
-
62
- HomeSteps.getAutocompleteInput().type('Green');
63
- HomeSteps.noAutocompleteToast();
64
- });
65
- });
@@ -1,51 +0,0 @@
1
- import {MainMenuSteps} from "../../../steps/main-menu-steps";
2
- import {ImportUserDataSteps} from "../../../steps/import/import-user-data-steps";
3
- import {RepositoryErrorsWidgetSteps} from "../../../steps/widgets/repository-errors-widget-steps";
4
- import ImportSteps from "../../../steps/import/import-steps";
5
- import HomeSteps from "../../../steps/home-steps";
6
-
7
- describe('Initial state of the import view with a selected repository', () => {
8
- const RDF_SNIPPET = '@base <http://example.org/> .\n' +
9
- '@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n' +
10
- '<#green-goblin>\n' +
11
- 'a foaf:Person ; # in the context of the Marvel universe\n' +
12
- 'foaf:name "Green Goblin" .\n';
13
-
14
- let repositoryId;
15
-
16
- beforeEach(() => {
17
- repositoryId = 'user-import-' + Date.now();
18
- cy.createRepository({id: repositoryId});
19
- cy.presetRepository(repositoryId);
20
- cy.importRDFTextSnippet(repositoryId, RDF_SNIPPET);
21
- });
22
-
23
- afterEach(() => {
24
- cy.deleteRepository(repositoryId);
25
- });
26
-
27
- it('Should have the correct initial state when navigating via URL', () => {
28
- // When: I visit the import page by URL with a selected repository and at least one imported file
29
- ImportSteps.visit();
30
- // Then:
31
- verifyInitialStateWhenFilesAreImported();
32
- });
33
-
34
- it('Should have the correct initial state when navigating via the navigation bar', () => {
35
- // When: I navigate to the import page using the navigation menu with a selected repository and at least one imported file
36
- HomeSteps.visit();
37
- MainMenuSteps.clickOnMenuImport();
38
- // Then:
39
- verifyInitialStateWhenFilesAreImported();
40
- });
41
-
42
- const verifyInitialStateWhenFilesAreImported = () => {
43
- RepositoryErrorsWidgetSteps.getWidget().should('be.hidden');
44
- ImportSteps.getUploadRdfFilesButton().should('be.visible');
45
- ImportSteps.getUploadFromUrlButton().should('be.visible');
46
- ImportSteps.getUploadTextSnippetButton().should('be.visible');
47
- ImportUserDataSteps.getFileSizeLimitationWarningMessage().should('be.visible');
48
- ImportUserDataSteps.getHelpMessage().should('not.exist');
49
- ImportUserDataSteps.getResourcesTable().should('be.visible');
50
- };
51
- });
@@ -1,45 +0,0 @@
1
- import {MainMenuSteps} from "../../../steps/main-menu-steps";
2
- import {ImportUserDataSteps} from "../../../steps/import/import-user-data-steps";
3
- import {RepositoryErrorsWidgetSteps} from "../../../steps/widgets/repository-errors-widget-steps";
4
- import ImportSteps from "../../../steps/import/import-steps";
5
- import HomeSteps from "../../../steps/home-steps";
6
-
7
- describe('Initial state of the import view with a selected repository and no imported files', () => {
8
-
9
- let repositoryId;
10
-
11
- beforeEach(() => {
12
- repositoryId = 'user-import-' + Date.now();
13
- cy.createRepository({id: repositoryId});
14
- cy.presetRepository(repositoryId);
15
- });
16
-
17
- afterEach(() => {
18
- cy.deleteRepository(repositoryId);
19
- });
20
-
21
- it('Should have the correct initial state when navigating via URL', () => {
22
- // When: I visit the import page via URL with a selected repository and no imported files
23
- ImportSteps.visit();
24
- // Then:
25
- verifyInitialStateWhenNoFilesAreImported();
26
- });
27
-
28
- it('Should have the correct initial state when navigating via the navigation bar', () => {
29
- // When: I visit the import page via the navigation menu with a selected repository and no imported files
30
- HomeSteps.visit();
31
- MainMenuSteps.clickOnMenuImport();
32
- // Then:
33
- verifyInitialStateWhenNoFilesAreImported();
34
- });
35
-
36
- const verifyInitialStateWhenNoFilesAreImported = () => {
37
- RepositoryErrorsWidgetSteps.getWidget().should('be.hidden');
38
- ImportSteps.getUploadRdfFilesButton().should('be.visible');
39
- ImportSteps.getUploadFromUrlButton().should('be.visible');
40
- ImportSteps.getUploadTextSnippetButton().should('be.visible');
41
- ImportUserDataSteps.getFileSizeLimitationWarningMessage().should('be.visible');
42
- ImportUserDataSteps.getHelpMessage().should('be.visible');
43
- ImportUserDataSteps.getResourcesTable().should('be.hidden');
44
- };
45
- });
@@ -1,28 +0,0 @@
1
- import {MainMenuSteps} from "../../../steps/main-menu-steps";
2
- import {ImportUserDataSteps} from "../../../steps/import/import-user-data-steps";
3
- import {RepositoryErrorsWidgetSteps} from "../../../steps/widgets/repository-errors-widget-steps";
4
- import HomeSteps from "../../../steps/home-steps";
5
- import ImportSteps from "../../../steps/import/import-steps";
6
-
7
- describe('Initial state of the import view without a selected repository', () => {
8
-
9
- it('Should have the correct initial state when navigating via URL', () => {
10
- // When: I visit the import page via URL with no repository selected
11
- ImportSteps.visit();
12
- // Then:
13
- verifyInitialStateWhenNoRepositoryIsSelected();
14
- });
15
-
16
- it('Should have the correct initial state when navigating via the navigation bar', () => {
17
- // When: I visit the import page via the navigation menu with no repository selected
18
- HomeSteps.visit();
19
- MainMenuSteps.clickOnMenuImport();
20
- // Then:
21
- verifyInitialStateWhenNoRepositoryIsSelected();
22
- });
23
-
24
- const verifyInitialStateWhenNoRepositoryIsSelected = () => {
25
- RepositoryErrorsWidgetSteps.getWidget().should('be.visible');
26
- ImportUserDataSteps.getResourcesTable().should('not.exist');
27
- };
28
- });
@@ -1,113 +0,0 @@
1
- import HomeSteps from "../../steps/home-steps";
2
- import {MainMenuSteps} from "../../steps/main-menu-steps";
3
- import {LicenseSteps} from "../../steps/license-steps";
4
- import {LicenseStubs} from "../../stubs/license-stubs";
5
-
6
- describe('License with selected repository', () => {
7
- let repositoryId;
8
-
9
- beforeEach(() => {
10
- repositoryId = 'license-init-' + Date.now();
11
- cy.createRepository({id: repositoryId});
12
- cy.presetRepository(repositoryId);
13
- });
14
-
15
- afterEach(() => {
16
- cy.deleteRepository(repositoryId);
17
- });
18
-
19
- it('Should display the correct initial state when navigating via URL and there is no license', () => {
20
- LicenseStubs.stubLicenseHardcoded(false)
21
- LicenseStubs.stubLicenseNotSet();
22
- // Given, I visit the License page via URL with a repository selected and there is no license
23
- LicenseSteps.visit();
24
- // Then,
25
- LicenseSteps.verifyLicenseNotSet();
26
- });
27
-
28
- it('Should display the correct initial state when navigating via the navigation bar and there is no license', () => {
29
- LicenseStubs.stubLicenseHardcoded(false)
30
- LicenseStubs.stubLicenseNotSet();
31
- // Given, I visit the License page via the navigation menu with a repository selected and there is no license
32
- HomeSteps.visit();
33
- MainMenuSteps.clickOnLicense();
34
- // Then,
35
- LicenseSteps.verifyLicenseNotSet();
36
- });
37
-
38
- it('Should display the correct initial state when navigating via URL and there is no valid license', () => {
39
- LicenseStubs.stubLicenseHardcoded(false);
40
- LicenseStubs.stubNoValidLicense();
41
- // Given, I visit the License page via URL with a repository selected and there is no valid license
42
- LicenseSteps.visit();
43
- // Then,
44
- LicenseSteps.verifyNoValidLicense();
45
- });
46
-
47
- it('Should display the correct initial state when navigating via the navigation bar and there is no valid license', () => {
48
- LicenseStubs.stubLicenseHardcoded(false);
49
- LicenseStubs.stubNoValidLicense();
50
- // Given, I visit the License page via the navigation menu with a repository selected and there is no valid license
51
- HomeSteps.visit();
52
- MainMenuSteps.clickOnLicense();
53
- // Then,
54
- LicenseSteps.verifyNoValidLicense();
55
- });
56
-
57
- it('Should display the correct initial state when navigating via URL and there is no valid hardcoded license', () => {
58
- LicenseStubs.stubLicenseHardcoded(true);
59
- LicenseStubs.stubNoValidLicense();
60
- // Given, I visit the License page via URL with a repository selected and there is no valid hardcoded license
61
- LicenseSteps.visit();
62
- // Then,
63
- LicenseSteps.verifyNoValidLicenseHardcoded();
64
- });
65
-
66
- it('Should display the correct initial state when navigating via the navigation bar and there is no valid hardcoded license', () => {
67
- LicenseStubs.stubLicenseHardcoded(true);
68
- LicenseStubs.stubNoValidLicense();
69
- // Given, I visit the License page via the navigation menu with a repository selected and there is no valid license
70
- HomeSteps.visit();
71
- MainMenuSteps.clickOnLicense();
72
- // Then,
73
- LicenseSteps.verifyNoValidLicenseHardcoded();
74
- });
75
-
76
- it('Should display the correct initial state when navigating via URL and there is valid license', () => {
77
- LicenseStubs.stubLicenseHardcoded(false);
78
- LicenseStubs.stubEnterpriseLicense();
79
- // Given, I visit the License page via URL with a repository selected and there is valid license
80
- LicenseSteps.visit();
81
- // Then,
82
- LicenseSteps.verifyValidLicense();
83
- });
84
-
85
- it('Should display the correct initial state when navigating via the navigation bar and there is valid license', () => {
86
- LicenseStubs.stubLicenseHardcoded(false);
87
- LicenseStubs.stubEnterpriseLicense();
88
- // Given, I visit the License page via the navigation menu with a repository selected and there is valid license
89
- HomeSteps.visit();
90
- MainMenuSteps.clickOnLicense();
91
- // Then,
92
- LicenseSteps.verifyValidLicense();
93
- });
94
-
95
- it('Should display the correct initial state when navigating via URL and there is valid hardcoded license', () => {
96
- LicenseStubs.stubLicenseHardcoded(true);
97
- LicenseStubs.stubEnterpriseLicense();
98
- // Given, I visit the License page via URL with a repository selected and there is valid hardcoded license
99
- LicenseSteps.visit();
100
- // Then,
101
- LicenseSteps.verifyValidLicenseHardcoded();
102
- });
103
-
104
- it('Should display the correct initial state when navigating via the navigation bar and there is valid hardcoded license', () => {
105
- LicenseStubs.stubLicenseHardcoded(true);
106
- LicenseStubs.stubEnterpriseLicense();
107
- // Given, I visit the License page via the navigation menu with a repository selected and there is valid hardcoded license
108
- HomeSteps.visit();
109
- MainMenuSteps.clickOnLicense();
110
- // Then,
111
- LicenseSteps.verifyValidLicenseHardcoded();
112
- });
113
- })
@@ -1,103 +0,0 @@
1
- import HomeSteps from "../../steps/home-steps";
2
- import {MainMenuSteps} from "../../steps/main-menu-steps";
3
- import {LicenseSteps} from "../../steps/license-steps";
4
- import {LicenseStubs} from "../../stubs/license-stubs";
5
-
6
- describe('License without selected repository', () => {
7
-
8
- it('Should display the correct initial state when navigating via URL and there is no license', () => {
9
- LicenseStubs.stubLicenseHardcoded(false)
10
- LicenseStubs.stubLicenseNotSet();
11
- // Given, I visit the License page via URL without a repository selected and there is no license
12
- LicenseSteps.visit();
13
- // Then,
14
- LicenseSteps.verifyLicenseNotSet();
15
- });
16
-
17
- it('Should display the correct initial state when navigating via the navigation menu and there is no license', () => {
18
- LicenseStubs.stubLicenseHardcoded(false)
19
- LicenseStubs.stubLicenseNotSet();
20
- // Given, I visit the License page via the navigation menu without a repository selected and there is no license
21
- HomeSteps.visit();
22
- MainMenuSteps.clickOnLicense();
23
- // Then,
24
- LicenseSteps.verifyLicenseNotSet();
25
- });
26
-
27
- it('Should display the correct initial state when navigating via URL and there is no valid license', () => {
28
- LicenseStubs.stubLicenseHardcoded(false);
29
- LicenseStubs.stubNoValidLicense();
30
- // Given, I visit the License page via URL without a repository selected and there is no valid license
31
- LicenseSteps.visit();
32
- // Then,
33
- LicenseSteps.verifyNoValidLicense();
34
- });
35
-
36
- it('Should display the correct initial state when navigating via the navigation menu and there is no valid license', () => {
37
- LicenseStubs.stubLicenseHardcoded(false);
38
- LicenseStubs.stubNoValidLicense();
39
- // Given, I visit the License page via the navigation menu without a repository selected and there is no valid license
40
- HomeSteps.visit();
41
- MainMenuSteps.clickOnLicense();
42
- // Then,
43
- LicenseSteps.verifyNoValidLicense();
44
- });
45
-
46
- it('Should display the correct initial state when navigating via URL and there is no valid hardcoded license', () => {
47
- LicenseStubs.stubLicenseHardcoded(true);
48
- LicenseStubs.stubNoValidLicense();
49
- // Given, I visit the License page via URL without a repository selected and there is no valid hardcoded license
50
- LicenseSteps.visit();
51
- // Then,
52
- LicenseSteps.verifyNoValidLicenseHardcoded();
53
- });
54
-
55
- it('Should display the correct initial state when navigating via the navigation menu and there is no valid hardcoded license', () => {
56
- LicenseStubs.stubLicenseHardcoded(true);
57
- LicenseStubs.stubNoValidLicense();
58
- // Given, I visit the License page via the navigation menu without a repository selected and there is no valid hardcoded license
59
- HomeSteps.visit();
60
- MainMenuSteps.clickOnLicense();
61
- // Then,
62
- LicenseSteps.verifyNoValidLicenseHardcoded();
63
- });
64
-
65
- it('Should display the correct initial state when navigating via URL and there is valid license', () => {
66
- LicenseStubs.stubLicenseHardcoded(false);
67
- LicenseStubs.stubEnterpriseLicense();
68
- // Given, I visit the License page via URL without a repository selected and there is valid license
69
- LicenseSteps.visit();
70
- // Then,
71
- LicenseSteps.verifyValidLicense();
72
- });
73
-
74
- it('Should display the correct initial state when navigating via the navigation menu and there is valid license', () => {
75
- LicenseStubs.stubLicenseHardcoded(false);
76
- LicenseStubs.stubEnterpriseLicense();
77
- // Given, I visit the License page via the navigation menu without a repository selected and there is valid license
78
- HomeSteps.visit();
79
- MainMenuSteps.clickOnLicense();
80
- // Then,
81
- LicenseSteps.verifyValidLicense();
82
- });
83
-
84
-
85
- it('Should display the correct initial state when navigating via URL and there is valid hardcoded license', () => {
86
- LicenseStubs.stubLicenseHardcoded(true);
87
- LicenseStubs.stubEnterpriseLicense();
88
- // Given, I visit the License page via URL without a repository selected and there is valid hardcoded license
89
- LicenseSteps.visit();
90
- // Then,
91
- LicenseSteps.verifyValidLicenseHardcoded();
92
- });
93
-
94
- it('Should display the correct initial state when navigating via the navigation menu and there is valid harcoded license', () => {
95
- LicenseStubs.stubLicenseHardcoded(true);
96
- LicenseStubs.stubEnterpriseLicense();
97
- // Given, I visit the License page via the navigation menu without a repository selected and there is valid hardcoded license
98
- HomeSteps.visit();
99
- MainMenuSteps.clickOnLicense();
100
- // Then,
101
- LicenseSteps.verifyValidLicenseHardcoded();
102
- });
103
- })
@@ -1,36 +0,0 @@
1
- import HomeSteps from "../../../steps/home-steps";
2
- import {MainMenuSteps} from "../../../steps/main-menu-steps";
3
- import {BackupAndRestoreSteps} from "../../../steps/monitoring/backup-and-restore-steps";
4
-
5
- describe('Backup And Restore with selected repository', () => {
6
- let repositoryId;
7
-
8
- beforeEach(() => {
9
- repositoryId = 'backup-and-restore-init-' + Date.now();
10
- cy.createRepository({id: repositoryId});
11
- cy.presetRepository(repositoryId);
12
- });
13
-
14
- afterEach(() => {
15
- cy.deleteRepository(repositoryId);
16
- });
17
-
18
- it('Should display the correct initial state when navigating via URL', () => {
19
- // Given, I visit the Backup And Restore page via URL with a repository selected
20
- BackupAndRestoreSteps.visit();
21
- // Then,
22
- verifyInitialStateWithSelectedRepository();
23
- });
24
-
25
- it('Should display the correct initial state when navigating via the navigation bar', () => {
26
- // Given, I visit the Backup And Restore page via the navigation menu with a repository selected
27
- HomeSteps.visit();
28
- MainMenuSteps.clickOnBackupAndRestore();
29
- // Then,
30
- verifyInitialStateWithSelectedRepository();
31
- });
32
-
33
- const verifyInitialStateWithSelectedRepository = () => {
34
- BackupAndRestoreSteps.getInfoMessageElement().contains('No running backup or restore.');
35
- };
36
- })
@@ -1,25 +0,0 @@
1
- import {ErrorSteps} from "../../../steps/error-steps";
2
- import HomeSteps from "../../../steps/home-steps";
3
- import {MainMenuSteps} from "../../../steps/main-menu-steps";
4
- import {BackupAndRestoreSteps} from "../../../steps/monitoring/backup-and-restore-steps";
5
-
6
- describe('Backup and Restore without selected repository', () => {
7
- it('Should display the correct initial state when navigating via URL', () => {
8
- // Given, I visit the Backup and Restore page via URL without a repository selected
9
- BackupAndRestoreSteps.visit();
10
- // Then,
11
- verifyInitialStateWithSelectedRepository();
12
- });
13
-
14
- it('Should display the correct initial state when navigating via the navigation menu', () => {
15
- // Given, I visit the Backup and Restore page via the navigation menu without a repository selected
16
- HomeSteps.visit();
17
- MainMenuSteps.clickOnBackupAndRestore();
18
- // Then,
19
- verifyInitialStateWithSelectedRepository();
20
- });
21
-
22
- const verifyInitialStateWithSelectedRepository = () => {
23
- BackupAndRestoreSteps.getInfoMessageElement().contains('No running backup or restore.');
24
- };
25
- })