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.
- package/Dockerfile +11 -0
- package/cypress-flaky.config.js +6 -20
- package/cypress.config.js +6 -45
- package/fixtures/locale-en.json +3342 -0
- package/fixtures/ttyg/agent/get-agent-defaults.json +2 -9
- package/fixtures/ttyg/chats/ask-question.json +2 -12
- package/fixtures/ttyg/chats/create/create-chat-response.json +14 -10
- package/fixtures/ttyg/chats/explain-response-1.json +48 -2
- package/fixtures/ttyg/chats/get-chat.json +1 -6
- package/{e2e-legacy → integration}/cluster/cluster-states.spec.js +3 -3
- package/{e2e-legacy/explore/class-hierarchy → integration/explore}/class.hierarchy.spec.js +1 -1
- package/{e2e-legacy/explore/class-relationships/class-relationships.spec.js → integration/explore/class.relationships.spec.js} +50 -20
- package/{e2e-legacy/explore/graphs-overview → integration/explore}/graphs.overview.spec.js +4 -4
- package/integration/explore/similarity-index/similarity-index-create.spec.js +333 -0
- package/integration/explore/similarity-index/similarity-index.spec.js +88 -0
- package/integration/explore/similarity-index/similarity.spec.js +628 -0
- package/{e2e-legacy → integration}/explore/visual-graph/graphs-config.spec.js +10 -5
- package/{e2e-legacy → integration}/explore/visual-graph/visual-graph-node-labels.spec.js +2 -14
- package/{e2e-legacy → integration}/explore/visual-graph/visual.graph.spec.js +96 -75
- package/{e2e-legacy → integration}/graphql/create-graphql-endpoint.spec.js +2 -0
- package/{e2e-legacy → integration}/graphql/edit-graphql-enpoint.spec.js +1 -1
- package/{e2e-legacy → integration}/graphql/filter-graphql-endpoints-on-management-view.spec.js +1 -1
- package/{e2e-legacy → integration}/graphql/graphql-endpoint-management-view.spec.js +4 -4
- package/{e2e-legacy → integration}/graphql/graphql-playground.spec.js +1 -1
- package/{e2e-legacy → integration}/graphql/import-graphql-endpoint-definitions.spec.js +6 -0
- package/integration/guides/movies-interactive-guide.spec.js +73 -0
- package/{e2e-legacy/help/guides/star-wars-interactive-guide.spec.js → integration/guides/star-wars-interactive-guide.js} +2 -3
- package/integration/home/cookie-policy.spec.js +90 -0
- package/integration/home/documentation-link.spec.js +60 -0
- package/{e2e-legacy → integration}/home/google-analytics.spec.js +6 -4
- package/{e2e-legacy → integration}/home/language-change.spec.js +2 -2
- package/integration/home/language-selector.spec.js +19 -0
- package/integration/home/rdf-resource-search.spec.js +177 -0
- package/integration/home/view-resource-autocomplete.spec.js +52 -0
- package/integration/home/workbench.home.spec.js +30 -0
- package/{e2e-legacy → integration}/import/import-server-files.spec.js +3 -5
- package/{e2e-legacy → integration}/import/import-user-data-file-upload.spec.js +13 -19
- package/{e2e-legacy → integration}/import/import-user-data-text-snippet.spec.js +2 -0
- package/{e2e-legacy → integration}/import/import-user-data-url.spec.js +23 -0
- package/{e2e-legacy → integration}/import/import-user-data.spec.js +4 -11
- package/{e2e-legacy → integration}/license/license.spec.js +4 -4
- package/{e2e-legacy → integration}/monitor/global-operation-statuses-component.spec.js +5 -12
- package/{e2e-legacy/monitor/backup-and-restore/backup-and-restore.spec.js → integration/monitor/monitor.backup-and-restore.spec.js} +2 -2
- package/integration/monitor/monitor.queries.spec.js +31 -0
- package/{e2e-legacy/monitor/system → integration/monitor}/monitor.resources.spec.js +2 -3
- package/{e2e-legacy → integration}/repository/ontop-repository.spec.js +1 -1
- package/{e2e-legacy → integration}/repository/repositories.spec.js +45 -37
- package/{e2e-legacy → integration}/resource/resource.spec.js +7 -17
- package/{e2e-legacy → integration}/setup/aclmanagement/create-rule.spec.js +0 -4
- package/{e2e-legacy/setup/autocomplete → integration/setup}/autocomplete.spec.js +7 -6
- package/{e2e-legacy → integration}/setup/connectors-lucene.spec.js +10 -26
- package/{e2e-legacy → integration}/setup/jdbc/jdbc-create.spec.js +4 -4
- package/integration/setup/my-settings.spec.js +289 -0
- package/{e2e-legacy/setup/namespaces → integration/setup}/namespaces.spec.js +5 -6
- package/{e2e-legacy/setup/plugins → integration/setup}/plugins.spec.js +3 -3
- package/{e2e-legacy/setup/rdf-rank → integration/setup}/rdf-rank.spec.js +5 -3
- package/{e2e-legacy/setup/sparql-template/sparql-template-create.spec.js → integration/setup/sparql-template-create.js} +8 -16
- package/{e2e-legacy/setup/sparql-template → integration/setup}/sparql-templates.spec.js +4 -4
- package/{e2e-legacy/setup/users-and-access → integration/setup}/user-and-access.spec.js +87 -184
- package/{e2e-legacy → integration}/sparql-editor/actions/expand-results-over-sameas.spec.js +12 -12
- package/{e2e-legacy → integration}/sparql-editor/actions/include-inferred-statements.spec.js +6 -6
- package/{e2e-legacy → integration}/sparql-editor/actions/inferred-sameas.spec.js +8 -10
- package/{e2e-legacy → integration}/sparql-editor/actions/show-saved-queries.spec.js +6 -1
- package/{e2e-legacy → integration}/sparql-editor/saved-query/abort-query.spec.js +1 -1
- package/{e2e-legacy → integration}/sparql-editor/saved-query/edit-query.spec.js +3 -3
- package/{e2e-legacy → integration}/sparql-editor/saved-query/readonly-query.spec.js +24 -15
- package/{e2e-legacy → integration}/sparql-editor/saved-query/share-query.spec.js +1 -32
- package/{e2e-legacy → integration}/sparql-editor/yasgui-tabs.spec.js +12 -2
- package/{e2e-legacy → integration}/sparql-editor/yasr/pagination.spec.js +18 -5
- package/{e2e-legacy → integration}/sparql-editor/yasr/table-plugin.spec.js +6 -1
- package/integration/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +57 -0
- package/{e2e-legacy → integration}/ttyg/agent-list.spec.js +2 -53
- package/{e2e-legacy → integration}/ttyg/agent-select-menu.spec.js +2 -25
- package/{e2e-legacy → integration}/ttyg/chat-list.spec.js +14 -3
- package/{e2e-legacy → integration}/ttyg/chat-panel.spec.js +6 -74
- package/{e2e-legacy → integration}/ttyg/clone-agent.spec.js +2 -24
- package/{e2e-legacy → integration}/ttyg/create-agent.spec.js +66 -37
- package/{e2e-legacy → integration}/ttyg/create-chat.spec.js +4 -6
- package/{e2e-legacy → integration}/ttyg/delete-agent.spec.js +2 -1
- package/integration/ttyg/edit-agent.spec.js +99 -0
- package/{e2e-legacy → integration}/ttyg/ttyg-view.spec.js +2 -2
- package/{e2e-flaky → integration-flaky}/explore/visual.graph.spec.js +1 -4
- package/{e2e-flaky → integration-flaky}/import/import-server-files-operations.spec.js +2 -2
- package/{e2e-flaky → integration-flaky}/import/import-user-data-batch-operations.spec.js +3 -3
- package/{e2e-flaky → integration-flaky}/setup/sparql-template-create.js +18 -10
- package/integration-flaky/setup/users-and-access/security-and-free-access.spec.js +54 -0
- package/{e2e-flaky → integration-flaky}/sparql-editor/actions/execute-update-query.spec.js +12 -2
- package/{e2e-flaky → integration-flaky}/sparql-editor/actions/share-query.spec.js +7 -1
- package/{e2e-flaky → integration-flaky}/sparql-editor/yasr/table-plugin.spec.js +7 -3
- package/{e2e-legacy → integration-flaky}/ttyg/ttyg-permission.spec.js +17 -23
- package/npm-shrinkwrap.json +3815 -11004
- package/package.json +42 -58
- package/plugins/index.js +5 -10
- package/steps/application-steps.js +6 -8
- package/steps/class-views-steps.js +7 -35
- package/steps/cluster/cluster-page-steps.js +2 -12
- package/steps/error-steps.js +3 -15
- package/steps/explore/graphs-overview-steps.js +1 -21
- package/steps/explore/similarity-index-create-steps.js +3 -5
- package/steps/explore/similarity-indexes-steps.js +2 -16
- package/steps/graphql/graphql-endpoint-management-steps.js +2 -2
- package/steps/guides/guide-dialog-steps.js +2 -81
- package/steps/guides/guide-steps.js +2 -54
- package/steps/home-steps.js +77 -184
- package/steps/import/import-resource-message-dialog.js +1 -1
- package/steps/import/import-steps.js +16 -12
- package/steps/import/import-user-data-steps.js +1 -5
- package/steps/language-selector-steps.js +2 -2
- package/steps/license-steps.js +9 -91
- package/steps/login-steps.js +6 -31
- package/steps/main-menu-steps.js +19 -244
- package/steps/modal-dialog-steps.js +1 -32
- package/steps/monitoring/backup-and-restore-steps.js +3 -9
- package/steps/operations-statuses-component-steps.js +10 -5
- package/steps/repository-selector-steps.js +3 -3
- package/steps/repository-steps.js +18 -64
- package/steps/resource/resource-steps.js +2 -6
- package/steps/setup/acl-management-steps.js +2 -6
- package/steps/setup/autocomplete-steps.js +8 -23
- package/steps/setup/jdbc-steps.js +4 -18
- package/steps/setup/namespace-steps.js +7 -10
- package/steps/setup/plugins-steps.js +5 -12
- package/steps/setup/rdf-rank-steps.js +9 -23
- package/steps/setup/settings-steps.js +2 -101
- package/steps/setup/sparql-templates-steps.js +1 -19
- package/steps/setup/user-and-access-steps.js +16 -50
- package/steps/sparql-editor-steps.js +2 -8
- package/steps/sparql-steps.js +1 -13
- package/steps/toaster-steps.js +6 -18
- package/steps/ttyg/chat-panel-steps.js +2 -40
- package/steps/ttyg/ttyg-agent-settings-modal.steps.js +31 -136
- package/steps/ttyg/ttyg-view-steps.js +10 -80
- package/steps/visual-graph-steps.js +10 -106
- package/steps/yasgui/yasgui-loader.js +3 -3
- package/steps/yasgui/yasgui-steps.js +1 -1
- package/steps/yasgui/yasqe-steps.js +4 -35
- package/steps/yasgui/yasr-steps.js +3 -73
- package/stubs/autocomplete/autocomplete-stubs.js +0 -7
- package/stubs/environment-stubs.js +1 -9
- package/stubs/license-stubs.js +0 -51
- package/stubs/repositories/repositories-stubs.js +75 -180
- package/stubs/repositories-stub.js +73 -0
- package/stubs/security-stubs.js +0 -12
- package/stubs/similarity-index-stubs.js +0 -4
- package/stubs/ttyg/ttyg-stubs.js +15 -64
- package/stubs/yasgui/query-stubs.js +1 -5
- package/support/commands.js +1 -22
- package/support/{e2e.js → index.js} +3 -9
- package/support/repository-commands.js +4 -29
- package/support/settings-commands.js +1 -33
- package/support/user-commands.js +4 -9
- package/utils/html-util.js +4 -24
- package/.editorconfig +0 -17
- package/.nycrc +0 -10
- package/cypress-legacy.config.js +0 -47
- package/cypress-security.config.js +0 -36
- package/e2e-flaky/import/import-user-data-url.spec.js +0 -63
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository-without-class-hierarchy.spec.js +0 -42
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository.spec.js +0 -43
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-without-selected-repository.spec.js +0 -30
- package/e2e-legacy/explore/class-relationships/class-relationships-repository-with-data.spec.js +0 -42
- package/e2e-legacy/explore/class-relationships/class-relationships-with-selected-repository.spec.js +0 -39
- package/e2e-legacy/explore/class-relationships/class-relationships-without-selected-repository.spec.js +0 -21
- package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-with-selected-repository.spec.js +0 -44
- package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-without-selected-repository.spec.js +0 -32
- package/e2e-legacy/explore/similarity-index/similarity-index-with-repository.spec.js +0 -38
- package/e2e-legacy/explore/similarity-index/similarity-index-without-repository.spec.js +0 -21
- package/e2e-legacy/explore/visual-graph/node-info-panel.spec.js +0 -58
- package/e2e-legacy/explore/visual-graph/visual-graph-links-limit.spec.js +0 -140
- package/e2e-legacy/explore/visual-graph/visual-graph-with-selected-repository.js +0 -38
- package/e2e-legacy/explore/visual-graph/visual-graph-without-selected-repository.js +0 -21
- package/e2e-legacy/graphql/graphql-endpoint-management-with-endpoints.spec.js +0 -43
- package/e2e-legacy/graphql/graphql-endpoint-management-with-selected-repository.spec.js +0 -39
- package/e2e-legacy/graphql/graphql-endpoint-management-without-selected-repository.spec.js +0 -21
- package/e2e-legacy/graphql/graphql-playground-with-endpoints.spec.js +0 -40
- package/e2e-legacy/graphql/graphql-playground-with-selected-repository.spec.js +0 -38
- package/e2e-legacy/graphql/graphql-playground-without-selected-repository.spec.js +0 -22
- package/e2e-legacy/graphql/graphql-theme.spec.js +0 -73
- package/e2e-legacy/guides/autocomplete/enable-autocomplete-guide.spec.js +0 -49
- package/e2e-legacy/guides/class-hierarcy/class-hierarchy-guide.spec.js +0 -89
- package/e2e-legacy/guides/class-relations/class-relations-guide.spec.js +0 -76
- package/e2e-legacy/guides/connectors/connectors-guide.spec.js +0 -163
- package/e2e-legacy/guides/create-similarity-index/create-similarity-index-guide.spec.js +0 -74
- package/e2e-legacy/guides/download-guide-resource/download-guide-resource-guide.js +0 -55
- package/e2e-legacy/guides/execute-sparql-query/execute-sparql-query-guide.spec.js +0 -92
- package/e2e-legacy/guides/import-rdf-file/confirm-duplicate-rdf-file.spec.js +0 -63
- package/e2e-legacy/guides/import-rdf-file/import-rdf-file.spec.js +0 -105
- package/e2e-legacy/guides/main-menu/main-menu-guide.spec.js +0 -302
- package/e2e-legacy/guides/navigation/navigation-guide.spec.js +0 -64
- package/e2e-legacy/guides/rdf-rank/rdf-rank-guide.spec.js +0 -42
- package/e2e-legacy/guides/repositories/create-repository-guide.spec.js +0 -69
- package/e2e-legacy/guides/table-graph-explore/table-graph-explore-guide.spec.js +0 -167
- package/e2e-legacy/guides/ttyg/configure-agent/configure-agent-guide.spec.js +0 -157
- package/e2e-legacy/guides/ttyg/conversation/ttyg-conversation-guide.spec.js +0 -92
- package/e2e-legacy/guides/ttyg/edit-agent/edit-ttyg-agent-guide.spec.js +0 -88
- package/e2e-legacy/guides/visual-graph/visual-graph-guide.spec.js +0 -372
- package/e2e-legacy/guides/welcome/welcome-guide.spec.js +0 -36
- package/e2e-legacy/help/guides/guides-autostart.spec.js +0 -126
- package/e2e-legacy/help/guides/guides-confirm-cancel-dialog.js +0 -83
- package/e2e-legacy/help/guides/guides-with-repository.spec.js +0 -32
- package/e2e-legacy/help/guides/guides-without-repository.spec.js +0 -20
- package/e2e-legacy/help/guides/movies-interactive-guide.spec.js +0 -71
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-with-repository.spec.js +0 -32
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-without-repository.spec.js +0 -20
- package/e2e-legacy/help/system-information/system-information-with-repository.spec.js +0 -32
- package/e2e-legacy/help/system-information/system-information-without-repository.spec.js +0 -20
- package/e2e-legacy/home/cookie-policy/cookie-policy.spec.js +0 -182
- package/e2e-legacy/home/documentation-link.spec.js +0 -41
- package/e2e-legacy/home/home-page-with-selected-repository.spec.js +0 -69
- package/e2e-legacy/home/home-page-without-repositories.spec.js +0 -87
- package/e2e-legacy/home/home-page-without-selected-repository.spec.js +0 -59
- package/e2e-legacy/home/rdf-resource-search.spec.js +0 -160
- package/e2e-legacy/home/view-resource-autocomplete.spec.js +0 -65
- package/e2e-legacy/import/initial-state/import-page-with-selected-repositor.js +0 -51
- package/e2e-legacy/import/initial-state/import-page-with-selected-repository-without-imported-files.js +0 -45
- package/e2e-legacy/import/initial-state/import-page-without-selected-repository.spec.js +0 -28
- package/e2e-legacy/license/license-with-repository.spec.js +0 -113
- package/e2e-legacy/license/license-without-repository.spec.js +0 -103
- package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-with-repository.spec.js +0 -36
- package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-without-repository.spec.js +0 -25
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-with-repository.spec.js +0 -39
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-without-repository.spec.js +0 -21
- package/e2e-legacy/monitor/system/system-monitoring-with-repository.spec.js +0 -32
- package/e2e-legacy/monitor/system/system-monitoring-without-repository.spec.js +0 -20
- package/e2e-legacy/not-found/not-found.spec.js +0 -23
- package/e2e-legacy/repository/url-with-repository-id-parameter.spec.js +0 -181
- package/e2e-legacy/setup/aclmanagement/acl-management-with-selected repository.spec.js +0 -40
- package/e2e-legacy/setup/aclmanagement/acl-management-without-repositories.spec.js +0 -21
- package/e2e-legacy/setup/autocomplete/autocomplete-with-repository.spec.js +0 -40
- package/e2e-legacy/setup/autocomplete/autocomplete-without-repository.spec.js +0 -27
- package/e2e-legacy/setup/cluster/cluster-initial-state-with-cluster.spec.js +0 -34
- package/e2e-legacy/setup/cluster/cluster-initial-state-without-cluster.spec.js +0 -25
- package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js +0 -41
- package/e2e-legacy/setup/connectors/connectors-initial-state-without-repositories.spec.js +0 -21
- package/e2e-legacy/setup/jdbc/jdbc-with-repository.spec.js +0 -39
- package/e2e-legacy/setup/jdbc/jdbc-without-repository.spec.js +0 -27
- package/e2e-legacy/setup/namespaces/namespaces-with-repository.spec.js +0 -44
- package/e2e-legacy/setup/namespaces/namespaces-without-repository.spec.js +0 -27
- package/e2e-legacy/setup/plugins/plugins-with-repository.spec.js +0 -38
- package/e2e-legacy/setup/plugins/plugins-without-repository.spec.js +0 -28
- package/e2e-legacy/setup/rdf-rank/rdf-rank-with-repository.spec.js +0 -40
- package/e2e-legacy/setup/rdf-rank/rdf-rank-without-repository.spec.js +0 -30
- package/e2e-legacy/setup/repositories/repositories-view-with-repositories.spec.js +0 -40
- package/e2e-legacy/setup/repositories/repositories-view-without-repositories.spec.js +0 -28
- package/e2e-legacy/setup/settings/my-settings-initial-state.spec.js +0 -86
- package/e2e-legacy/setup/settings/my-settings.spec.js +0 -207
- package/e2e-legacy/setup/sparql-template/sparql-template-with-repository.spec.js +0 -39
- package/e2e-legacy/setup/sparql-template/sparql-template-without-repository.spec.js +0 -29
- package/e2e-legacy/setup/users-and-access/users-and-access-initial-state.spec.js +0 -25
- package/e2e-legacy/sparql-editor/sparql-page-with-selected-repository.spec.js +0 -33
- package/e2e-legacy/sparql-editor/sparql-page-without-selected-repository.spec.js +0 -26
- package/e2e-legacy/sparql-editor/yasqe-themes.spec.js +0 -54
- package/e2e-legacy/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +0 -106
- package/e2e-legacy/sparql-editor/yasr/yasr.spec.js +0 -80
- package/e2e-legacy/ttyg/edit-agent.spec.js +0 -178
- package/e2e-legacy/ttyg/ttyg-initial-state-with-configured-api-key.spec.js +0 -46
- package/e2e-legacy/ttyg/ttyg-initial-state-with-selected-repository.spec.js +0 -45
- package/e2e-legacy/ttyg/ttyg-initial-state-without-repositories.spec.js +0 -21
- package/e2e-security/repository/url-with-repository-id-parameter.spec.js +0 -57
- package/e2e-security/setup/home/cookie-policy.spec.js +0 -290
- package/e2e-security/setup/users-and-access/create-user-permissions.spec.js +0 -193
- package/e2e-security/setup/users-and-access/graphql-user.spec.js +0 -126
- package/e2e-security/setup/users-and-access/repo-admin-role.spec.js +0 -70
- package/e2e-security/setup/users-and-access/turn-on-security-and-password-change.spec.js +0 -99
- package/e2e-security/setup/users-and-access/user-and-access.spec.js +0 -87
- package/e2e-security/setup/users-and-access/users-and-access-initial-state.spec.js +0 -38
- package/eslint.config.js +0 -39
- package/fixtures/graph/graph-configurations.json +0 -59
- package/fixtures/guides/autocomplete/enable-autocomplete-guide.json +0 -12
- package/fixtures/guides/class-hierarchy/class-hierarchy-guide.json +0 -35
- package/fixtures/guides/class-relations/class-relations-guide.json +0 -33
- package/fixtures/guides/confirm-cancel-dialog/confirm-cancel-dialog-guide.json +0 -15
- package/fixtures/guides/connectors/connectors-guide.json +0 -66
- package/fixtures/guides/connectors/lucene-connector-guide.json +0 -120
- package/fixtures/guides/create-repository/create-repository-guide.json +0 -25
- package/fixtures/guides/create-similarity-index/create-similarity-index-guide.json +0 -36
- package/fixtures/guides/download-guide-resource/download-guide-resource-guide.json +0 -25
- package/fixtures/guides/download-resource.ttl +0 -629
- package/fixtures/guides/execute-sparql-query/execute-sparql-query-guide.json +0 -54
- package/fixtures/guides/import-rdf-file/confirm-duplicate-rdf-file-guide.json +0 -30
- package/fixtures/guides/import-rdf-file/import-rdf-file-guide.json +0 -21
- package/fixtures/guides/main-menu/main-menu-guide.json +0 -98
- package/fixtures/guides/navigation/navigation-guide.json +0 -60
- package/fixtures/guides/rdf-rank/rdf-rank-guide.json +0 -18
- package/fixtures/guides/table-graph-explore/table-graph-explore-guide.json +0 -51
- package/fixtures/guides/table-graph-explore/table-graph-explore-without-substeps-guide.json +0 -25
- package/fixtures/guides/ttyg/configure-agent/configure-ttyg-agent-guide.json +0 -74
- package/fixtures/guides/ttyg/conversation/ttyg-conversation-guide.json +0 -26
- package/fixtures/guides/ttyg/edit-ttyg-agent/edit-ttyg-agent-guide.json +0 -22
- package/fixtures/guides/visual-graph/visual-graph-config-guide.json +0 -39
- package/fixtures/guides/visual-graph/visual-graph-guide.json +0 -85
- package/fixtures/guides/welcome/welcome-guide.json +0 -18
- package/fixtures/repositories/free-access.json +0 -13
- package/fixtures/similarity/get-ttyg-similarity-instances.json +0 -10
- package/fixtures/ttyg/agent/get-agent-defaults-assistant-api.json +0 -44
- package/fixtures/ttyg/agent/get-agent-list-with-incompatible-agents.json +0 -79
- package/fixtures/ttyg/agent/get-similarity-indexes-for-another-repo.json +0 -8
- package/fixtures/ttyg/agent/get-similarity-indexes.json +0 -22
- package/fixtures/ttyg/chats/ask-question-cancel.json +0 -12
- package/fixtures/ttyg/chats/cancel-question-response.json +0 -1
- package/fixtures/ttyg/chats/create/question-response-after-chat-creation.json +0 -29
- package/fixtures/ttyg/chats/explain-response-3.json +0 -12
- package/steps/base-steps.js +0 -29
- package/steps/cookie-policy/cookie-consent-banner-steps.js +0 -21
- package/steps/cookie-policy/cookie-policy-modal.steps.js +0 -56
- package/steps/error-page-steps.js +0 -9
- package/steps/explore/class-relationships-steps.js +0 -64
- package/steps/graphql/playground-editor-steps.js +0 -46
- package/steps/header-steps.js +0 -22
- package/steps/monitoring/queries-and-updates-steps.js +0 -20
- package/steps/monitoring/system-monitoring-steps.js +0 -40
- package/steps/not-found/not-found-steps.js +0 -23
- package/steps/rdf-resource-search-steps.js +0 -55
- package/steps/rest-api-documentation-steps.js +0 -15
- package/steps/setup/connectors-steps.js +0 -32
- package/steps/shared-modal-dialog-steps.js +0 -45
- package/steps/system-information-steps.js +0 -70
- package/steps/widgets/active-repository-widget-steps.js +0 -29
- package/steps/widgets/license-widget-steps.js +0 -9
- package/steps/widgets/repository-errors-widget-steps.js +0 -21
- package/steps/widgets/saved-sparql-queries-widget-steps.js +0 -9
- package/stubs/browser-stubs.js +0 -21
- package/stubs/graph-config-stubs.js +0 -17
- package/stubs/guides/guides-stubs.js +0 -103
- package/stubs/saved-queries-stubs.js +0 -5
- package/stubs/sparql-stubs.js +0 -10
- package/support/connector-commands.js +0 -13
- package/support/e2e-security.js +0 -9
- package/support/url-commands.js +0 -13
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-multi-region.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-nodes.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-properties.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-legend.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/edit-cluster-nodes-modal.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/activate-deactivate-graphql-endpoint.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/delete-graphql-endpoint.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/export-graphql-endpoint-definition.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/set-default-graphql-endpoint.spec.js +0 -0
- package/{e2e-legacy/help/system-information → integration/help}/system-information.spec.js +0 -0
- package/{e2e-legacy → integration}/home/create-repository.spec.js +0 -0
- package/{e2e-legacy → integration}/import/import-server-files-batch-operations.spec.js +0 -0
- package/{e2e-legacy → integration}/import/import-user-data-settings-dialog.spec.js +0 -0
- package/{e2e-legacy → integration}/import/import-view.spec.js +0 -0
- package/{e2e-legacy → integration}/repository/attach-remote-location.spec.js +1 -1
- /package/{e2e-legacy → integration}/repository/repository-commands.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/delete-rule.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/edit-rule.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/render-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/reorder-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/revert-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/scopes.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/update-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/jdbc/jdbc.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/actions/execute-query.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/actions/save-query.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/internationalization.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/saved-query/delete-query.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/sparql-editor.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/yasr/download-as.spec.js +0 -0
- /package/{e2e-flaky → integration-flaky}/import/import.server.files.spec.js +0 -0
- /package/{e2e-flaky → integration-flaky}/sparql-editor/lucene-connector.spec.js +0 -0
- /package/{e2e-flaky → integration-flaky}/sparql-editor/plugins/error-plugin.spec.js +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {QueriesAndUpdatesSteps} from "../../../steps/monitoring/queries-and-updates-steps";
|
|
4
|
-
|
|
5
|
-
describe('Queries and Updates with selected repository', () => {
|
|
6
|
-
let repositoryId;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
repositoryId = 'queries-and-updates-init-' + Date.now();
|
|
10
|
-
cy.createRepository({id: repositoryId});
|
|
11
|
-
cy.presetRepository(repositoryId);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
afterEach(() => {
|
|
15
|
-
cy.deleteRepository(repositoryId);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
19
|
-
// Given, I visit the Query and Updates page via URL with a repository selected
|
|
20
|
-
QueriesAndUpdatesSteps.visit();
|
|
21
|
-
// Then,
|
|
22
|
-
verifyInitialStateWithSelectedRepository();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it('Should display the correct initial state when navigating via the navigation bar', () => {
|
|
26
|
-
// Given, I visit the Query and Updates page via the navigation menu with a repository selected
|
|
27
|
-
HomeSteps.visit();
|
|
28
|
-
MainMenuSteps.clickOnQueryAndUpdate();
|
|
29
|
-
// Then,
|
|
30
|
-
verifyInitialStateWithSelectedRepository();
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const verifyInitialStateWithSelectedRepository = () => {
|
|
34
|
-
QueriesAndUpdatesSteps.getQueryAndUpdatePage().should('be.visible');
|
|
35
|
-
QueriesAndUpdatesSteps.getPauseButton().should('be.visible');
|
|
36
|
-
QueriesAndUpdatesSteps.getNoRunningQueriesOrUpdates().should('be.visible')
|
|
37
|
-
.contains('No running queries or updates');
|
|
38
|
-
};
|
|
39
|
-
})
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {ErrorSteps} from "../../../steps/error-steps";
|
|
2
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
3
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
4
|
-
import {QueriesAndUpdatesSteps} from "../../../steps/monitoring/queries-and-updates-steps";
|
|
5
|
-
|
|
6
|
-
describe('Query and Updates without selected repository', () => {
|
|
7
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
8
|
-
// Given, I visit the Query and Updates page via URL without a repository selected
|
|
9
|
-
QueriesAndUpdatesSteps.visit();
|
|
10
|
-
// Then,
|
|
11
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
15
|
-
// Given, I visit the Query and Updates page via the navigation menu without a repository selected
|
|
16
|
-
HomeSteps.visit();
|
|
17
|
-
MainMenuSteps.clickOnQueryAndUpdate();
|
|
18
|
-
// Then,
|
|
19
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
20
|
-
});
|
|
21
|
-
})
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {SystemMonitoringSteps} from "../../../steps/monitoring/system-monitoring-steps";
|
|
4
|
-
|
|
5
|
-
describe('System monitoring with selected repository', () => {
|
|
6
|
-
let repositoryId;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
repositoryId = 'system-monitoring-init-' + Date.now();
|
|
10
|
-
cy.createRepository({id: repositoryId});
|
|
11
|
-
cy.presetRepository(repositoryId);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
afterEach(() => {
|
|
15
|
-
cy.deleteRepository(repositoryId);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
19
|
-
// Given, I visit the System monitoring page via URL with a repository selected
|
|
20
|
-
SystemMonitoringSteps.visit();
|
|
21
|
-
// Then,
|
|
22
|
-
SystemMonitoringSteps.verifyInitialStateWithSelectedRepository();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it('Should display the correct initial state when navigating via the navigation bar', () => {
|
|
26
|
-
// Given, I visit the System monitoring page via the navigation menu with a repository selected
|
|
27
|
-
HomeSteps.visit();
|
|
28
|
-
MainMenuSteps.clickOnSystemMonitoring();
|
|
29
|
-
// Then,
|
|
30
|
-
SystemMonitoringSteps.verifyInitialStateWithSelectedRepository();
|
|
31
|
-
});
|
|
32
|
-
})
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {SystemMonitoringSteps} from "../../../steps/monitoring/system-monitoring-steps";
|
|
4
|
-
|
|
5
|
-
describe('System monitoring without selected repository', () => {
|
|
6
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
7
|
-
// Given, I visit the System monitoring page via URL without a repository selected
|
|
8
|
-
SystemMonitoringSteps.visit();
|
|
9
|
-
// Then,
|
|
10
|
-
SystemMonitoringSteps.verifyInitialStateWithSelectedRepository();
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
14
|
-
// Given, I visit the System monitoring page via the navigation menu without a repository selected
|
|
15
|
-
HomeSteps.visit();
|
|
16
|
-
MainMenuSteps.clickOnSystemMonitoring();
|
|
17
|
-
// Then,
|
|
18
|
-
SystemMonitoringSteps.verifyInitialStateWithSelectedRepository();
|
|
19
|
-
});
|
|
20
|
-
})
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {NotFoundSteps} from "../../steps/not-found/not-found-steps.js";
|
|
2
|
-
|
|
3
|
-
describe('Not found page', () => {
|
|
4
|
-
|
|
5
|
-
it('Should display the 404 not found page for an unknown route', () => {
|
|
6
|
-
// Given, I navigate to an unknown route
|
|
7
|
-
NotFoundSteps.visit('/unknown-route');
|
|
8
|
-
|
|
9
|
-
// Then, I expect to see the 404 not found page
|
|
10
|
-
NotFoundSteps.getNotFoundBanner().should('be.visible');
|
|
11
|
-
NotFoundSteps.getNotFoundContent().should('contain', '404 That’s an error!');
|
|
12
|
-
NotFoundSteps.getNotFoundContent().should('contain', 'The requested URL was not found on this server. That’s all I know.');
|
|
13
|
-
NotFoundSteps.getGoHomeButton().should('be.visible');
|
|
14
|
-
|
|
15
|
-
// When, I click on the "Go Home" button
|
|
16
|
-
NotFoundSteps.clickGoHomeButton();
|
|
17
|
-
|
|
18
|
-
// Then, I expect to be redirected to the home page
|
|
19
|
-
NotFoundSteps.getUrl().should('eq', `${Cypress.config('baseUrl')}/`);
|
|
20
|
-
// And the banner should no longer be visible
|
|
21
|
-
NotFoundSteps.getNotFoundBanner().should('not.exist');
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import {ModalDialogSteps} from "../../steps/modal-dialog-steps";
|
|
2
|
-
import HomeSteps from '../../steps/home-steps.js';
|
|
3
|
-
import {RepositoryErrorsWidgetSteps} from '../../steps/widgets/repository-errors-widget-steps.js';
|
|
4
|
-
import {RepositorySteps} from '../../steps/repository-steps.js';
|
|
5
|
-
import {RepositorySelectorSteps} from '../../steps/repository-selector-steps.js';
|
|
6
|
-
import {ErrorPageSteps} from '../../steps/error-page-steps.js';
|
|
7
|
-
import {MainMenuSteps} from '../../steps/main-menu-steps.js';
|
|
8
|
-
|
|
9
|
-
describe('URL with Repository ID parameter', () => {
|
|
10
|
-
let repositoryId;
|
|
11
|
-
let secondRepositoryId;
|
|
12
|
-
|
|
13
|
-
describe('When repository is changed', () => {
|
|
14
|
-
beforeEach(() => {
|
|
15
|
-
repositoryId = 'repository-in-url-' + Date.now();
|
|
16
|
-
cy.createRepository({id: repositoryId});
|
|
17
|
-
secondRepositoryId = 'second-repository-in-url-' + Date.now();
|
|
18
|
-
cy.createRepository({id: secondRepositoryId});
|
|
19
|
-
cy.presetRepository(repositoryId);
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
afterEach(() => {
|
|
23
|
-
cy.deleteRepository(repositoryId);
|
|
24
|
-
cy.deleteRepository(secondRepositoryId);
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('should update URL', () => {
|
|
28
|
-
RepositorySteps.visit();
|
|
29
|
-
RepositorySteps.getActiveRepositoryRow().should('contain', repositoryId);
|
|
30
|
-
RepositorySelectorSteps.getSelectedRepository().should('contain', repositoryId);
|
|
31
|
-
cy.url().should('include', 'repositoryId=' + repositoryId);
|
|
32
|
-
|
|
33
|
-
RepositorySelectorSteps.selectRepository(secondRepositoryId);
|
|
34
|
-
|
|
35
|
-
RepositorySteps.getActiveRepositoryRow().should('contain', secondRepositoryId);
|
|
36
|
-
RepositorySelectorSteps.getSelectedRepository().should('contain', secondRepositoryId);
|
|
37
|
-
cy.url().should('include', 'repositoryId=' + secondRepositoryId);
|
|
38
|
-
|
|
39
|
-
RepositorySteps.activateRepository(repositoryId);
|
|
40
|
-
|
|
41
|
-
RepositorySteps.getActiveRepositoryRow().should('contain', repositoryId);
|
|
42
|
-
RepositorySelectorSteps.getSelectedRepository().should('contain', repositoryId);
|
|
43
|
-
cy.url().should('include', 'repositoryId=' + repositoryId);
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
describe('When there is no active repository and no repository in URL', () => {
|
|
48
|
-
// 1. active repo no, repo in url no -> no action - just show repo selector
|
|
49
|
-
it('should show repository selector with no repository selected', () => {
|
|
50
|
-
HomeSteps.visit();
|
|
51
|
-
RepositoryErrorsWidgetSteps.getWidget().should('be.visible');
|
|
52
|
-
cy.url().should('not.include', 'repositoryId=');
|
|
53
|
-
HomeSteps.getSelectedRepository().should('contain', 'No accessible repositories');
|
|
54
|
-
// no modal dialog should be shown
|
|
55
|
-
ModalDialogSteps.getDialog().should('not.exist');
|
|
56
|
-
})
|
|
57
|
-
})
|
|
58
|
-
|
|
59
|
-
describe('When there is no active repository and repository in URL is present', () => {
|
|
60
|
-
beforeEach(() => {
|
|
61
|
-
repositoryId = 'repository-in-url-' + Date.now();
|
|
62
|
-
cy.createRepository({id: repositoryId});
|
|
63
|
-
})
|
|
64
|
-
|
|
65
|
-
afterEach(() => {
|
|
66
|
-
cy.deleteRepository(repositoryId);
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
// 2. active repo no, repo in url yes, url repo exists -> set active repo same as the url
|
|
70
|
-
it('should set active repository to the one in URL if it exists', () => {
|
|
71
|
-
HomeSteps.visitWithRepositoryInUrl(repositoryId);
|
|
72
|
-
RepositoryErrorsWidgetSteps.getWidget().should('not.exist');
|
|
73
|
-
cy.url().should('include', 'repositoryId=' + repositoryId);
|
|
74
|
-
HomeSteps.getSelectedRepository().should('contain', repositoryId);
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
// 3. active repo no, repo in url yes, url repo missing -> show warning, keep url
|
|
78
|
-
it('should show warning if repository in URL does not exist', () => {
|
|
79
|
-
HomeSteps.visitWithRepositoryInUrl('mising-repo');
|
|
80
|
-
RepositoryErrorsWidgetSteps.getWidget().should('be.visible');
|
|
81
|
-
HomeSteps.getSelectedRepository().should('contain', 'Choose repository');
|
|
82
|
-
ModalDialogSteps.getModalAlert().should('be.visible');
|
|
83
|
-
ModalDialogSteps.getDialogBody().should('contain', 'The repository "mising-repo" specified in the URL does not exist. Please select an existing repository.');
|
|
84
|
-
ModalDialogSteps.close();
|
|
85
|
-
cy.url().should('include', 'repositoryId=mising-repo');
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
describe('When there is an active repository and no repository in URL', () => {
|
|
90
|
-
beforeEach(() => {
|
|
91
|
-
repositoryId = 'repository-in-url-' + Date.now();
|
|
92
|
-
cy.createRepository({id: repositoryId});
|
|
93
|
-
cy.presetRepository(repositoryId);
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
afterEach(() => {
|
|
97
|
-
cy.deleteRepository(repositoryId);
|
|
98
|
-
cy.deleteRepository(secondRepositoryId);
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
// 4. active repo yes, repo in url no -> update url
|
|
102
|
-
it('should update URL to include active repository', () => {
|
|
103
|
-
HomeSteps.visit();
|
|
104
|
-
RepositoryErrorsWidgetSteps.getWidget().should('be.hidden');
|
|
105
|
-
cy.url().should('include', 'repositoryId=' + repositoryId);
|
|
106
|
-
HomeSteps.getSelectedRepository().should('contain', repositoryId);
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
// 5. active repo yes, repo in url yes, url repo exists -> show confirmation, update active repo on confirmation
|
|
110
|
-
it('should show confirmation and update active repository if repository in URL exists', () => {
|
|
111
|
-
secondRepositoryId = 'second-repository-in-url-' + Date.now();
|
|
112
|
-
cy.createRepository({id: secondRepositoryId});
|
|
113
|
-
HomeSteps.visitWithRepositoryInUrl(secondRepositoryId);
|
|
114
|
-
cy.url().should('include', 'repositoryId=' + secondRepositoryId);
|
|
115
|
-
HomeSteps.getSelectedRepository().should('contain', repositoryId);
|
|
116
|
-
HomeSteps.getView().should('be.visible');
|
|
117
|
-
HomeSteps.getActiveRepositoryWidget().should('be.visible');
|
|
118
|
-
RepositoryErrorsWidgetSteps.getWidget().should('be.hidden');
|
|
119
|
-
ModalDialogSteps.getDialog().should('be.visible');
|
|
120
|
-
ModalDialogSteps.getDialogBody().should('contain', `Active repository will be changed to "${secondRepositoryId}". Do you want to proceed?`);
|
|
121
|
-
ModalDialogSteps.confirm();
|
|
122
|
-
ModalDialogSteps.getDialog().should('not.exist');
|
|
123
|
-
HomeSteps.getSelectedRepository().should('contain', secondRepositoryId);
|
|
124
|
-
cy.url().should('include', 'repositoryId=' + secondRepositoryId);
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
// 5. active repo yes, repo in url yes, url repo exists -> show confirmation, keep active repo on reject
|
|
128
|
-
it('should show confirmation and keep active repository if repository in URL exists but user rejects', () => {
|
|
129
|
-
// active repo yes, repo in url yes, url repo exists -> show confirmation, update active repo
|
|
130
|
-
secondRepositoryId = 'second-repository-in-url-' + Date.now();
|
|
131
|
-
cy.createRepository({id: secondRepositoryId});
|
|
132
|
-
HomeSteps.visitWithRepositoryInUrl(secondRepositoryId);
|
|
133
|
-
cy.url().should('include', 'repositoryId=' + secondRepositoryId);
|
|
134
|
-
HomeSteps.getSelectedRepository().should('contain', repositoryId);
|
|
135
|
-
HomeSteps.getView().should('be.visible');
|
|
136
|
-
HomeSteps.getActiveRepositoryWidget().should('be.visible');
|
|
137
|
-
RepositoryErrorsWidgetSteps.getWidget().should('be.hidden');
|
|
138
|
-
ModalDialogSteps.getDialog().should('be.visible');
|
|
139
|
-
ModalDialogSteps.getDialogBody().should('contain', `Active repository will be changed to "${secondRepositoryId}". Do you want to proceed?`);
|
|
140
|
-
ModalDialogSteps.cancel();
|
|
141
|
-
ModalDialogSteps.getDialog().should('not.exist');
|
|
142
|
-
HomeSteps.getSelectedRepository().should('contain', repositoryId);
|
|
143
|
-
cy.url().should('include', 'repositoryId=' + repositoryId);
|
|
144
|
-
});
|
|
145
|
-
|
|
146
|
-
// 6. active repo yes, repo in url yes, url repo missing-> show warning, keep the active repo
|
|
147
|
-
it('should show warning if repository in URL does not exist and keep active repository', () => {
|
|
148
|
-
HomeSteps.visitWithRepositoryInUrl('mising-repo');
|
|
149
|
-
cy.url().should('include', 'repositoryId=mising-repo');
|
|
150
|
-
ModalDialogSteps.getModalAlert().should('be.visible');
|
|
151
|
-
ModalDialogSteps.clickOKButton();
|
|
152
|
-
ModalDialogSteps.getModalAlert().should('not.exist');
|
|
153
|
-
HomeSteps.getSelectedRepository().should('contain', repositoryId);
|
|
154
|
-
cy.url().should('include', 'repositoryId=' + repositoryId);
|
|
155
|
-
});
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
describe('When navigating between legacy and new workbench', () => {
|
|
159
|
-
beforeEach(() => {
|
|
160
|
-
repositoryId = 'repository-in-url-' + Date.now();
|
|
161
|
-
cy.createRepository({id: repositoryId});
|
|
162
|
-
cy.initializeRepository(repositoryId);
|
|
163
|
-
cy.presetRepository(repositoryId);
|
|
164
|
-
})
|
|
165
|
-
|
|
166
|
-
afterEach(() => {
|
|
167
|
-
cy.deleteRepository(repositoryId);
|
|
168
|
-
});
|
|
169
|
-
|
|
170
|
-
it('should preserve repositoryId parameter when navigating from 404 (new workbench) to legacy page', () => {
|
|
171
|
-
// Given I am on the 404 page which is in the new workbench
|
|
172
|
-
ErrorPageSteps.visit404();
|
|
173
|
-
ErrorPageSteps.get404Page().should('be.visible');
|
|
174
|
-
cy.url().should('not.include', 'repositoryId=');
|
|
175
|
-
// When I navigate to some legacy page
|
|
176
|
-
MainMenuSteps.clickOnSparqlMenu();
|
|
177
|
-
// Then repositoryId parameter should be preserved in the URL
|
|
178
|
-
cy.url().should('include', `repositoryId=${repositoryId}`);
|
|
179
|
-
});
|
|
180
|
-
});
|
|
181
|
-
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {AclManagementSteps} from "../../../steps/setup/acl-management-steps";
|
|
4
|
-
|
|
5
|
-
function verifyStateWithSelectedRepository() {
|
|
6
|
-
AclManagementSteps.getPageHeading().should('be.visible');
|
|
7
|
-
AclManagementSteps.getAclTable().should('be.visible');
|
|
8
|
-
AclManagementSteps.getNoDataMessage().should('be.visible');
|
|
9
|
-
AclManagementSteps.getAddFirstRuleButton().should('be.visible');
|
|
10
|
-
AclManagementSteps.getAclTabs().should('be.visible').and('have.length', 4);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
describe('ACL Management initial state with repositories', () => {
|
|
14
|
-
let repositoryId;
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
repositoryId = 'acl-management-' + Date.now();
|
|
18
|
-
cy.createRepository({id: repositoryId});
|
|
19
|
-
cy.presetRepository(repositoryId);
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
afterEach(() => {
|
|
23
|
-
cy.deleteRepository(repositoryId);
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
27
|
-
// Given, I visit the ACL Management page via URL with a repository selected
|
|
28
|
-
AclManagementSteps.visit();
|
|
29
|
-
// Then,
|
|
30
|
-
verifyStateWithSelectedRepository();
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
34
|
-
// Given, I visit the ACL Management page via the navigation menu with a repository selected
|
|
35
|
-
HomeSteps.visit();
|
|
36
|
-
MainMenuSteps.clickOnACLManagement();
|
|
37
|
-
// Then,
|
|
38
|
-
verifyStateWithSelectedRepository();
|
|
39
|
-
});
|
|
40
|
-
})
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
2
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
3
|
-
import {ErrorSteps} from "../../../steps/error-steps";
|
|
4
|
-
import {AclManagementSteps} from "../../../steps/setup/acl-management-steps";
|
|
5
|
-
|
|
6
|
-
describe('ACL Management initial state without repositories', () => {
|
|
7
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
8
|
-
// Given, I visit the ACL Management page via URL without repositories selected
|
|
9
|
-
AclManagementSteps.visit();
|
|
10
|
-
// Then,
|
|
11
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
15
|
-
// Given, I visit the ACL Management page via the navigation menu without repositories selected
|
|
16
|
-
HomeSteps.visit();
|
|
17
|
-
MainMenuSteps.clickOnACLManagement();
|
|
18
|
-
// Then,
|
|
19
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {AutocompleteSteps} from "../../../steps/setup/autocomplete-steps";
|
|
4
|
-
|
|
5
|
-
describe('Autocomplete with selected repository', () => {
|
|
6
|
-
let repositoryId;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
repositoryId = 'autocomplete-init-' + Date.now();
|
|
10
|
-
cy.createRepository({id: repositoryId});
|
|
11
|
-
cy.presetRepository(repositoryId);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
afterEach(() => {
|
|
15
|
-
cy.deleteRepository(repositoryId);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
19
|
-
// Given, I visit the Autocomplete page via URL with a repository selected
|
|
20
|
-
AutocompleteSteps.visit();
|
|
21
|
-
// Then,
|
|
22
|
-
verifyInitialStateWithSelectedRepository();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it('Should display the correct initial state when navigating via the navigation bar', () => {
|
|
26
|
-
// Given, I visit the Autocomplete page via the navigation menu with a repository selected
|
|
27
|
-
HomeSteps.visit();
|
|
28
|
-
MainMenuSteps.clickOnAutocomplete();
|
|
29
|
-
// Then,
|
|
30
|
-
verifyInitialStateWithSelectedRepository();
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const verifyInitialStateWithSelectedRepository = () => {
|
|
34
|
-
AutocompleteSteps.getAutocompletePage().should('exist');
|
|
35
|
-
AutocompleteSteps.getAutocompletePageContent().should('exist');
|
|
36
|
-
AutocompleteSteps.getAutocompletePage().should('exist');
|
|
37
|
-
AutocompleteSteps.getAutocompleteHeader().contains('Autocomplete for repository');
|
|
38
|
-
AutocompleteSteps.getAutocompleteLabelsContainer().should('exist');
|
|
39
|
-
};
|
|
40
|
-
})
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {ErrorSteps} from "../../../steps/error-steps";
|
|
2
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
3
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
4
|
-
import {AutocompleteSteps} from "../../../steps/setup/autocomplete-steps";
|
|
5
|
-
|
|
6
|
-
describe('Autocomplete without selected repository', () => {
|
|
7
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
8
|
-
// Given, I visit the Autocomplete page via URL without a repository selected
|
|
9
|
-
AutocompleteSteps.visit();
|
|
10
|
-
// Then,
|
|
11
|
-
verifyInitialStateWithoutSelectedRepository();
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
15
|
-
// Given, I visit the Autocomplete page via the navigation menu without a repository selected
|
|
16
|
-
HomeSteps.visit();
|
|
17
|
-
MainMenuSteps.clickOnAutocomplete();
|
|
18
|
-
// Then,
|
|
19
|
-
verifyInitialStateWithoutSelectedRepository()
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
const verifyInitialStateWithoutSelectedRepository = () => {
|
|
23
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
24
|
-
AutocompleteSteps.getAutocompletePage().should('exist');
|
|
25
|
-
AutocompleteSteps.getAutocompletePageContent().should('not.exist');
|
|
26
|
-
};
|
|
27
|
-
})
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {ClusterPageSteps} from "../../../steps/cluster/cluster-page-steps";
|
|
2
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
3
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
4
|
-
import {GlobalOperationsStatusesStub} from "../../../stubs/global-operations-statuses-stub";
|
|
5
|
-
import {ClusterStubs} from "../../../stubs/cluster/cluster-stubs";
|
|
6
|
-
|
|
7
|
-
function verifyInitialStateWithConfiguredCluster() {
|
|
8
|
-
ClusterPageSteps.getNoClusterImage().should('not.exist');
|
|
9
|
-
ClusterPageSteps.getUpdateClusterButton().should('be.visible');
|
|
10
|
-
ClusterPageSteps.getPreviewClusterConfigButton().should('be.visible');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
describe('Cluster initial state with configured cluster', () => {
|
|
14
|
-
beforeEach(() => {
|
|
15
|
-
ClusterStubs.stubClusterConfig();
|
|
16
|
-
ClusterStubs.stubClusterGroupStatus();
|
|
17
|
-
ClusterStubs.stubClusterNodeStatus();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
21
|
-
// Given, I visit the Cluster page via URL with a configured cluster
|
|
22
|
-
ClusterPageSteps.visit();
|
|
23
|
-
// Then,
|
|
24
|
-
verifyInitialStateWithConfiguredCluster();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
28
|
-
// Given, I visit the Cluster page via the navigation menu with a configured cluster
|
|
29
|
-
HomeSteps.visit();
|
|
30
|
-
MainMenuSteps.clickOnCluster();
|
|
31
|
-
// Then,
|
|
32
|
-
verifyInitialStateWithConfiguredCluster();
|
|
33
|
-
});
|
|
34
|
-
})
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {ClusterPageSteps} from "../../../steps/cluster/cluster-page-steps";
|
|
4
|
-
|
|
5
|
-
function verifyInitialStateWithoutConfiguredCluster() {
|
|
6
|
-
ClusterPageSteps.getNoClusterImage().should('be.visible');
|
|
7
|
-
ClusterPageSteps.getLegendButton().should('be.visible');
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
describe('Cluster initial state without configured cluster', () => {
|
|
11
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
12
|
-
// Given, I visit the Cluster page via URL without a configured cluster
|
|
13
|
-
ClusterPageSteps.visit();
|
|
14
|
-
// Then,
|
|
15
|
-
verifyInitialStateWithoutConfiguredCluster();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
19
|
-
// Given, I visit the Cluster page via the navigation menu without a configured cluster
|
|
20
|
-
HomeSteps.visit();
|
|
21
|
-
MainMenuSteps.clickOnCluster();
|
|
22
|
-
// Then,
|
|
23
|
-
verifyInitialStateWithoutConfiguredCluster();
|
|
24
|
-
});
|
|
25
|
-
})
|
package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import {ConnectorsSteps} from "../../../steps/setup/connectors-steps";
|
|
2
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
3
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
4
|
-
|
|
5
|
-
const expectedButtons = ['elasticsearch', 'opensearch', 'solr', 'lucene', 'kafka', 'chatgpt-retrieval'];
|
|
6
|
-
|
|
7
|
-
function verifyConnectorsPage() {
|
|
8
|
-
expectedButtons.forEach(buttonId => {
|
|
9
|
-
ConnectorsSteps.getConnectorButton(buttonId).should('be.visible');
|
|
10
|
-
});
|
|
11
|
-
ConnectorsSteps.getReloadAllButton().should('be.visible');
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
describe('Connectors initial state with repositories', () => {
|
|
15
|
-
let repositoryId;
|
|
16
|
-
|
|
17
|
-
beforeEach(() => {
|
|
18
|
-
repositoryId = 'connectors-init-' + Date.now();
|
|
19
|
-
cy.createRepository({id: repositoryId});
|
|
20
|
-
cy.presetRepository(repositoryId);
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
afterEach(() => {
|
|
24
|
-
cy.deleteRepository(repositoryId);
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
28
|
-
// Given, I visit the Connectors page via URL without a repository selected
|
|
29
|
-
ConnectorsSteps.visit();
|
|
30
|
-
// Then,
|
|
31
|
-
verifyConnectorsPage();
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
35
|
-
// Given, I visit the Connectors page via the navigation menu without a repository selected
|
|
36
|
-
HomeSteps.visit();
|
|
37
|
-
MainMenuSteps.clickOnConnectors();
|
|
38
|
-
// Then,
|
|
39
|
-
verifyConnectorsPage();
|
|
40
|
-
});
|
|
41
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {ErrorSteps} from "../../../steps/error-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
4
|
-
import {ConnectorsSteps} from "../../../steps/setup/connectors-steps";
|
|
5
|
-
|
|
6
|
-
describe('Connectors initial state without repositories', () => {
|
|
7
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
8
|
-
// Given, I visit the Connectors page via URL without a repository selected
|
|
9
|
-
ConnectorsSteps.visit();
|
|
10
|
-
// Then,
|
|
11
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
15
|
-
// Given, I visit the Connectors page via the navigation menu without a repository selected
|
|
16
|
-
HomeSteps.visit();
|
|
17
|
-
MainMenuSteps.clickOnConnectors();
|
|
18
|
-
// Then,
|
|
19
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
20
|
-
});
|
|
21
|
-
})
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
2
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
3
|
-
import {JdbcSteps} from "../../../steps/setup/jdbc-steps";
|
|
4
|
-
|
|
5
|
-
describe('JDBC with selected repository', () => {
|
|
6
|
-
let repositoryId;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
repositoryId = 'jdbc-init-' + Date.now();
|
|
10
|
-
cy.createRepository({id: repositoryId});
|
|
11
|
-
cy.presetRepository(repositoryId);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
afterEach(() => {
|
|
15
|
-
cy.deleteRepository(repositoryId);
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
19
|
-
// Given, I visit the JDBC page via URL with a repository selected
|
|
20
|
-
JdbcSteps.visit();
|
|
21
|
-
// Then,
|
|
22
|
-
verifyInitialStateWithSelectedRepository();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
it('Should display the correct initial state when navigating via the navigation bar', () => {
|
|
26
|
-
// Given, I visit the JDBC page via the navigation menu with a repository selected
|
|
27
|
-
HomeSteps.visit();
|
|
28
|
-
MainMenuSteps.clickOnJDBC();
|
|
29
|
-
// Then,
|
|
30
|
-
verifyInitialStateWithSelectedRepository();
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const verifyInitialStateWithSelectedRepository = () => {
|
|
34
|
-
JdbcSteps.getJDBCPage().should('exist');
|
|
35
|
-
JdbcSteps.getJDBCConfiguration().should('exist');
|
|
36
|
-
JdbcSteps.getCreateSQLTableConfigurationButton().should('exist');
|
|
37
|
-
JdbcSteps.getNoSQLConfigurationsMessage().should('exist');
|
|
38
|
-
};
|
|
39
|
-
})
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {ErrorSteps} from "../../../steps/error-steps";
|
|
2
|
-
import HomeSteps from "../../../steps/home-steps";
|
|
3
|
-
import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
4
|
-
import {JdbcSteps} from "../../../steps/setup/jdbc-steps";
|
|
5
|
-
|
|
6
|
-
describe('JDBC without selected repository', () => {
|
|
7
|
-
it('Should display the correct initial state when navigating via URL', () => {
|
|
8
|
-
// Given, I visit the JDBC page via URL without a repository selected
|
|
9
|
-
JdbcSteps.visit();
|
|
10
|
-
// Then,
|
|
11
|
-
verifyInitialStateWithoutSelectedRepository();
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
it('Should display the correct initial state when navigating via the navigation menu', () => {
|
|
15
|
-
// Given, I visit the JDBC page via the navigation menu without a repository selected
|
|
16
|
-
HomeSteps.visit();
|
|
17
|
-
MainMenuSteps.clickOnJDBC();
|
|
18
|
-
// Then,
|
|
19
|
-
verifyInitialStateWithoutSelectedRepository();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
const verifyInitialStateWithoutSelectedRepository = () => {
|
|
23
|
-
ErrorSteps.verifyNoConnectedRepoMessage();
|
|
24
|
-
JdbcSteps.getJDBCPage().should('exist');
|
|
25
|
-
JdbcSteps.getJDBCConfiguration().should('not.exist');
|
|
26
|
-
};
|
|
27
|
-
})
|