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,302 +0,0 @@
1
- import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
2
- import {GuideSteps} from "../../../steps/guides/guide-steps.js";
3
- import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
4
- import {MainMenuSteps} from "../../../steps/main-menu-steps.js";
5
- import {BaseSteps} from "../../../steps/base-steps.js";
6
-
7
- describe('Main Menu Guide steps', () => {
8
-
9
- beforeEach(() => {
10
- GuidesStubs.stubMainMenuGuide();
11
- GuideSteps.visit();
12
- GuideSteps.verifyGuidesListExists();
13
- cy.wait('@getGuides');
14
- GuideSteps.runFirstGuide();
15
- });
16
-
17
- it('Should visit all menus with action', () => {
18
- // Import
19
- GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/2');
20
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
21
- GuideDialogSteps.clickOnNextButton();
22
-
23
- GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/2');
24
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
25
- MainMenuSteps.clickOnMenuImport();
26
- BaseSteps.validateUrl('/import');
27
-
28
- // Create repository
29
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 1/3');
30
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Repositories view to create a repository.');
31
- GuideDialogSteps.clickOnNextButton();
32
-
33
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 2/3');
34
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
35
- MainMenuSteps.clickOnMenuSetup();
36
-
37
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 3/3');
38
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Repositories menu.');
39
- MainMenuSteps.clickOnRepositoriesSubmenu();
40
- BaseSteps.validateUrl('/repository');
41
-
42
- // Class hierarchy
43
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 1/3');
44
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class hierarchy view to inspect the class hierarchy and gain an insight on what the dataset contains.');
45
- GuideDialogSteps.clickOnNextButton();
46
-
47
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 2/3');
48
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
49
- MainMenuSteps.clickOnExplore();
50
-
51
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 3/3');
52
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class hierarchy menu.');
53
- MainMenuSteps.clickOnSubmenuClassHierarchy();
54
- BaseSteps.validateUrl('/hierarchy');
55
-
56
- // Class relationships
57
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 1/3');
58
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class relationships view to explore how classes are connected and understand the relationships between different types of data in your dataset.');
59
- GuideDialogSteps.clickOnNextButton();
60
-
61
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 2/3');
62
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
63
- MainMenuSteps.clickOnExplore();
64
-
65
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 3/3');
66
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class relationships menu.');
67
- MainMenuSteps.clickOnSubmenuClassRelationships();
68
- BaseSteps.validateUrl('/relationships');
69
-
70
- // Visual graph
71
- GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 1/3');
72
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Visual graph view to explore data in a visual manner.');
73
- GuideDialogSteps.clickOnNextButton();
74
-
75
- GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 2/3');
76
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
77
- MainMenuSteps.clickOnExplore();
78
-
79
- GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 3/3');
80
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Visual graph menu.');
81
- MainMenuSteps.clickOnSubmenuVisualGraph();
82
- BaseSteps.validateUrl('/graphs-visualizations');
83
-
84
- // Similarity
85
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 1/3');
86
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to create a Similarity index for your dataset.');
87
- GuideDialogSteps.clickOnNextButton();
88
-
89
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 2/3');
90
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
91
- MainMenuSteps.clickOnExplore();
92
-
93
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 3/3');
94
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Similarity menu.');
95
- MainMenuSteps.clickOnSubmenuSimilarity();
96
- BaseSteps.validateUrl('/similarity');
97
-
98
- // SPARQL
99
- GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 1/2');
100
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the SPARQL Query & Update view to execute queries.');
101
- GuideDialogSteps.clickOnNextButton();
102
-
103
- GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 2/2');
104
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the SPARQL menu.');
105
- MainMenuSteps.clickOnSparqlMenu();
106
- BaseSteps.validateUrl('/sparql');
107
-
108
- // TTYG
109
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 1/3');
110
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Talk to Your Graph view to create an agen');
111
- GuideDialogSteps.clickOnNextButton();
112
-
113
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 2/3');
114
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
115
- MainMenuSteps.clickOnMenuLab();
116
-
117
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 3/3');
118
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
119
- MainMenuSteps.clickOnTTYGSubmenu();
120
- BaseSteps.validateUrl('/ttyg');
121
-
122
- // Autocomplete
123
- GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 1/3');
124
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Autocomplete index view to enable the autocomplete index.');
125
- GuideDialogSteps.clickOnNextButton();
126
-
127
- GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 2/3');
128
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
129
- MainMenuSteps.clickOnMenuSetup();
130
-
131
- GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 3/3');
132
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Autocomplete menu.');
133
- MainMenuSteps.clickOnSubmenuAutocomplete();
134
- BaseSteps.validateUrl('/autocomplete');
135
-
136
- // Connectors
137
- GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 1/2');
138
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
139
- MainMenuSteps.clickOnMenuSetup();
140
-
141
- GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 2/2');
142
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Connectors menu.');
143
- MainMenuSteps.clickOnSubmenuConnectors();
144
- BaseSteps.validateUrl('/connectors');
145
-
146
- // RDF Rank
147
- GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 1/2');
148
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
149
- MainMenuSteps.clickOnMenuSetup();
150
-
151
- GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 2/2');
152
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the RDF Rank menu.');
153
- MainMenuSteps.clickOnSubmenuRDFRank();
154
- BaseSteps.validateUrl('/rdfrank');
155
-
156
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
157
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
158
- });
159
-
160
- it('Should visit all menus with next click', () => {
161
- // Import
162
- GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/2');
163
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
164
- GuideDialogSteps.clickOnNextButton();
165
-
166
- GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/2');
167
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
168
- GuideDialogSteps.clickOnNextButton();
169
- BaseSteps.validateUrl('/import');
170
-
171
- // Create repository
172
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 1/3');
173
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Repositories view to create a repository.');
174
- GuideDialogSteps.clickOnNextButton();
175
-
176
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 2/3');
177
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
178
- GuideDialogSteps.clickOnNextButton();
179
-
180
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 3/3');
181
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Repositories menu.');
182
- GuideDialogSteps.clickOnNextButton();
183
- BaseSteps.validateUrl('/repository');
184
-
185
- // Class hierarchy
186
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 1/3');
187
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class hierarchy view to inspect the class hierarchy and gain an insight on what the dataset contains.');
188
- GuideDialogSteps.clickOnNextButton();
189
-
190
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 2/3');
191
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
192
- GuideDialogSteps.clickOnNextButton();
193
-
194
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 3/3');
195
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class hierarchy menu.');
196
- GuideDialogSteps.clickOnNextButton();
197
- BaseSteps.validateUrl('/hierarchy');
198
-
199
- // Class relationships
200
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 1/3');
201
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class relationships view to explore how classes are connected and understand the relationships between different types of data in your dataset.');
202
- GuideDialogSteps.clickOnNextButton();
203
-
204
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 2/3');
205
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
206
- GuideDialogSteps.clickOnNextButton();
207
-
208
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 3/3');
209
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class relationships menu.');
210
- GuideDialogSteps.clickOnNextButton();
211
- BaseSteps.validateUrl('/relationships');
212
-
213
- // Visual graph
214
- GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 1/3');
215
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Visual graph view to explore data in a visual manner.');
216
- GuideDialogSteps.clickOnNextButton();
217
-
218
- GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 2/3');
219
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
220
- GuideDialogSteps.clickOnNextButton();
221
-
222
- GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 3/3');
223
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Visual graph menu.');
224
- GuideDialogSteps.clickOnNextButton();
225
- BaseSteps.validateUrl('/graphs-visualizations');
226
-
227
- // Similarity
228
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 1/3');
229
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to create a Similarity index for your dataset.');
230
- GuideDialogSteps.clickOnNextButton();
231
-
232
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 2/3');
233
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
234
- GuideDialogSteps.clickOnNextButton();
235
-
236
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 3/3');
237
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Similarity menu.');
238
- GuideDialogSteps.clickOnNextButton();
239
- BaseSteps.validateUrl('/similarity');
240
-
241
- // SPARQL
242
- GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 1/2');
243
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the SPARQL Query & Update view to execute queries.');
244
- GuideDialogSteps.clickOnNextButton();
245
-
246
- GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 2/2');
247
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the SPARQL menu.');
248
- GuideDialogSteps.clickOnNextButton();
249
- BaseSteps.validateUrl('/sparql');
250
-
251
- // TTYG
252
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 1/3');
253
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Talk to Your Graph view to create an agen');
254
- GuideDialogSteps.clickOnNextButton();
255
-
256
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 2/3');
257
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
258
- GuideDialogSteps.clickOnNextButton();
259
-
260
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 3/3');
261
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
262
- GuideDialogSteps.clickOnNextButton();
263
- BaseSteps.validateUrl('/ttyg');
264
-
265
- // Autocomplete
266
- GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 1/3');
267
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Autocomplete index view to enable the autocomplete index.');
268
- GuideDialogSteps.clickOnNextButton();
269
-
270
- GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 2/3');
271
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
272
- GuideDialogSteps.clickOnNextButton();
273
-
274
- GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 3/3');
275
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Autocomplete menu.');
276
- GuideDialogSteps.clickOnNextButton();
277
- BaseSteps.validateUrl('/autocomplete');
278
-
279
- // Connectors
280
- GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 1/2');
281
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
282
- GuideDialogSteps.clickOnNextButton();
283
-
284
- GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 2/2');
285
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Connectors menu.');
286
- GuideDialogSteps.clickOnNextButton();
287
- BaseSteps.validateUrl('/connectors');
288
-
289
- // RDF Rank
290
- GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 1/2');
291
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
292
- GuideDialogSteps.clickOnNextButton();
293
-
294
- GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 2/2');
295
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the RDF Rank menu.');
296
- GuideDialogSteps.clickOnNextButton();
297
- BaseSteps.validateUrl('/rdfrank');
298
-
299
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
300
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
301
- });
302
- });
@@ -1,64 +0,0 @@
1
- import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
2
- import {GuideSteps} from "../../../steps/guides/guide-steps.js";
3
- import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
4
- import {NotFoundSteps} from "../../../steps/not-found/not-found-steps.js";
5
- import {BaseSteps} from "../../../steps/base-steps.js";
6
- import {RepositoriesStubs} from "../../../stubs/repositories/repositories-stubs.js";
7
-
8
- describe('navigation guide', () => {
9
- let repositoryId;
10
-
11
- beforeEach(() => {
12
- repositoryId = 'navigation-guide-' + Date.now();
13
- RepositoriesStubs.stubBaseEndpoints(repositoryId);
14
- cy.createRepository({id: repositoryId});
15
- cy.presetRepository(repositoryId);
16
- GuidesStubs.stubNavigationGuide();
17
- GuideSteps.visit();
18
- GuideSteps.verifyGuidesListExists();
19
- cy.wait('@getGuides');
20
- GuideSteps.runFirstGuide();
21
- });
22
-
23
- afterEach(() => {
24
- cy.deleteRepository(repositoryId);
25
- });
26
-
27
- it('should navigate between microfrontends', () => {
28
- // Given I am on the 404 page, which is an angular view
29
- BaseSteps.getUrl().should('include', '404');
30
- GuideDialogSteps.assertDialogWithTitleIsVisible('Navigation');
31
- GuideDialogSteps.assertDialogWithContentIsVisible('This is a 404 page');
32
- GuideDialogSteps.clickOnNextButton();
33
-
34
- GuideDialogSteps.assertDialogWithTitleIsVisible('Navigation');
35
- GuideDialogSteps.assertDialogWithContentIsVisible('This is the go back home button');
36
-
37
- // When I navigate to the home page
38
- NotFoundSteps.clickGoHomeButton();
39
-
40
- // Then I should see the home page, which is an angularjs view
41
- BaseSteps.getUrl().should('include', '/');
42
- GuideDialogSteps.assertDialogWithTitleIsVisible('Navigation');
43
- GuideDialogSteps.assertDialogWithContentIsVisible('This is the home page');
44
- // When, I navigate to an angular view again (/sparql-new)
45
- GuideDialogSteps.clickOnNextButton();
46
-
47
- // Then I should see the new sparql view, which is an angular view
48
- BaseSteps.getUrl().should('include', 'sparql-new');
49
- GuideDialogSteps.assertDialogWithTitleIsVisible('Navigation');
50
- GuideDialogSteps.assertDialogWithContentIsVisible('This is the new sparql view');
51
-
52
- // When, I navigate to an angularjs view again (import)
53
- GuideDialogSteps.clickOnNextButton();
54
-
55
- // Then I should see the import page, which is an angularjs view
56
- BaseSteps.getUrl().should('include', 'import');
57
- GuideDialogSteps.assertDialogWithTitleIsVisible('Navigation');
58
- GuideDialogSteps.assertDialogWithContentIsVisible('This is the import view');
59
- GuideDialogSteps.clickOnNextButton();
60
-
61
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
62
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended');
63
- });
64
- });
@@ -1,42 +0,0 @@
1
- import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
2
- import {GuideSteps} from "../../../steps/guides/guide-steps.js";
3
- import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
4
- import {RdfRankSteps} from "../../../steps/setup/rdf-rank-steps.js";
5
-
6
- describe('RDF rank', () => {
7
- let repositoryId;
8
-
9
- beforeEach(() => {
10
- repositoryId = 'rdf-rank-guide-step-' + Date.now();
11
- GuidesStubs.stubRDFRankGuide();
12
- cy.createRepository({id: repositoryId});
13
- cy.presetRepository(repositoryId);
14
-
15
- GuideSteps.visit();
16
- GuideSteps.verifyGuidesListExists();
17
- cy.wait('@getGuides');
18
- GuideSteps.runFirstGuide()
19
- });
20
-
21
- afterEach(() => {
22
- cy.deleteRepository(repositoryId);
23
- });
24
-
25
- it('Should compute RDF Rank (User interaction)', () => {
26
- GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank');
27
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on Compute Full to start the RDF Rank computation.');
28
- RdfRankSteps.computeRdfRank();
29
-
30
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
31
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
32
- });
33
-
34
- it('Should compute RDF Rank (Next flow)', () => {
35
- GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank');
36
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on Compute Full to start the RDF Rank computation.');
37
- GuideDialogSteps.clickOnNextButton();
38
-
39
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
40
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
41
- });
42
- });
@@ -1,69 +0,0 @@
1
- import {GuideSteps} from '../../../steps/guides/guide-steps.js';
2
- import createRepoGuideArray from '../../../fixtures/guides/create-repository/create-repository-guide.json';
3
- import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
4
- import {MainMenuSteps} from "../../../steps/main-menu-steps.js";
5
- import {RepositorySteps} from "../../../steps/repository-steps.js";
6
- import {GuidesStubs} from '../../../stubs/guides/guides-stubs.js';
7
-
8
- describe('Create repository guide', () => {
9
- const createRepoGuide = createRepoGuideArray[0];
10
- const repositoryId = createRepoGuide.options.repositoryIdBase = 'create-repo-guide-' + Date.now();
11
-
12
- beforeEach(() => {
13
- GuidesStubs.stubCreateRepositoryGuide(createRepoGuideArray);
14
- GuideSteps.visit();
15
- GuideSteps.verifyGuidesListExists();
16
- cy.wait('@getGuides');
17
- GuideSteps.runGuide(createRepoGuide.guideName.en)
18
- });
19
-
20
- afterEach(() => {
21
- cy.deleteRepository(repositoryId);
22
- });
23
-
24
- it('Should create and select a repository', () => {
25
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 1/7');
26
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Repositories view to create a repository.');
27
- GuideDialogSteps.clickOnNextButton();
28
-
29
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 2/7');
30
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
31
- MainMenuSteps.clickOnMenuSetup();
32
-
33
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 3/7');
34
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Repositories menu.');
35
- MainMenuSteps.clickOnRepositoriesSubmenu();
36
-
37
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 4/7');
38
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Create new repository button.');
39
- RepositorySteps.createRepository();
40
-
41
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 5/7');
42
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the GraphDB Repository button.');
43
- RepositorySteps.clickGDBRepositoryTypeButton();
44
-
45
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 6/7');
46
- GuideDialogSteps.assertDialogWithContentIsVisible(`Enter repository ID: ${repositoryId}`);
47
- RepositorySteps.typeRepoId(repositoryId);
48
- GuideDialogSteps.clickOnNextButton();
49
-
50
- GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 7/7');
51
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Create button.');
52
- RepositorySteps.saveRepository();
53
-
54
- GuideDialogSteps.assertDialogWithTitleIsVisible('Connect to repository — 1/2')
55
- GuideDialogSteps.assertDialogWithContentIsVisible('Click on the repository selection dropdown.');
56
- RepositorySteps.clickRepositoriesDropdown();
57
-
58
- GuideDialogSteps.assertDialogWithTitleIsVisible('Connect to repository — 2/2');
59
- GuideDialogSteps.assertDialogWithContentIsVisible(`Click on the ${repositoryId}`);
60
- RepositorySteps.selectRepositoryFromDropdown(repositoryId);
61
-
62
- GuideDialogSteps.assertDialogWithTitleIsVisible('Repositories');
63
- GuideDialogSteps.assertDialogWithContentIsVisible('Click the connect repository icon');
64
- RepositorySteps.clickConnectRepositoryButton(repositoryId);
65
-
66
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
67
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
68
- })
69
- })
@@ -1,167 +0,0 @@
1
- import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
2
- import {GuideSteps} from "../../../steps/guides/guide-steps.js";
3
- import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
4
- import {YasrSteps} from "../../../steps/yasgui/yasr-steps.js";
5
- import {ResourceSteps} from "../../../steps/resource/resource-steps.js";
6
-
7
- describe('Table Graph explore', () => {
8
- const FILE_TO_IMPORT = 'wine.rdf';
9
- let repositoryId;
10
-
11
- beforeEach(() => {
12
- repositoryId = 'table-graph-explore-guide-step-' + Date.now();
13
- cy.createRepository({id: repositoryId});
14
- cy.presetRepository(repositoryId);
15
- cy.importServerFile(repositoryId, FILE_TO_IMPORT);
16
- });
17
-
18
- afterEach(() => {
19
- cy.deleteRepository(repositoryId);
20
- });
21
-
22
- describe('Table Graph explore without substeps', () => {
23
- beforeEach(() => {
24
- GuidesStubs.stubTableGraphExploreWithoutSubstepsGuide();
25
-
26
- GuideSteps.visit();
27
- GuideSteps.verifyGuidesListExists();
28
- cy.wait('@getGuides');
29
- GuideSteps.runFirstGuide();
30
- });
31
-
32
- it('Should explore visual graph (User interaction)', () => {
33
- // GIVEN: A guide is started, and there are results in the SPARQL editor.
34
- GuideDialogSteps.clickOnNextButton();
35
-
36
- // WHEN: I click on a resource link in the results table.
37
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 1/2');
38
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to explore RDF data in tabular form without writing SPARQL queries. Click on the wine#madeFromGrape IRI to explore it.');
39
- YasrSteps.clickOnResource(48, 1);
40
-
41
- // THEN: I expect to see a dialog in the resource view.
42
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 2/2');
43
- GuideDialogSteps.assertDialogWithContentIsVisible('The table shows RDF statements where the subject is the selected IRI, wine#madeFromGrape. The view can be configured to show statements where the IRI is the subject, predicate, object, context or in any position.');
44
- GuideDialogSteps.clickOnNextButton();
45
-
46
- // AND: The guide should end.
47
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
48
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
49
- });
50
-
51
- it('Should explore visual graph (Next flow)', () => {
52
- // GIVEN: A guide is started, and there are results in the SPARQL editor.
53
- GuideDialogSteps.clickOnNextButton();
54
-
55
- // WHEN: I proceed using the Next button.
56
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 1/2');
57
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to explore RDF data in tabular form without writing SPARQL queries. Click on the wine#madeFromGrape IRI to explore it.');
58
- GuideDialogSteps.clickOnNextButton();
59
-
60
- // THEN: I expect to see a dialog in the resource view.
61
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 2/2');
62
- GuideDialogSteps.assertDialogWithContentIsVisible('The table shows RDF statements where the subject is the selected IRI, wine#madeFromGrape. The view can be configured to show statements where the IRI is the subject, predicate, object, context or in any position.');
63
- GuideDialogSteps.clickOnNextButton();
64
-
65
- // AND: The guide should end.
66
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
67
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended');
68
- });
69
- });
70
-
71
- describe('Table Graph explore', () => {
72
- beforeEach(() => {
73
- GuidesStubs.stubTableGraphExploreGuide();
74
-
75
- GuideSteps.visit();
76
- GuideSteps.verifyGuidesListExists();
77
- cy.wait('@getGuides');
78
- GuideSteps.runFirstGuide();
79
- });
80
-
81
- it('Should explore visual graph (User interaction)', () => {
82
- // GIVEN: A guide is started, and there are results in the SPARQL editor.
83
- GuideDialogSteps.clickOnNextButton();
84
-
85
- // WHEN: I click on the resource link highlighted in the guide dialog.
86
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 1/8');
87
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to explore RDF data in tabular form without writing SPARQL queries. Click on the wine#madeFromGrape IRI to explore it.');
88
- YasrSteps.clickOnResource(48, 1);
89
-
90
- // THEN: I expect to see a dialog in the resource view.
91
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 2/8');
92
- GuideDialogSteps.assertDialogWithContentIsVisible('The table shows RDF statements where the subject is the selected IRI, wine#madeFromGrape. The view can be configured to show statements where the IRI is the subject, predicate, object, context or in any position.');
93
- GuideDialogSteps.clickOnNextButton();
94
-
95
- // AND: The guide continues with substeps.
96
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 3/8');
97
- GuideDialogSteps.assertDialogWithContentIsVisible('You can click on any IRI in the table to navigate to it. Click on vin:WineGrape.');
98
- YasrSteps.clickOnResource(2, 3);
99
-
100
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 4/8');
101
- GuideDialogSteps.assertDialogWithContentIsVisible('The table provides an easy way to view triples in which a given IRI is the subject, predicate, or object.');
102
- GuideDialogSteps.clickOnNextButton();
103
-
104
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 5/8');
105
- GuideDialogSteps.assertDialogWithContentIsVisible('You can configure the view to show RDF statements where the current IRI is the subject, predicate, object, context or in any position. Click on the all tab.This is an extra content');
106
- ResourceSteps.selectRole('all');
107
-
108
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 6/8');
109
- GuideDialogSteps.assertDialogWithContentIsVisible('You can always explore the same data using the Visual graph view. Click on the Visual graph button to try it now.');
110
- ResourceSteps.clickOnVisualGraphButton();
111
-
112
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 7/8');
113
- GuideDialogSteps.assertDialogWithContentIsVisible('The graph shows connections between the start node, vin:WineGrape, and other nodes. Each arrow represents one or more connections (RDF statements).');
114
- GuideDialogSteps.clickOnNextButton();
115
-
116
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 8/8');
117
- GuideDialogSteps.assertDialogWithContentIsVisible('You can click on any IRI in the table to navigate to it. Click on wine#madeFromGrape.');
118
- GuideDialogSteps.clickOnNextButton();
119
-
120
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
121
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
122
- });
123
-
124
- it('Should explore visual graph (Next flow)', () => {
125
- // GIVEN: A guide is started, and there are results in the SPARQL editor.
126
- GuideDialogSteps.clickOnNextButton();
127
-
128
- // WHEN: I proceed using the Next button.
129
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 1/8');
130
- GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to explore RDF data in tabular form without writing SPARQL queries. Click on the wine#madeFromGrape IRI to explore it.');
131
- GuideDialogSteps.clickOnNextButton();
132
-
133
- // THEN: I expect to see a dialog in the resource view.
134
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 2/8');
135
- GuideDialogSteps.assertDialogWithContentIsVisible('The table shows RDF statements where the subject is the selected IRI, wine#madeFromGrape. The view can be configured to show statements where the IRI is the subject, predicate, object, context or in any position.');
136
- GuideDialogSteps.clickOnNextButton();
137
-
138
- // AND: The guide continues with substeps.
139
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 3/8');
140
- GuideDialogSteps.assertDialogWithContentIsVisible('You can click on any IRI in the table to navigate to it. Click on vin:WineGrape.');
141
- YasrSteps.clickOnResource(2, 3);
142
-
143
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 4/8');
144
- GuideDialogSteps.assertDialogWithContentIsVisible('The table provides an easy way to view triples in which a given IRI is the subject, predicate, or object.');
145
- GuideDialogSteps.clickOnNextButton();
146
-
147
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 5/8');
148
- GuideDialogSteps.assertDialogWithContentIsVisible('You can configure the view to show RDF statements where the current IRI is the subject, predicate, object, context or in any position. Click on the all tab.This is an extra content');
149
- GuideDialogSteps.clickOnNextButton();
150
-
151
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 6/8');
152
- GuideDialogSteps.assertDialogWithContentIsVisible('You can always explore the same data using the Visual graph view. Click on the Visual graph button to try it now.');
153
- GuideDialogSteps.clickOnNextButton();
154
-
155
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 7/8');
156
- GuideDialogSteps.assertDialogWithContentIsVisible('The graph shows connections between the start node, vin:WineGrape, and other nodes. Each arrow represents one or more connections (RDF statements).');
157
- GuideDialogSteps.clickOnNextButton();
158
-
159
- GuideDialogSteps.assertDialogWithTitleIsVisible('Explore RDF as a table — 8/8');
160
- GuideDialogSteps.assertDialogWithContentIsVisible('You can click on any IRI in the table to navigate to it. Click on wine#madeFromGrape.');
161
- GuideDialogSteps.clickOnNextButton();
162
-
163
- GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
164
- GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
165
- });
166
- });
167
- });