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
@@ -28,14 +28,14 @@ describe('Expand results over owl:sameAs', () => {
28
28
  QueryStubs.stubQueryResults(queryDescription);
29
29
  // When I open the editor
30
30
  // Then I expect that expand results should be enabled by default
31
- YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: ON');
31
+ YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: ON');
32
32
  YasqeSteps.getExpandResultsOverSameAsButton().should('have.class', 'icon-same-as-on');
33
33
  YasqeSteps.executeQuery();
34
34
  cy.wait('@query-1_0_1001_1').its('request.body').should('contain', 'sameAs=true');
35
35
  // When I disable the expand results action
36
36
  YasqeSteps.expandResultsOverSameAs();
37
37
  // Then I expect that the button state should be changed
38
- YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: OFF');
38
+ YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: OFF');
39
39
  YasqeSteps.getExpandResultsOverSameAsButton().should('have.class', 'icon-same-as-off');
40
40
  // And sameAs=false parameter should be sent with the request
41
41
  YasqeSteps.executeQuery();
@@ -44,7 +44,7 @@ describe('Expand results over owl:sameAs', () => {
44
44
  // When I disable the include inferred action
45
45
  YasqeSteps.includeInferredStatements();
46
46
  // Then I expect that sameAs should be disabled too
47
- YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Requires \'Include Inferred\'!');
47
+ YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'data-tooltip', 'Requires \'Include Inferred\'!');
48
48
  YasqeSteps.getExpandResultsOverSameAsButton().should('have.class', 'icon-same-as-off');
49
49
  YasqeSteps.executeQuery();
50
50
  cy.wait('@query-1_0_1001_1').its('request.body').should('contain', 'infer=false&sameAs=false');
@@ -60,7 +60,7 @@ describe('Expand results over owl:sameAs', () => {
60
60
  // Then I expect that "sameAs" element to be enabled by default
61
61
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-on');
62
62
  // and the tooltip of element describes that "sameAs" element is enabled.
63
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: ON');
63
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: ON');
64
64
 
65
65
  // When I open a new Tab.
66
66
  YasguiSteps.openANewTab();
@@ -68,10 +68,10 @@ describe('Expand results over owl:sameAs', () => {
68
68
  // Then I expect that "sameAs" element to be enabled in the new tab.
69
69
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-on');
70
70
  // and the tooltip of element describes that "sameAs" element is enabled.
71
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: ON');
71
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: ON');
72
72
  });
73
73
 
74
- it('should not be enabled when infer is true and sameAs is false in user settings',() => {
74
+ it('should not be enabled when infer is true and sameAs is false in user settings', {retries: {runMode: 2}},() => {
75
75
  QueryStubs.stubInferAndSameAsDefaults(true, false);
76
76
 
77
77
  // When I visit a page with "ontotext-yasgui-web-component" in it.
@@ -81,7 +81,7 @@ describe('Expand results over owl:sameAs', () => {
81
81
  // Then I expect that "sameAs" element to be disabled by default
82
82
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-off');
83
83
  // and the tooltip of element describes that "sameAs" element is disabled.
84
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: OFF');
84
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: OFF');
85
85
 
86
86
  // When I open a new Tab.
87
87
  YasguiSteps.openANewTab();
@@ -89,7 +89,7 @@ describe('Expand results over owl:sameAs', () => {
89
89
  // Then I expect that "sameAs" element to be disabled in the new tab.
90
90
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-off');
91
91
  // and the tooltip of element describes that "sameAs" element is disabled.
92
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: OFF');
92
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: OFF');
93
93
  });
94
94
 
95
95
  it('should not be enabled when infer is false and sameAs is true in user settings', () => {
@@ -100,7 +100,7 @@ describe('Expand results over owl:sameAs', () => {
100
100
  YasguiSteps.getYasgui().should('be.visible');
101
101
 
102
102
  // Then I expect that "sameAs" element to be disabled by default
103
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Requires \'Include Inferred\'!');
103
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Requires \'Include Inferred\'!');
104
104
  // and the tooltip of element describes that "infer" is required.
105
105
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-off');
106
106
 
@@ -110,7 +110,7 @@ describe('Expand results over owl:sameAs', () => {
110
110
  // Then I expect that "sameAs" element to be disabled in the new tab,
111
111
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-off');
112
112
  // and the tooltip of element describes that "infer" is required.
113
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Requires \'Include Inferred\'!');
113
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Requires \'Include Inferred\'!');
114
114
  });
115
115
 
116
116
  it('should not be enabled when infer is false and sameAs is false in user settings', () => {
@@ -123,7 +123,7 @@ describe('Expand results over owl:sameAs', () => {
123
123
  // Then I expect that "sameAs" element to be disabled by default,
124
124
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-off');
125
125
  // and the tooltip of element describes that "infer" is required.
126
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Requires \'Include Inferred\'!');
126
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Requires \'Include Inferred\'!');
127
127
 
128
128
  // When I open a new Tab.
129
129
  YasguiSteps.openANewTab();
@@ -131,6 +131,6 @@ describe('Expand results over owl:sameAs', () => {
131
131
  // Then I expect that "sameAs" element to be disabled in the new tab,
132
132
  YasqeSteps.getActionButton(4).should('have.class', 'icon-same-as-off');
133
133
  // and the tooltip of element describes that "infer" is required.
134
- YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'yasgui-data-tooltip', 'Requires \'Include Inferred\'!');
134
+ YasqeSteps.getActionButtonTooltip(4).should('have.attr', 'data-tooltip', 'Requires \'Include Inferred\'!');
135
135
  });
136
136
  });
@@ -32,7 +32,7 @@ describe('Include inferred statements', () => {
32
32
  // Then I expect that include inferred statements should be enabled by default,
33
33
  YasqeSteps.getIncludeInferredStatementsButton().should('have.class', 'icon-inferred-on');
34
34
  // and the tooltip of element describes that "infer" functionality is enabled.
35
- YasqeSteps.getIncludeInferredStatementsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: ON');
35
+ YasqeSteps.getIncludeInferredStatementsButtonTooltip().should('have.attr', 'data-tooltip', 'Include inferred data in results: ON');
36
36
 
37
37
  // When I execute a query.
38
38
  YasqeSteps.executeQuery();
@@ -46,7 +46,7 @@ describe('Include inferred statements', () => {
46
46
  // Then I expect the include inferred statements should be enabled by default,
47
47
  YasqeSteps.getIncludeInferredStatementsButton().should('have.class', 'icon-inferred-off');
48
48
  // and the tooltip of element describes that "infer" functionality is disabled.
49
- YasqeSteps.getIncludeInferredStatementsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: OFF');
49
+ YasqeSteps.getIncludeInferredStatementsButtonTooltip().should('have.attr', 'data-tooltip', 'Include inferred data in results: OFF');
50
50
 
51
51
  // When I execute a query.
52
52
  YasqeSteps.executeQuery();
@@ -66,7 +66,7 @@ describe('Include inferred statements', () => {
66
66
  // Then I expect that "infer" element to be enabled by default,
67
67
  YasqeSteps.getActionButton(3).should('have.class', 'icon-inferred-on');
68
68
  // and the tooltip of element describes that "infer" functionality is enabled.
69
- YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: ON');
69
+ YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'data-tooltip', 'Include inferred data in results: ON');
70
70
 
71
71
  // When I open a new Tab.
72
72
  YasguiSteps.openANewTab();
@@ -74,7 +74,7 @@ describe('Include inferred statements', () => {
74
74
  // Then I expect that inferred element to be enabled in the new tab,
75
75
  YasqeSteps.getActionButton(3).should('have.class', 'icon-inferred-on');
76
76
  // and the tooltip of element describes that "infer" element is enabled.
77
- YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: ON');
77
+ YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'data-tooltip', 'Include inferred data in results: ON');
78
78
  });
79
79
 
80
80
  it('should not be enabled when user settings is set to false.', () => {
@@ -87,7 +87,7 @@ describe('Include inferred statements', () => {
87
87
  // Then I expect that "infer" element to be disabled by default,
88
88
  YasqeSteps.getActionButton(3).should('have.class', 'icon-inferred-off');
89
89
  // and the tooltip of element describes that "infer" element is disabled.
90
- YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: OFF');
90
+ YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'data-tooltip', 'Include inferred data in results: OFF');
91
91
 
92
92
  // When I open a new Tab.
93
93
  YasguiSteps.openANewTab();
@@ -95,6 +95,6 @@ describe('Include inferred statements', () => {
95
95
  // Then I expect that inferred element to be disabled in the new tab,
96
96
  YasqeSteps.getActionButton(3).should('have.class', 'icon-inferred-off');
97
97
  // and the tooltip of element describes that "infer" element is disabled.
98
- YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: OFF');
98
+ YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'data-tooltip', 'Include inferred data in results: OFF');
99
99
  });
100
100
  });
@@ -1,7 +1,6 @@
1
1
  import {SparqlEditorSteps} from "../../../steps/sparql-editor-steps";
2
2
  import {YasqeSteps} from "../../../steps/yasgui/yasqe-steps";
3
- import {AutocompleteStubs} from "../../../stubs/autocomplete/autocomplete-stubs";
4
- import {RepositoriesStubs} from '../../../stubs/repositories/repositories-stubs.js';
3
+ import {RepositoriesStub} from "../../../stubs/repositories-stub";
5
4
 
6
5
  describe('Expand results over owl:sameAs', () => {
7
6
 
@@ -9,10 +8,9 @@ describe('Expand results over owl:sameAs', () => {
9
8
 
10
9
  beforeEach(() => {
11
10
  repositoryId = 'sparql-editor-' + Date.now();
12
- cy.presetRepository(repositoryId);
13
- RepositoriesStubs.stubOntopRepository(repositoryId);
14
- RepositoriesStubs.stubNameSpaces(repositoryId);
15
- AutocompleteStubs.stubAutocompleteEnabled(false);
11
+ cy.setLocalStorage("ls.repository-id", repositoryId);
12
+ RepositoriesStub.stubOntopRepository(repositoryId);
13
+ RepositoriesStub.stubNameSpaces(repositoryId);
16
14
  });
17
15
 
18
16
  it('should not be able to toggle the sameAs button state if repository is virtual', () => {
@@ -20,14 +18,14 @@ describe('Expand results over owl:sameAs', () => {
20
18
  SparqlEditorSteps.visitSparqlEditorPage();
21
19
 
22
20
  // Then I expect sameAs button to be on.
23
- YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: ON');
21
+ YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: ON');
24
22
  YasqeSteps.getExpandResultsOverSameAsButton().should('have.class', 'icon-same-as-on');
25
23
 
26
24
  // When I click on inferred button
27
25
  YasqeSteps.getExpandResultsOverSameAsButton().click({force: true});
28
26
 
29
27
  // Then I expect sameAs button to not be toggled.
30
- YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'yasgui-data-tooltip', 'Expand results over owl:sameAs: ON');
28
+ YasqeSteps.getExpandResultsOverSameAsButtonTooltip().should('have.attr', 'data-tooltip', 'Expand results over owl:sameAs: ON');
31
29
  YasqeSteps.getExpandResultsOverSameAsButton().should('have.class', 'icon-same-as-on');
32
30
  });
33
31
 
@@ -36,14 +34,14 @@ describe('Expand results over owl:sameAs', () => {
36
34
  SparqlEditorSteps.visitSparqlEditorPage();
37
35
 
38
36
  // Then I expect inferred button to be on.
39
- YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: ON');
37
+ YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'data-tooltip', 'Include inferred data in results: ON');
40
38
  YasqeSteps.getActionButton(3).should('have.class', 'icon-inferred-on');
41
39
 
42
40
  // When I click on inferred button
43
41
  YasqeSteps.getActionButton(3).click({force: true});
44
42
 
45
43
  // Then I expect inferred button to not be toggled.
46
- YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'yasgui-data-tooltip', 'Include inferred data in results: ON');
44
+ YasqeSteps.getActionButtonTooltip(3).should('have.attr', 'data-tooltip', 'Include inferred data in results: ON');
47
45
  YasqeSteps.getActionButton(3).should('have.class', 'icon-inferred-on');
48
46
  });
49
47
  });
@@ -30,7 +30,12 @@ describe('Show saved queries', () => {
30
30
  SavedQueriesDialog.getSavedQueries().should('have.length.gt', 0);
31
31
  });
32
32
 
33
- it('Should be able to select a query from the list',() => {
33
+ it('Should be able to select a query from the list', {
34
+ retries: {
35
+ runMode: 1,
36
+ openMode: 0
37
+ }
38
+ }, () => {
34
39
  // Given I have opened the saved queries popup
35
40
  YasguiSteps.showSavedQueries();
36
41
  SavedQueriesDialog.getSavedQueriesPopup().should('be.visible');
@@ -39,7 +39,7 @@ describe('Abort query', () => {
39
39
  YasqeSteps.hoverOverAbortQueryButton();
40
40
 
41
41
  // Then I expect to see tooltip that describes what happen if click on it.
42
- YasguiSteps.getTooltipRoot().contains('Click to abort query');
42
+ cy.get('div[data-tippy-root]').contains('Click to abort query');
43
43
 
44
44
  // When I click on the button.
45
45
  YasqeSteps.getAbortQueryButton().realClick();
@@ -4,7 +4,6 @@ import {QueryStubs} from "../../../stubs/yasgui/query-stubs";
4
4
  import {SavedQuery} from "../../../steps/yasgui/saved-query";
5
5
  import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
6
6
  import {SaveQueryDialog} from "../../../steps/yasgui/save-query-dialog";
7
- import {RepositorySelectorSteps} from "../../../steps/repository-selector-steps";
8
7
 
9
8
  describe('Edit saved queries', () => {
10
9
 
@@ -20,7 +19,7 @@ describe('Edit saved queries', () => {
20
19
  QueryStubs.stubDefaultQueryResponse(repositoryId);
21
20
 
22
21
  SparqlEditorSteps.visitSparqlEditorPage();
23
- RepositorySelectorSteps.getSelectedRepository().should('contain', repositoryId);
22
+ YasguiSteps.getYasgui().should('be.visible');
24
23
  });
25
24
 
26
25
  afterEach(() => {
@@ -55,7 +54,8 @@ describe('Edit saved queries', () => {
55
54
  SaveQueryDialog.closeSaveQueryDialog();
56
55
  });
57
56
 
58
- it('should allow renaming saved query', () => {
57
+ // TODO skipped until .env can be updated with BE version, which includes the API changes
58
+ it.skip('should allow renaming saved query', () => {
59
59
  // Given I have created a query
60
60
  SavedQuery.create(savedQueryName);
61
61
  // When I open the saved queries popup
@@ -1,15 +1,22 @@
1
- import {SparqlEditorSteps} from '../../../steps/sparql-editor-steps';
2
- import {YasguiSteps} from '../../../steps/yasgui/yasgui-steps';
3
- import {QueryStubs} from '../../../stubs/yasgui/query-stubs';
4
- import {SavedQuery} from '../../../steps/yasgui/saved-query';
5
- import {SavedQueriesDialog} from '../../../steps/yasgui/saved-queries-dialog';
6
- import {LoginSteps} from '../../../steps/login-steps';
1
+ import {SparqlEditorSteps} from "../../../steps/sparql-editor-steps";
2
+ import {YasguiSteps} from "../../../steps/yasgui/yasgui-steps";
3
+ import {QueryStubs} from "../../../stubs/yasgui/query-stubs";
4
+ import {UserAndAccessSteps} from "../../../steps/setup/user-and-access-steps";
5
+ import {SavedQuery} from "../../../steps/yasgui/saved-query";
6
+ import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
7
+ import {LoginSteps} from "../../../steps/login-steps";
7
8
 
8
9
  const USER_NAME = 'saved_query_user';
9
10
  const USER_ADMINISTRATOR = 'admin';
10
11
  const PASSWORD = 'root';
11
12
 
12
- describe('Readonly saved query', () => {
13
+ /**
14
+ * Skipped because this type of implementation is not ideal. If the test fails and the `afterEach` hook
15
+ * fails to toggle security, all remaining tests will fail because security remains enabled.
16
+ *
17
+ * Tests like this should be refactored to use stubs or other alternative implementations.
18
+ */
19
+ describe.skip('Readonly saved query', () => {
13
20
 
14
21
  let repositoryId;
15
22
 
@@ -20,21 +27,23 @@ describe('Readonly saved query', () => {
20
27
  cy.presetRepository(repositoryId);
21
28
  QueryStubs.stubDefaultQueryResponse(repositoryId);
22
29
  cy.createUser({username: USER_NAME, password: PASSWORD});
23
- cy.switchOnSecurity();
30
+ UserAndAccessSteps.visit();
31
+ UserAndAccessSteps.toggleSecurity();
24
32
  });
25
33
 
26
34
  afterEach(() => {
27
- cy.loginAsAdmin().then(() => {
28
- cy.switchOffSecurity(true);
29
- cy.deleteUser(USER_NAME, true);
30
- cy.deleteRepository(repositoryId);
31
- });
35
+ LoginSteps.logout();
36
+ cy.deleteRepository(repositoryId);
37
+ UserAndAccessSteps.visit();
38
+ LoginSteps.loginWithUser(USER_ADMINISTRATOR, PASSWORD);
39
+ UserAndAccessSteps.toggleSecurity();
40
+ cy.deleteUser(USER_NAME);
32
41
  });
33
42
 
34
43
  it('Should not allow modifying a saved query if it is readonly', () => {
35
- SparqlEditorSteps.visitSparqlEditorPage()
36
44
  // Given: There is a public saved query created by a user.
37
45
  LoginSteps.loginWithUser(USER_NAME, PASSWORD);
46
+ SparqlEditorSteps.visitSparqlEditorPage();
38
47
  YasguiSteps.getYasgui().should('be.visible');
39
48
  const savedQueryName = SavedQuery.generateQueryName();
40
49
  SavedQuery.create(savedQueryName);
@@ -42,8 +51,8 @@ describe('Readonly saved query', () => {
42
51
 
43
52
  // When: I log in with another user
44
53
  LoginSteps.loginWithUser(USER_ADMINISTRATOR, PASSWORD);
45
- SparqlEditorSteps.visitSparqlEditorPage();
46
54
  // and open the popup with the saved query.
55
+ SparqlEditorSteps.visitSparqlEditorPage();
47
56
  YasguiSteps.showSavedQueries();
48
57
 
49
58
  // Then: I expect:
@@ -5,8 +5,6 @@ import {QueryStubs} from "../../../stubs/yasgui/query-stubs";
5
5
  import {DEFAULT_QUERY, SavedQuery} from "../../../steps/yasgui/saved-query";
6
6
  import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
7
7
  import {ShareSavedQueryDialog} from "../../../steps/yasgui/share-saved-query-dialog";
8
- import {SaveQueryDialog} from "../../../steps/yasgui/save-query-dialog.js";
9
-
10
8
 
11
9
  describe('Share saved queries', () => {
12
10
 
@@ -37,10 +35,7 @@ describe('Share saved queries', () => {
37
35
  // Then I expect that share query dialog will be opened
38
36
  ShareSavedQueryDialog.getDialog().should('be.visible');
39
37
  ShareSavedQueryDialog.getShareLink().then((shareLink) => {
40
- const url = new URL(shareLink);
41
- expect(url.pathname).to.equal('/sparql');
42
- expect(url.searchParams.get('repositoryId')).to.equal(repositoryId);
43
- expect(url.searchParams.get('savedQueryName')).to.equal(savedQueryName);
38
+ expect(shareLink).to.have.string(`/sparql?savedQueryName=${encodeURIComponent(savedQueryName)}`);
44
39
  });
45
40
  // When I click copy button
46
41
  ShareSavedQueryDialog.copyLink();
@@ -49,7 +44,6 @@ describe('Share saved queries', () => {
49
44
  ApplicationSteps.getSuccessNotifications().should('be.visible');
50
45
  });
51
46
 
52
- // FIX: Skipped because the functionality is not working. There is a bug in the application https://graphwise.atlassian.net/browse/GDB-12633
53
47
  it('Should be able to open a share link in a new editor tab', () => {
54
48
  // Given I have created a query
55
49
  YasguiSteps.getTabs().should('have.length', 1);
@@ -81,29 +75,4 @@ describe('Share saved queries', () => {
81
75
  // YasguiSteps.getTabQuery(0).should('contain', DEFAULT_QUERY);
82
76
  });
83
77
  });
84
-
85
- it('should send correct payload when saving a shared query', () => {
86
- const savedQueryName = SavedQuery.generateQueryName();
87
- const queryBody = 'select *';
88
- QueryStubs.interceptSavedQueryCreation();
89
-
90
- YasguiSteps.createSavedQuery();
91
- SaveQueryDialog.clearQueryNameField();
92
- SaveQueryDialog.writeQueryName(savedQueryName);
93
- SaveQueryDialog.clearQueryField();
94
- SaveQueryDialog.writeQuery(queryBody);
95
- SaveQueryDialog.getIsPublicField().should('not.be.checked');
96
- SaveQueryDialog.toggleIsPublic();
97
-
98
- SaveQueryDialog.saveQuery();
99
-
100
- cy.wait('@saveQuery').then(({request, response}) => {
101
- expect(request.body).to.deep.equal({
102
- name: savedQueryName,
103
- body: queryBody,
104
- shared: true
105
- });
106
- expect(response.statusCode).to.eq(201);
107
- });
108
- });
109
78
  });
@@ -46,7 +46,12 @@ describe('Yasgui tabs', () => {
46
46
  YasguiSteps.getCurrentTabTitle().should('have.text', 'Unnamed');
47
47
  });
48
48
 
49
- it('Should ask for confirmation on tab close through tab context menu', () => {
49
+ it('Should ask for confirmation on tab close through tab context menu', {
50
+ retries: {
51
+ runMode: 1,
52
+ openMode: 0
53
+ }
54
+ }, () => {
50
55
  // Given I have opened yasgui with a single opened tab
51
56
  SparqlEditorSteps.visitSparqlEditorPage();
52
57
  // And I have created a second tab
@@ -63,7 +68,12 @@ describe('Yasgui tabs', () => {
63
68
  YasguiSteps.getCurrentTabTitle().should('have.text', 'Unnamed');
64
69
  });
65
70
 
66
- it('Should ask for confirmation on close other tabs action',() => {
71
+ it('Should ask for confirmation on close other tabs action', {
72
+ retries: {
73
+ runMode: 1,
74
+ openMode: 0
75
+ }
76
+ }, () => {
67
77
  // Given I have opened yasgui with a single opened tab
68
78
  SparqlEditorSteps.visitSparqlEditorPage();
69
79
  // And I have created more tabs
@@ -39,14 +39,18 @@ describe('Yasr result pagination', () => {
39
39
  YasrSteps.getPagination().should('not.be.visible');
40
40
  });
41
41
 
42
- it('should not be visible when results of query are less than configured page size', () => {
42
+ it('should not be visible when results of query are less than configured page size', {
43
+ retries: {
44
+ runMode: 1,
45
+ openMode: 0
46
+ }
47
+ }, () => {
43
48
  // When I visit a page with "ontotext-yasgui" component in it,
44
49
  // and execute a query which returns results less than page size.
45
50
  const queryDescription = new QueryStubDescription()
46
51
  .setRepositoryId(repositoryId)
47
52
  .setTotalElements(3);
48
53
  QueryStubs.stubQueryResults(queryDescription);
49
- YasqeSteps.getExecuteQueryButton().should('be.visible');
50
54
  YasqeSteps.executeQuery();
51
55
 
52
56
  // Then I expect pagination to not be visible
@@ -57,7 +61,6 @@ describe('Yasr result pagination', () => {
57
61
  .setRepositoryId(repositoryId)
58
62
  .setTotalElements(1000);
59
63
  QueryStubs.stubQueryResults(queryDescription);
60
- YasqeSteps.getExecuteQueryButton().should('be.visible');
61
64
  YasqeSteps.executeQuery();
62
65
 
63
66
  // Then I expect pagination to not be visible
@@ -107,7 +110,12 @@ describe('Yasr result pagination', () => {
107
110
  YasrSteps.getResultLink(0, 2).should('have.text', 'ontogen:page_2-row_1-column_2');
108
111
  });
109
112
 
110
- it('should change page when clink on next or previous page button', () => {
113
+ it('should change page when clink on next or previous page button', {
114
+ retries: {
115
+ runMode: 1,
116
+ openMode: 0
117
+ }
118
+ }, () => {
111
119
  // When I visit a page with "ontotext-yasgui" component in it,
112
120
  // and execute a query which returns results more than page size.
113
121
  const queryDescription = new QueryStubDescription()
@@ -143,7 +151,12 @@ describe('Yasr result pagination', () => {
143
151
  YasrSteps.getResultLink(0, 2).should('have.text', 'ontogen:page_1-row_1-column_2');
144
152
  });
145
153
 
146
- it('should should render pages in pager properly', () => {
154
+ it('should should render pages in pager properly', {
155
+ retries: {
156
+ runMode: 1,
157
+ openMode: 1
158
+ }
159
+ }, () => {
147
160
  // When I visit a page with "ontotext-yasgui" component in it,
148
161
  // and execute a query which results are on 6 pages.
149
162
  const queryDescription = new QueryStubDescription()
@@ -21,7 +21,12 @@ describe('Yasr Table plugin', () => {
21
21
 
22
22
  describe('Results formatting', () => {
23
23
 
24
- it('Should format all resources as short uris when results are of type uri', () => {
24
+ it('Should format all resources as short uris when results are of type uri', {
25
+ retries: {
26
+ runMode: 1,
27
+ openMode: 0
28
+ }
29
+ }, () => {
25
30
  // When I execute a query which return results and results type is uri.
26
31
  QueryStubs.stubDefaultQueryResponse();
27
32
  YasqeSteps.executeQuery();
@@ -0,0 +1,57 @@
1
+ import {SparqlEditorSteps} from "../../../../steps/sparql-editor-steps";
2
+ import {YasqeSteps} from "../../../../steps/yasgui/yasqe-steps";
3
+ import {YasrSteps} from "../../../../steps/yasgui/yasr-steps";
4
+ import {QueryStubs} from "../../../../stubs/yasgui/query-stubs";
5
+
6
+ describe('Visual graph button when user execute a CONSTRUCT query', () => {
7
+ let repositoryId;
8
+
9
+ beforeEach(() => {
10
+ repositoryId = 'sparql-editor-' + Date.now();
11
+ QueryStubs.stubQueryCountResponse();
12
+ cy.createRepository({id: repositoryId});
13
+ cy.presetRepository(repositoryId);
14
+ // Given I visit a page with "ontotex-yasgu-web-component" in it.
15
+ SparqlEditorSteps.visitSparqlEditorPage();
16
+ });
17
+
18
+ afterEach(() => {
19
+ cy.deleteRepository(repositoryId);
20
+ });
21
+
22
+ it('Should display a "Visual" graph button configured by user', {
23
+ retries: {
24
+ runMode: 1,
25
+ openMode: 0
26
+ }
27
+ }, () => {
28
+ // When I visit a page with "ontotext-yasgui-web-component" on it,
29
+ // and select a CONSTRUCT query.
30
+ YasqeSteps.executeQuery();
31
+
32
+ // Then I expect "Visual" button to not be visible.
33
+ YasrSteps.getVisualButton().should('not.be.visible');
34
+
35
+ // When I execute a CONSTRUCT query.
36
+ YasqeSteps.pasteQuery(
37
+ 'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>' +
38
+ 'PREFIX onto: <http://www.ontotext.com/>' +
39
+ 'CONSTRUCT {' +
40
+ '?source rdf:type ?destination .' +
41
+ '} WHERE {' +
42
+ '?bag rdf:type ?source .' +
43
+ '?flight rdf:type ?destination' +
44
+ '}');
45
+ YasqeSteps.executeQuery();
46
+
47
+ // Then I expect "Visual" button to be visible.
48
+ YasrSteps.getVisualButton().should('be.visible');
49
+
50
+ // When I execute SELECT query again.
51
+ YasqeSteps.pasteQuery('select * where {?s ?p ?o.}');
52
+ YasqeSteps.executeQuery();
53
+
54
+ // Then I expect "Visual" button to not be visible.
55
+ YasrSteps.getVisualButton().should('not.be.visible');
56
+ });
57
+ });
@@ -1,12 +1,12 @@
1
1
  import {TTYGViewSteps} from "../../steps/ttyg/ttyg-view-steps";
2
2
  import {TTYGStubs} from "../../stubs/ttyg/ttyg-stubs";
3
3
  import {RepositoriesStubs} from "../../stubs/repositories/repositories-stubs";
4
- import {TtygAgentSettingsModalSteps} from "../../steps/ttyg/ttyg-agent-settings-modal.steps";
4
+ import {RepositoriesStub} from "../../stubs/repositories-stub";
5
5
 
6
6
  describe('TTYG agent list', () => {
7
7
  beforeEach(() => {
8
8
  RepositoriesStubs.stubRepositories(0, '/repositories/get-ttyg-repositories.json');
9
- RepositoriesStubs.stubBaseEndpoints('starwars');
9
+ RepositoriesStub.stubBaseEndpoints('starwars');
10
10
  cy.presetRepository('starwars');
11
11
  });
12
12
 
@@ -73,55 +73,4 @@ describe('TTYG agent list', () => {
73
73
  {name: 'Databricks-biomarkers', repositoryId: 'biomarkers', isRepositoryDeleted: false}
74
74
  ]);
75
75
  });
76
-
77
- it('should filter agent actions based on compatibility', () => {
78
- TTYGStubs.stubAgentListWithIncompatibleGet();
79
- // When: I visit the ttyg page with incompatible agents
80
- TTYGViewSteps.visit();
81
- // Then: Only the delete action should be available for incompatible agents
82
- TTYGViewSteps.expandAgentsSidebar();
83
- TTYGViewSteps.getAgentsPanel(0).should('be.visible');
84
- TTYGViewSteps.getOpenAgentActionsButton(0).should('be.visible');
85
- TTYGViewSteps.toggleAgentActionMenu(0);
86
- TTYGViewSteps.getDeleteAgentButton(0).should('be.visible');
87
- TTYGViewSteps.getCloneAgentButton(0).should('not.exist');
88
- TTYGViewSteps.getEditAgentButton(0).should('not.exist');
89
- TTYGViewSteps.toggleAgentActionMenu(0);
90
- // And: All actions should be available for compatible agents
91
- TTYGViewSteps.toggleAgentActionMenu(1);
92
- TTYGViewSteps.getDeleteAgentButton(1).should('be.visible');
93
- TTYGViewSteps.getCloneAgentButton(1).should('be.visible');
94
- TTYGViewSteps.getEditAgentButton(1).should('be.visible');
95
- });
96
-
97
- it('should allow copy of External integration configuration from agent list', () => {
98
- TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-autocomplete-query.json');
99
- TTYGStubs.getExternalUrl();
100
- // Given I have opened the ttyg page
101
- TTYGViewSteps.visit();
102
- cy.wait('@get-agent-list');
103
- // When I select an agent from the sidebar
104
- TTYGViewSteps.expandAgentsSidebar();
105
- TTYGViewSteps.toggleAgentActionMenu(0);
106
- TTYGViewSteps.getExternalIntegrationConfigButton(0).should('be.visible');
107
- TTYGViewSteps.openExternalIntegrationConfigButton(0);
108
- cy.wait('@external-url');
109
- // The url dialog should open
110
- TtygAgentSettingsModalSteps.getExternalIntegrationModal().should('be.visible');
111
- // The dialog should have all the fields
112
- TtygAgentSettingsModalSteps.getAgentUrlField().invoke('val')
113
- .then((val) => {
114
- expect(val).to.equal('asst_G8EtHyT8kAGeDmCa3Nh6y74v');
115
- });
116
-
117
- TtygAgentSettingsModalSteps.getMethodUrlField().invoke('val')
118
- .then((val) => {
119
- expect(val).to.equal('http://user-pc:7200/rest/llm/tool/ttyg/asst_G8EtHyT8kAGeDmCa3Nh6y74v');
120
- });
121
-
122
- TtygAgentSettingsModalSteps.getDifyUrlField().invoke('val')
123
- .then((val) => {
124
- expect(val).to.equal('http://user-pc:7200/rest/llm/ttyg/asst_G8EtHyT8kAGeDmCa3Nh6y74v/dify');
125
- });
126
- });
127
76
  });