graphdb-workbench-tests 3.4.0-TR4 → 3.4.0-TR5
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/.editorconfig +17 -0
- package/.nycrc +10 -0
- package/cypress-flaky.config.js +20 -6
- package/cypress-legacy.config.js +47 -0
- package/cypress-security.config.js +36 -0
- package/cypress.config.js +45 -6
- package/{integration-flaky → e2e-flaky}/explore/visual.graph.spec.js +4 -1
- package/{integration-flaky → e2e-flaky}/import/import-server-files-operations.spec.js +2 -2
- package/{integration-flaky → e2e-flaky}/import/import-user-data-batch-operations.spec.js +3 -3
- package/e2e-flaky/import/import-user-data-url.spec.js +63 -0
- package/{integration-flaky → e2e-flaky}/setup/sparql-template-create.js +10 -18
- package/{integration-flaky → e2e-flaky}/sparql-editor/actions/execute-update-query.spec.js +2 -12
- package/{integration-flaky → e2e-flaky}/sparql-editor/actions/share-query.spec.js +1 -7
- package/{integration-flaky → e2e-flaky}/sparql-editor/yasr/table-plugin.spec.js +3 -7
- package/{integration → e2e-legacy}/cluster/cluster-states.spec.js +3 -3
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository-without-class-hierarchy.spec.js +42 -0
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository.spec.js +43 -0
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-without-selected-repository.spec.js +30 -0
- package/{integration/explore → e2e-legacy/explore/class-hierarchy}/class.hierarchy.spec.js +1 -1
- package/e2e-legacy/explore/class-relationships/class-relationships-repository-with-data.spec.js +42 -0
- package/e2e-legacy/explore/class-relationships/class-relationships-with-selected-repository.spec.js +39 -0
- package/e2e-legacy/explore/class-relationships/class-relationships-without-selected-repository.spec.js +21 -0
- package/{integration/explore/class.relationships.spec.js → e2e-legacy/explore/class-relationships/class-relationships.spec.js} +20 -50
- package/{integration/explore → e2e-legacy/explore/graphs-overview}/graphs.overview.spec.js +4 -4
- package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-with-selected-repository.spec.js +44 -0
- package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-without-selected-repository.spec.js +32 -0
- package/e2e-legacy/explore/similarity-index/similarity-index-with-repository.spec.js +38 -0
- package/e2e-legacy/explore/similarity-index/similarity-index-without-repository.spec.js +21 -0
- package/{integration → e2e-legacy}/explore/visual-graph/graphs-config.spec.js +5 -10
- package/e2e-legacy/explore/visual-graph/node-info-panel.spec.js +58 -0
- package/e2e-legacy/explore/visual-graph/visual-graph-links-limit.spec.js +142 -0
- package/{integration → e2e-legacy}/explore/visual-graph/visual-graph-node-labels.spec.js +14 -2
- package/e2e-legacy/explore/visual-graph/visual-graph-with-selected-repository.js +38 -0
- package/e2e-legacy/explore/visual-graph/visual-graph-without-selected-repository.js +21 -0
- package/{integration → e2e-legacy}/explore/visual-graph/visual.graph.spec.js +75 -96
- package/{integration → e2e-legacy}/graphql/create-graphql-endpoint.spec.js +0 -2
- package/{integration → e2e-legacy}/graphql/edit-graphql-enpoint.spec.js +1 -1
- package/{integration → e2e-legacy}/graphql/filter-graphql-endpoints-on-management-view.spec.js +1 -1
- package/{integration → e2e-legacy}/graphql/graphql-endpoint-management-view.spec.js +4 -4
- package/e2e-legacy/graphql/graphql-endpoint-management-with-endpoints.spec.js +43 -0
- package/e2e-legacy/graphql/graphql-endpoint-management-with-selected-repository.spec.js +39 -0
- package/e2e-legacy/graphql/graphql-endpoint-management-without-selected-repository.spec.js +21 -0
- package/e2e-legacy/graphql/graphql-playground-with-endpoints.spec.js +40 -0
- package/e2e-legacy/graphql/graphql-playground-with-selected-repository.spec.js +38 -0
- package/e2e-legacy/graphql/graphql-playground-without-selected-repository.spec.js +22 -0
- package/{integration → e2e-legacy}/graphql/graphql-playground.spec.js +1 -1
- package/e2e-legacy/graphql/graphql-theme.spec.js +73 -0
- package/{integration → e2e-legacy}/graphql/import-graphql-endpoint-definitions.spec.js +0 -6
- package/e2e-legacy/guides/autocomplete/enable-autocomplete-guide.spec.js +49 -0
- package/e2e-legacy/guides/class-hierarcy/class-hierarchy-guide.spec.js +89 -0
- package/e2e-legacy/guides/class-relations/class-relations-guide.spec.js +76 -0
- package/e2e-legacy/guides/connectors/connectors-guide.spec.js +163 -0
- package/e2e-legacy/guides/create-similarity-index/create-similarity-index-guide.spec.js +74 -0
- package/e2e-legacy/guides/download-guide-resource/download-guide-resource-guide.js +55 -0
- package/e2e-legacy/guides/execute-sparql-query/execute-sparql-query-guide.spec.js +92 -0
- package/e2e-legacy/guides/import-rdf-file/confirm-duplicate-rdf-file.spec.js +63 -0
- package/e2e-legacy/guides/import-rdf-file/import-rdf-file.spec.js +105 -0
- package/e2e-legacy/guides/main-menu/main-menu-guide.spec.js +302 -0
- package/e2e-legacy/guides/navigation/navigation-guide.spec.js +64 -0
- package/e2e-legacy/guides/rdf-rank/rdf-rank-guide.spec.js +42 -0
- package/e2e-legacy/guides/repositories/create-repository-guide.spec.js +69 -0
- package/e2e-legacy/guides/table-graph-explore/table-graph-explore-guide.spec.js +168 -0
- package/e2e-legacy/guides/ttyg/configure-agent/configure-agent-guide.spec.js +158 -0
- package/e2e-legacy/guides/ttyg/conversation/ttyg-conversation-guide.spec.js +92 -0
- package/e2e-legacy/guides/ttyg/edit-agent/edit-ttyg-agent-guide.spec.js +88 -0
- package/e2e-legacy/guides/visual-graph/visual-graph-guide.spec.js +372 -0
- package/e2e-legacy/guides/welcome/welcome-guide.spec.js +36 -0
- package/e2e-legacy/help/guides/guides-autostart.spec.js +126 -0
- package/e2e-legacy/help/guides/guides-confirm-cancel-dialog.js +83 -0
- package/e2e-legacy/help/guides/guides-with-repository.spec.js +32 -0
- package/e2e-legacy/help/guides/guides-without-repository.spec.js +20 -0
- package/e2e-legacy/help/guides/movies-interactive-guide.spec.js +71 -0
- package/{integration/guides/star-wars-interactive-guide.js → e2e-legacy/help/guides/star-wars-interactive-guide.spec.js} +3 -2
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-with-repository.spec.js +32 -0
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-without-repository.spec.js +20 -0
- package/e2e-legacy/help/system-information/system-information-with-repository.spec.js +32 -0
- package/e2e-legacy/help/system-information/system-information-without-repository.spec.js +20 -0
- package/e2e-legacy/home/cookie-policy/cookie-policy.spec.js +182 -0
- package/e2e-legacy/home/documentation-link.spec.js +41 -0
- package/{integration → e2e-legacy}/home/google-analytics.spec.js +4 -6
- package/e2e-legacy/home/home-page-with-selected-repository.spec.js +69 -0
- package/e2e-legacy/home/home-page-without-repositories.spec.js +87 -0
- package/e2e-legacy/home/home-page-without-selected-repository.spec.js +59 -0
- package/{integration → e2e-legacy}/home/language-change.spec.js +2 -2
- package/e2e-legacy/home/rdf-resource-search.spec.js +160 -0
- package/e2e-legacy/home/view-resource-autocomplete.spec.js +65 -0
- package/{integration → e2e-legacy}/import/import-server-files.spec.js +5 -3
- package/{integration → e2e-legacy}/import/import-user-data-file-upload.spec.js +19 -13
- package/{integration → e2e-legacy}/import/import-user-data-text-snippet.spec.js +0 -2
- package/{integration → e2e-legacy}/import/import-user-data-url.spec.js +0 -23
- package/{integration → e2e-legacy}/import/import-user-data.spec.js +11 -4
- package/e2e-legacy/import/initial-state/import-page-with-selected-repositor.js +51 -0
- package/e2e-legacy/import/initial-state/import-page-with-selected-repository-without-imported-files.js +45 -0
- package/e2e-legacy/import/initial-state/import-page-without-selected-repository.spec.js +28 -0
- package/e2e-legacy/license/license-with-repository.spec.js +113 -0
- package/e2e-legacy/license/license-without-repository.spec.js +103 -0
- package/{integration → e2e-legacy}/license/license.spec.js +4 -4
- package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-with-repository.spec.js +36 -0
- package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-without-repository.spec.js +25 -0
- package/{integration/monitor/monitor.backup-and-restore.spec.js → e2e-legacy/monitor/backup-and-restore/backup-and-restore.spec.js} +2 -2
- package/{integration → e2e-legacy}/monitor/global-operation-statuses-component.spec.js +12 -5
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-with-repository.spec.js +39 -0
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-without-repository.spec.js +21 -0
- package/{integration/monitor → e2e-legacy/monitor/system}/monitor.resources.spec.js +3 -2
- package/e2e-legacy/monitor/system/system-monitoring-with-repository.spec.js +32 -0
- package/e2e-legacy/monitor/system/system-monitoring-without-repository.spec.js +20 -0
- package/e2e-legacy/not-found/not-found.spec.js +23 -0
- package/{integration → e2e-legacy}/repository/ontop-repository.spec.js +1 -1
- package/{integration → e2e-legacy}/repository/repositories.spec.js +37 -45
- package/e2e-legacy/repository/url-with-repository-id-parameter.spec.js +181 -0
- package/{integration → e2e-legacy}/resource/resource.spec.js +50 -20
- package/e2e-legacy/setup/aclmanagement/acl-management-with-selected repository.spec.js +84 -0
- package/e2e-legacy/setup/aclmanagement/acl-management-without-repositories.spec.js +21 -0
- package/{integration → e2e-legacy}/setup/aclmanagement/create-rule.spec.js +4 -0
- package/e2e-legacy/setup/autocomplete/autocomplete-with-repository.spec.js +40 -0
- package/e2e-legacy/setup/autocomplete/autocomplete-without-repository.spec.js +27 -0
- package/{integration/setup → e2e-legacy/setup/autocomplete}/autocomplete.spec.js +6 -7
- package/e2e-legacy/setup/cluster/cluster-initial-state-with-cluster.spec.js +34 -0
- package/e2e-legacy/setup/cluster/cluster-initial-state-without-cluster.spec.js +25 -0
- package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js +41 -0
- package/e2e-legacy/setup/connectors/connectors-initial-state-without-repositories.spec.js +21 -0
- package/{integration → e2e-legacy}/setup/connectors-lucene.spec.js +26 -10
- package/{integration → e2e-legacy}/setup/jdbc/jdbc-create.spec.js +4 -4
- package/e2e-legacy/setup/jdbc/jdbc-with-repository.spec.js +39 -0
- package/e2e-legacy/setup/jdbc/jdbc-without-repository.spec.js +27 -0
- package/e2e-legacy/setup/namespaces/namespaces-with-repository.spec.js +44 -0
- package/e2e-legacy/setup/namespaces/namespaces-without-repository.spec.js +27 -0
- package/{integration/setup → e2e-legacy/setup/namespaces}/namespaces.spec.js +6 -5
- package/e2e-legacy/setup/plugins/plugins-with-repository.spec.js +38 -0
- package/e2e-legacy/setup/plugins/plugins-without-repository.spec.js +28 -0
- package/{integration/setup → e2e-legacy/setup/plugins}/plugins.spec.js +3 -3
- package/e2e-legacy/setup/rdf-rank/rdf-rank-with-repository.spec.js +40 -0
- package/e2e-legacy/setup/rdf-rank/rdf-rank-without-repository.spec.js +30 -0
- package/{integration/setup → e2e-legacy/setup/rdf-rank}/rdf-rank.spec.js +3 -5
- package/e2e-legacy/setup/repositories/repositories-view-with-repositories.spec.js +40 -0
- package/e2e-legacy/setup/repositories/repositories-view-without-repositories.spec.js +28 -0
- package/e2e-legacy/setup/settings/my-settings-initial-state.spec.js +86 -0
- package/e2e-legacy/setup/settings/my-settings.spec.js +207 -0
- package/{integration/setup/sparql-template-create.js → e2e-legacy/setup/sparql-template/sparql-template-create.spec.js} +16 -8
- package/e2e-legacy/setup/sparql-template/sparql-template-with-repository.spec.js +39 -0
- package/e2e-legacy/setup/sparql-template/sparql-template-without-repository.spec.js +29 -0
- package/{integration/setup → e2e-legacy/setup/sparql-template}/sparql-templates.spec.js +4 -4
- package/{integration/setup → e2e-legacy/setup/users-and-access}/user-and-access.spec.js +184 -87
- package/e2e-legacy/setup/users-and-access/users-and-access-initial-state.spec.js +25 -0
- package/{integration → e2e-legacy}/sparql-editor/actions/expand-results-over-sameas.spec.js +12 -12
- package/{integration → e2e-legacy}/sparql-editor/actions/include-inferred-statements.spec.js +6 -6
- package/{integration → e2e-legacy}/sparql-editor/actions/inferred-sameas.spec.js +10 -8
- package/{integration → e2e-legacy}/sparql-editor/actions/show-saved-queries.spec.js +1 -6
- package/{integration → e2e-legacy}/sparql-editor/saved-query/abort-query.spec.js +1 -1
- package/{integration → e2e-legacy}/sparql-editor/saved-query/edit-query.spec.js +3 -3
- package/{integration → e2e-legacy}/sparql-editor/saved-query/readonly-query.spec.js +15 -24
- package/{integration → e2e-legacy}/sparql-editor/saved-query/share-query.spec.js +32 -1
- package/e2e-legacy/sparql-editor/sparql-page-with-selected-repository.spec.js +33 -0
- package/e2e-legacy/sparql-editor/sparql-page-without-selected-repository.spec.js +26 -0
- package/{integration → e2e-legacy}/sparql-editor/yasgui-tabs.spec.js +2 -12
- package/e2e-legacy/sparql-editor/yasqe-themes.spec.js +54 -0
- package/{integration → e2e-legacy}/sparql-editor/yasr/pagination.spec.js +5 -18
- package/{integration → e2e-legacy}/sparql-editor/yasr/table-plugin.spec.js +1 -6
- package/e2e-legacy/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +106 -0
- package/e2e-legacy/sparql-editor/yasr/yasr.spec.js +80 -0
- package/{integration → e2e-legacy}/ttyg/agent-list.spec.js +53 -2
- package/{integration → e2e-legacy}/ttyg/agent-select-menu.spec.js +25 -2
- package/{integration → e2e-legacy}/ttyg/chat-list.spec.js +3 -14
- package/{integration → e2e-legacy}/ttyg/chat-panel.spec.js +74 -6
- package/{integration → e2e-legacy}/ttyg/clone-agent.spec.js +24 -2
- package/{integration → e2e-legacy}/ttyg/create-agent.spec.js +37 -66
- package/{integration → e2e-legacy}/ttyg/create-chat.spec.js +6 -4
- package/{integration → e2e-legacy}/ttyg/delete-agent.spec.js +1 -2
- package/e2e-legacy/ttyg/edit-agent.spec.js +178 -0
- package/e2e-legacy/ttyg/ttyg-initial-state-with-configured-api-key.spec.js +46 -0
- package/e2e-legacy/ttyg/ttyg-initial-state-with-selected-repository.spec.js +45 -0
- package/e2e-legacy/ttyg/ttyg-initial-state-without-repositories.spec.js +21 -0
- package/{integration-flaky → e2e-legacy}/ttyg/ttyg-permission.spec.js +23 -17
- package/{integration → e2e-legacy}/ttyg/ttyg-view.spec.js +2 -2
- package/e2e-security/repository/url-with-repository-id-parameter.spec.js +57 -0
- package/e2e-security/setup/home/cookie-policy.spec.js +290 -0
- package/e2e-security/setup/users-and-access/create-user-permissions.spec.js +193 -0
- package/e2e-security/setup/users-and-access/graphql-user.spec.js +126 -0
- package/e2e-security/setup/users-and-access/repo-admin-role.spec.js +70 -0
- package/e2e-security/setup/users-and-access/turn-on-security-and-password-change.spec.js +99 -0
- package/e2e-security/setup/users-and-access/user-and-access.spec.js +87 -0
- package/e2e-security/setup/users-and-access/users-and-access-initial-state.spec.js +38 -0
- package/eslint.config.js +39 -0
- package/fixtures/graph/graph-configurations.json +59 -0
- package/fixtures/guides/autocomplete/enable-autocomplete-guide.json +12 -0
- package/fixtures/guides/class-hierarchy/class-hierarchy-guide.json +35 -0
- package/fixtures/guides/class-relations/class-relations-guide.json +33 -0
- package/fixtures/guides/confirm-cancel-dialog/confirm-cancel-dialog-guide.json +15 -0
- package/fixtures/guides/connectors/connectors-guide.json +66 -0
- package/fixtures/guides/connectors/lucene-connector-guide.json +120 -0
- package/fixtures/guides/create-repository/create-repository-guide.json +25 -0
- package/fixtures/guides/create-similarity-index/create-similarity-index-guide.json +36 -0
- package/fixtures/guides/download-guide-resource/download-guide-resource-guide.json +25 -0
- package/fixtures/guides/download-resource.ttl +629 -0
- package/fixtures/guides/execute-sparql-query/execute-sparql-query-guide.json +54 -0
- package/fixtures/guides/import-rdf-file/confirm-duplicate-rdf-file-guide.json +30 -0
- package/fixtures/guides/import-rdf-file/import-rdf-file-guide.json +21 -0
- package/fixtures/guides/main-menu/main-menu-guide.json +98 -0
- package/fixtures/guides/navigation/navigation-guide.json +60 -0
- package/fixtures/guides/rdf-rank/rdf-rank-guide.json +18 -0
- package/fixtures/guides/table-graph-explore/table-graph-explore-guide.json +51 -0
- package/fixtures/guides/table-graph-explore/table-graph-explore-without-substeps-guide.json +25 -0
- package/fixtures/guides/ttyg/configure-agent/configure-ttyg-agent-guide.json +74 -0
- package/fixtures/guides/ttyg/conversation/ttyg-conversation-guide.json +26 -0
- package/fixtures/guides/ttyg/edit-ttyg-agent/edit-ttyg-agent-guide.json +22 -0
- package/fixtures/guides/visual-graph/visual-graph-config-guide.json +39 -0
- package/fixtures/guides/visual-graph/visual-graph-guide.json +85 -0
- package/fixtures/guides/welcome/welcome-guide.json +18 -0
- package/fixtures/repositories/free-access.json +13 -0
- package/fixtures/similarity/get-ttyg-similarity-instances.json +10 -0
- package/fixtures/ttyg/agent/get-agent-defaults-assistant-api.json +44 -0
- package/fixtures/ttyg/agent/get-agent-defaults.json +9 -2
- package/fixtures/ttyg/agent/get-agent-list-with-incompatible-agents.json +79 -0
- package/fixtures/ttyg/agent/get-similarity-indexes-for-another-repo.json +8 -0
- package/fixtures/ttyg/agent/get-similarity-indexes.json +22 -0
- package/fixtures/ttyg/chats/ask-question-cancel.json +12 -0
- package/fixtures/ttyg/chats/ask-question.json +12 -2
- package/fixtures/ttyg/chats/cancel-question-response.json +1 -0
- package/fixtures/ttyg/chats/create/create-chat-response.json +10 -14
- package/fixtures/ttyg/chats/create/question-response-after-chat-creation.json +29 -0
- package/fixtures/ttyg/chats/explain-response-1.json +2 -48
- package/fixtures/ttyg/chats/explain-response-3.json +12 -0
- package/fixtures/ttyg/chats/get-chat.json +6 -1
- package/npm-shrinkwrap.json +11004 -3815
- package/package.json +58 -42
- package/plugins/index.js +10 -5
- package/steps/application-steps.js +8 -6
- package/steps/base-steps.js +29 -0
- package/steps/class-views-steps.js +35 -7
- package/steps/cluster/cluster-page-steps.js +12 -2
- package/steps/cookie-policy/cookie-consent-banner-steps.js +21 -0
- package/steps/cookie-policy/cookie-policy-modal.steps.js +56 -0
- package/steps/error-page-steps.js +9 -0
- package/steps/error-steps.js +15 -3
- package/steps/explore/class-relationships-steps.js +64 -0
- package/steps/explore/graphs-overview-steps.js +21 -1
- package/steps/explore/similarity-index-create-steps.js +5 -3
- package/steps/explore/similarity-indexes-steps.js +16 -2
- package/steps/graphql/graphql-endpoint-management-steps.js +2 -2
- package/steps/graphql/playground-editor-steps.js +46 -0
- package/steps/guides/guide-dialog-steps.js +81 -2
- package/steps/guides/guide-steps.js +54 -2
- package/steps/guides/movies-guide-steps.js +2 -1
- package/steps/header-steps.js +22 -0
- package/steps/home-steps.js +184 -77
- package/steps/import/import-resource-message-dialog.js +1 -1
- package/steps/import/import-steps.js +12 -16
- package/steps/import/import-user-data-steps.js +5 -1
- package/steps/language-selector-steps.js +2 -2
- package/steps/license-steps.js +91 -9
- package/steps/login-steps.js +31 -6
- package/steps/main-menu-steps.js +244 -19
- package/steps/modal-dialog-steps.js +32 -1
- package/steps/monitoring/backup-and-restore-steps.js +9 -3
- package/steps/monitoring/queries-and-updates-steps.js +20 -0
- package/steps/monitoring/system-monitoring-steps.js +40 -0
- package/steps/not-found/not-found-steps.js +23 -0
- package/steps/operations-statuses-component-steps.js +5 -10
- package/steps/rdf-resource-search-steps.js +55 -0
- package/steps/repository-selector-steps.js +3 -3
- package/steps/repository-steps.js +88 -18
- package/steps/resource/resource-steps.js +6 -10
- package/steps/rest-api-documentation-steps.js +15 -0
- package/steps/setup/acl-management-steps.js +18 -2
- package/steps/setup/autocomplete-steps.js +23 -8
- package/steps/setup/connectors-steps.js +32 -0
- package/steps/setup/jdbc-steps.js +18 -4
- package/steps/setup/namespace-steps.js +10 -7
- package/steps/setup/plugins-steps.js +12 -5
- package/steps/setup/rdf-rank-steps.js +23 -9
- package/steps/setup/settings-steps.js +101 -2
- package/steps/setup/sparql-templates-steps.js +19 -1
- package/steps/setup/user-and-access-steps.js +50 -16
- package/steps/shared-modal-dialog-steps.js +45 -0
- package/steps/sparql-editor-steps.js +21 -2
- package/steps/sparql-steps.js +13 -1
- package/steps/system-information-steps.js +70 -0
- package/steps/toaster-steps.js +18 -6
- package/steps/ttyg/chat-panel-steps.js +40 -2
- package/steps/ttyg/ttyg-agent-settings-modal.steps.js +136 -31
- package/steps/ttyg/ttyg-view-steps.js +80 -10
- package/steps/visual-graph-split-button-steps.js +45 -0
- package/steps/visual-graph-steps.js +106 -10
- package/steps/widgets/active-repository-widget-steps.js +29 -0
- package/steps/widgets/license-widget-steps.js +9 -0
- package/steps/widgets/repository-errors-widget-steps.js +21 -0
- package/steps/widgets/saved-sparql-queries-widget-steps.js +9 -0
- package/steps/yasgui/yasgui-loader.js +3 -3
- package/steps/yasgui/yasgui-steps.js +1 -1
- package/steps/yasgui/yasqe-steps.js +35 -4
- package/steps/yasgui/yasr-steps.js +35 -5
- package/stubs/autocomplete/autocomplete-stubs.js +7 -0
- package/stubs/browser-stubs.js +21 -0
- package/stubs/environment-stubs.js +9 -1
- package/stubs/graph-config-stubs.js +17 -0
- package/stubs/guides/guides-stubs.js +103 -0
- package/stubs/license-stubs.js +51 -0
- package/stubs/repositories/repositories-stubs.js +180 -75
- package/stubs/saved-queries-stubs.js +5 -0
- package/stubs/security-stubs.js +12 -0
- package/stubs/similarity-index-stubs.js +4 -0
- package/stubs/sparql-stubs.js +10 -0
- package/stubs/ttyg/ttyg-stubs.js +64 -15
- package/stubs/yasgui/query-stubs.js +5 -1
- package/support/commands.js +22 -1
- package/support/connector-commands.js +13 -0
- package/support/e2e-security.js +9 -0
- package/support/{index.js → e2e.js} +9 -3
- package/support/repository-commands.js +29 -4
- package/support/settings-commands.js +33 -1
- package/support/url-commands.js +13 -0
- package/support/user-commands.js +9 -4
- package/utils/html-util.js +24 -4
- package/Dockerfile +0 -11
- package/fixtures/locale-en.json +0 -3342
- package/integration/explore/similarity-index/similarity-index-create.spec.js +0 -333
- package/integration/explore/similarity-index/similarity-index.spec.js +0 -88
- package/integration/explore/similarity-index/similarity.spec.js +0 -628
- package/integration/guides/movies-interactive-guide.spec.js +0 -73
- package/integration/home/cookie-policy.spec.js +0 -90
- package/integration/home/documentation-link.spec.js +0 -60
- package/integration/home/language-selector.spec.js +0 -19
- package/integration/home/rdf-resource-search.spec.js +0 -177
- package/integration/home/view-resource-autocomplete.spec.js +0 -52
- package/integration/home/workbench.home.spec.js +0 -30
- package/integration/monitor/monitor.queries.spec.js +0 -31
- package/integration/setup/my-settings.spec.js +0 -289
- package/integration/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +0 -57
- package/integration/ttyg/edit-agent.spec.js +0 -99
- package/integration-flaky/setup/users-and-access/security-and-free-access.spec.js +0 -54
- package/stubs/repositories-stub.js +0 -73
- package/{integration-flaky → e2e-flaky}/import/import.server.files.spec.js +0 -0
- package/{integration-flaky → e2e-flaky}/sparql-editor/lucene-connector.spec.js +0 -0
- package/{integration-flaky → e2e-flaky}/sparql-editor/plugins/error-plugin.spec.js +0 -0
- package/{integration → e2e-legacy}/cluster/cluster-configuration/cluster-configuration-multi-region.spec.js +0 -0
- package/{integration → e2e-legacy}/cluster/cluster-configuration/cluster-configuration-nodes.spec.js +0 -0
- package/{integration → e2e-legacy}/cluster/cluster-configuration/cluster-configuration-properties.spec.js +0 -0
- package/{integration → e2e-legacy}/cluster/cluster-configuration/cluster-configuration.spec.js +0 -0
- package/{integration → e2e-legacy}/cluster/cluster-legend.spec.js +0 -0
- package/{integration → e2e-legacy}/cluster/edit-cluster-nodes-modal.spec.js +0 -0
- package/{integration → e2e-legacy}/graphql/activate-deactivate-graphql-endpoint.spec.js +0 -0
- package/{integration → e2e-legacy}/graphql/delete-graphql-endpoint.spec.js +0 -0
- package/{integration → e2e-legacy}/graphql/export-graphql-endpoint-definition.spec.js +0 -0
- package/{integration → e2e-legacy}/graphql/set-default-graphql-endpoint.spec.js +0 -0
- package/{integration/help → e2e-legacy/help/system-information}/system-information.spec.js +0 -0
- package/{integration → e2e-legacy}/home/create-repository.spec.js +0 -0
- package/{integration → e2e-legacy}/import/import-server-files-batch-operations.spec.js +0 -0
- package/{integration → e2e-legacy}/import/import-user-data-settings-dialog.spec.js +0 -0
- package/{integration → e2e-legacy}/import/import-view.spec.js +0 -0
- package/{integration → e2e-legacy}/repository/attach-remote-location.spec.js +1 -1
- /package/{integration → e2e-legacy}/repository/repository-commands.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/delete-rule.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/edit-rule.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/render-rules.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/reorder-rules.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/revert-rules.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/scopes.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/aclmanagement/update-rules.spec.js +0 -0
- /package/{integration → e2e-legacy}/setup/jdbc/jdbc.spec.js +0 -0
- /package/{integration → e2e-legacy}/sparql-editor/actions/execute-query.spec.js +0 -0
- /package/{integration → e2e-legacy}/sparql-editor/actions/save-query.spec.js +0 -0
- /package/{integration → e2e-legacy}/sparql-editor/internationalization.spec.js +0 -0
- /package/{integration → e2e-legacy}/sparql-editor/saved-query/delete-query.spec.js +0 -0
- /package/{integration → e2e-legacy}/sparql-editor/sparql-editor.spec.js +0 -0
- /package/{integration → e2e-legacy}/sparql-editor/yasr/download-as.spec.js +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {GuideSteps} from '../../../steps/guides/guide-steps.js';
|
|
2
|
+
import {GuideDialogSteps} from '../../../steps/guides/guide-dialog-steps.js';
|
|
3
|
+
import {GuidesStubs} from '../../../stubs/guides/guides-stubs.js';
|
|
4
|
+
|
|
5
|
+
describe('Download guide resource guide steps', () => {
|
|
6
|
+
let repositoryId;
|
|
7
|
+
const resourcePath = 'file-path';
|
|
8
|
+
const resourceFile = 'file.ttl';
|
|
9
|
+
const guideRepositoryId = 'test-repo';
|
|
10
|
+
|
|
11
|
+
beforeEach(() => {
|
|
12
|
+
repositoryId = 'download-guide-resource-guide-' + Date.now();
|
|
13
|
+
GuidesStubs.stubDownloadGuideResourceGuide();
|
|
14
|
+
cy.createRepository({id: repositoryId});
|
|
15
|
+
cy.presetRepository(repositoryId);
|
|
16
|
+
|
|
17
|
+
GuidesStubs.stubDownloadResource(resourcePath, resourceFile);
|
|
18
|
+
|
|
19
|
+
GuideSteps.visit();
|
|
20
|
+
GuideSteps.verifyGuidesListExists();
|
|
21
|
+
cy.wait('@getGuides');
|
|
22
|
+
GuideSteps.runFirstGuide();
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
afterEach(() => {
|
|
26
|
+
cy.deleteRepository(repositoryId);
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it('Should guide through download guide resource', () => {
|
|
30
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Download guide resources');
|
|
31
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('This guide requires a file to be downloaded.');
|
|
32
|
+
GuideDialogSteps.assertDialogWithContentIsVisible(`Please download ${resourceFile}.`);
|
|
33
|
+
GuideSteps.downloadResource();
|
|
34
|
+
|
|
35
|
+
cy.wait('@resource-download').then((interception) => {
|
|
36
|
+
expect(interception.response.statusCode).to.eq(200);
|
|
37
|
+
cy.readFile(`cypress/downloads/${resourceFile}`);
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
GuideDialogSteps.clickOnNextButton();
|
|
41
|
+
|
|
42
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Download guide resource - with repositoryId');
|
|
43
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('This guide requires a file to be downloaded.');
|
|
44
|
+
GuideDialogSteps.assertDialogWithContentIsVisible(`Please download ${resourceFile}.`);
|
|
45
|
+
GuideSteps.downloadResource(guideRepositoryId);
|
|
46
|
+
|
|
47
|
+
cy.wait('@resource-download').then((interception) => {
|
|
48
|
+
expect(interception.response.statusCode).to.eq(200);
|
|
49
|
+
cy.readFile(`cypress/downloads/${resourceFile}`);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
GuideDialogSteps.clickOnCloseButton();
|
|
53
|
+
GuideDialogSteps.assertDialogIsClosed();
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {GuideSteps} from '../../../steps/guides/guide-steps.js';
|
|
2
|
+
import {GuideDialogSteps} from '../../../steps/guides/guide-dialog-steps.js';
|
|
3
|
+
import {MainMenuSteps} from '../../../steps/main-menu-steps.js';
|
|
4
|
+
import {GuidesStubs} from '../../../stubs/guides/guides-stubs.js';
|
|
5
|
+
import SparqlSteps from '../../../steps/sparql-steps.js';
|
|
6
|
+
import {YasqeSteps} from '../../../steps/yasgui/yasqe-steps.js';
|
|
7
|
+
import {YasrSteps} from '../../../steps/yasgui/yasr-steps.js';
|
|
8
|
+
|
|
9
|
+
describe('Execute SPARQL query guide steps', () => {
|
|
10
|
+
let repositoryId;
|
|
11
|
+
const FILE_TO_IMPORT = 'swapi-dataset.ttl';
|
|
12
|
+
|
|
13
|
+
beforeEach(() => {
|
|
14
|
+
repositoryId = 'execute-sparql-query-guide-' + Date.now();
|
|
15
|
+
GuidesStubs.stubExecuteSparqlQueryGuide();
|
|
16
|
+
cy.createRepository({id: repositoryId});
|
|
17
|
+
cy.presetRepository(repositoryId);
|
|
18
|
+
cy.importServerFile(repositoryId, FILE_TO_IMPORT);
|
|
19
|
+
|
|
20
|
+
GuideSteps.visit();
|
|
21
|
+
GuideSteps.verifyGuidesListExists();
|
|
22
|
+
cy.wait('@getGuides');
|
|
23
|
+
GuideSteps.runFirstGuide();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
afterEach(() => {
|
|
27
|
+
cy.deleteRepository(repositoryId);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it('Should execute SPARQL query', () => {
|
|
31
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 1/5');
|
|
32
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the SPARQL Query & Update view to execute queries.');
|
|
33
|
+
GuideDialogSteps.clickOnNextButton();
|
|
34
|
+
|
|
35
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 2/5');
|
|
36
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the SPARQL menu.');
|
|
37
|
+
MainMenuSteps.clickOnSparqlMenu();
|
|
38
|
+
|
|
39
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 3/5');
|
|
40
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Enter the following SPARQL query: ');
|
|
41
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Extra content for query.');
|
|
42
|
+
GuideDialogSteps.copyQueryToEditor();
|
|
43
|
+
YasqeSteps.verifyQueryTyped("PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n select * where { \n\t?s rdfs:label ?o .\n} limit 3 ")
|
|
44
|
+
GuideDialogSteps.clickOnNextButton();
|
|
45
|
+
|
|
46
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 4/5');
|
|
47
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Run button.');
|
|
48
|
+
YasqeSteps.forceExecuteQuery();
|
|
49
|
+
|
|
50
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 5/5');
|
|
51
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The table shows the results from executing the query.');
|
|
52
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Extra content for result.');
|
|
53
|
+
GuideDialogSteps.clickOnNextButton();
|
|
54
|
+
|
|
55
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL Query & Update');
|
|
56
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Some extra explain content');
|
|
57
|
+
GuideDialogSteps.clickOnNextButton();
|
|
58
|
+
|
|
59
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL Query & Update');
|
|
60
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the rdf:type IRI to explore it.');
|
|
61
|
+
YasrSteps.clickOnResource(0, 1);
|
|
62
|
+
cy.url().should('include', '/resource?uri=https:%2F%2Fswapi.co%2Fresource%2Fplanet%2F25');
|
|
63
|
+
YasrSteps.getResults().should('have.length', 10);
|
|
64
|
+
|
|
65
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 1/5');
|
|
66
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the SPARQL Query & Update view to execute queries.');
|
|
67
|
+
GuideDialogSteps.clickOnNextButton();
|
|
68
|
+
|
|
69
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 2/5');
|
|
70
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the SPARQL menu.');
|
|
71
|
+
MainMenuSteps.clickOnSparqlMenu();
|
|
72
|
+
|
|
73
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL Query & Update — 3/5');
|
|
74
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Enter the following SPARQL query:');
|
|
75
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The query constructs a graph of films and their characters from the Star Wars API.');
|
|
76
|
+
GuideDialogSteps.copyQueryToEditor();
|
|
77
|
+
YasqeSteps.verifyQueryTyped("PREFIX voc: <https://swapi.co/vocabulary/>\nPREFIX swapi: <https://swapi.co/resource/>\n\nCONSTRUCT {\n?film swapi:hasCharacter ?person .\n}\nWHERE {\n?film a voc:Film ;\nvoc:character ?person .\n}")
|
|
78
|
+
GuideDialogSteps.clickOnNextButton();
|
|
79
|
+
|
|
80
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL Query & Update — 4/5');
|
|
81
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Run button.');
|
|
82
|
+
YasqeSteps.forceExecuteQuery();
|
|
83
|
+
|
|
84
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL Query & Update — 5/5');
|
|
85
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Visual button.');
|
|
86
|
+
SparqlSteps.visualizeConstructQuery();
|
|
87
|
+
cy.url().should('include', '/graphs-visualizations');
|
|
88
|
+
|
|
89
|
+
GuideDialogSteps.clickOnCloseButton();
|
|
90
|
+
GuideDialogSteps.assertDialogIsClosed();
|
|
91
|
+
});
|
|
92
|
+
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
|
|
2
|
+
import {GuideSteps} from "../../../steps/guides/guide-steps.js";
|
|
3
|
+
import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
|
|
4
|
+
import ImportSteps from "../../../steps/import/import-steps.js";
|
|
5
|
+
import {ImportUserDataSteps} from "../../../steps/import/import-user-data-steps.js";
|
|
6
|
+
import {ImportSettingsDialogSteps} from "../../../steps/import/import-settings-dialog-steps.js";
|
|
7
|
+
import {MainMenuSteps} from "../../../steps/main-menu-steps.js";
|
|
8
|
+
import {FileOverwriteDialogSteps} from "../../../steps/import/file-overwrite-dialog-steps.js";
|
|
9
|
+
|
|
10
|
+
describe('Confirm duplicate RDF file', () => {
|
|
11
|
+
const GUIDE_RESOURCE_FILE = 'starwars.ttl';
|
|
12
|
+
let repositoryId;
|
|
13
|
+
|
|
14
|
+
beforeEach(() => {
|
|
15
|
+
repositoryId = 'confirm-duplicate-rdf-file-guide-step-' + Date.now();
|
|
16
|
+
GuidesStubs.stubConfirmDuplicatedRDFFileGuide();
|
|
17
|
+
cy.createRepository({id: repositoryId});
|
|
18
|
+
cy.presetRepository(repositoryId);
|
|
19
|
+
|
|
20
|
+
GuideSteps.visit();
|
|
21
|
+
GuideSteps.verifyGuidesListExists();
|
|
22
|
+
cy.wait('@getGuides');
|
|
23
|
+
GuideSteps.runFirstGuide()
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
afterEach(() => {
|
|
27
|
+
cy.deleteRepository(repositoryId);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it('Should display an additional step that prompts the user to override the already imported file', () => {
|
|
31
|
+
// GIVEN: I have already uploaded an RDF file with the same name as the guide's rdf file.
|
|
32
|
+
ImportSteps.selectFile(`fixtures/guides/${GUIDE_RESOURCE_FILE}`);
|
|
33
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file');
|
|
34
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import button.');
|
|
35
|
+
ImportSettingsDialogSteps.import();
|
|
36
|
+
ImportUserDataSteps.checkImportedResource(0, GUIDE_RESOURCE_FILE);
|
|
37
|
+
|
|
38
|
+
// WHEN: I run a guide that includes the Import RDF File step.
|
|
39
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/6');
|
|
40
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
|
|
41
|
+
GuideDialogSteps.clickOnNextButton();
|
|
42
|
+
|
|
43
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/6');
|
|
44
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
|
|
45
|
+
MainMenuSteps.clickOnMenuImport();
|
|
46
|
+
|
|
47
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 3/6');
|
|
48
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Upload RDF files button and choose a file with the name starwars.ttl.');
|
|
49
|
+
ImportSteps.selectFile(`fixtures/guides/${GUIDE_RESOURCE_FILE}`);
|
|
50
|
+
|
|
51
|
+
// THEN: I should see an additional step that prompts me to override the already imported file.
|
|
52
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 4/6');
|
|
53
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Yes button to override the existing file.');
|
|
54
|
+
|
|
55
|
+
// WHEN: The user confirms the override.
|
|
56
|
+
FileOverwriteDialogSteps.overwrite();
|
|
57
|
+
|
|
58
|
+
// THEN: The guide should continue with the import step.
|
|
59
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 5/6');
|
|
60
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import button.');
|
|
61
|
+
GuideDialogSteps.clickOnNextButton();
|
|
62
|
+
});
|
|
63
|
+
});
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
|
|
2
|
+
import {GuideSteps} from "../../../steps/guides/guide-steps.js";
|
|
3
|
+
import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
|
|
4
|
+
import ImportSteps from "../../../steps/import/import-steps.js";
|
|
5
|
+
import {ToasterSteps} from "../../../steps/toaster-steps.js";
|
|
6
|
+
import {MainMenuSteps} from "../../../steps/main-menu-steps.js";
|
|
7
|
+
import {ImportSettingsDialogSteps} from "../../../steps/import/import-settings-dialog-steps.js";
|
|
8
|
+
|
|
9
|
+
describe('Import RDF file', () => {
|
|
10
|
+
const GUIDE_RESOURCE_FILE = 'starwars.ttl';
|
|
11
|
+
const WRONG_GUIDE_RESOURCE_FILE = 'movies.ttl';
|
|
12
|
+
let repositoryId;
|
|
13
|
+
|
|
14
|
+
beforeEach(() => {
|
|
15
|
+
repositoryId = 'import-rdf-file-guide-step-' + Date.now();
|
|
16
|
+
GuidesStubs.stubImportRDFFileGuide();
|
|
17
|
+
cy.createRepository({id: repositoryId});
|
|
18
|
+
cy.presetRepository(repositoryId);
|
|
19
|
+
|
|
20
|
+
GuideSteps.visit();
|
|
21
|
+
GuideSteps.verifyGuidesListExists();
|
|
22
|
+
cy.wait('@getGuides');
|
|
23
|
+
GuideSteps.runFirstGuide()
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
afterEach(() => {
|
|
27
|
+
cy.deleteRepository(repositoryId);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it('Should import an RDF file (User interaction)', () => {
|
|
31
|
+
// GIVEN: I start a guide that includes the Import RDF File step.
|
|
32
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/6');
|
|
33
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
|
|
34
|
+
GuideDialogSteps.clickOnNextButton();
|
|
35
|
+
|
|
36
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/6');
|
|
37
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
|
|
38
|
+
MainMenuSteps.clickOnMenuImport();
|
|
39
|
+
|
|
40
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 3/6');
|
|
41
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Upload RDF files button and choose a file with the name starwars.ttl.');
|
|
42
|
+
|
|
43
|
+
// WHEN: I try to upload a wrong RDF file.
|
|
44
|
+
ImportSteps.selectFile(`fixtures/guides/${WRONG_GUIDE_RESOURCE_FILE}`);
|
|
45
|
+
|
|
46
|
+
// THEN: An error message should be displayed.
|
|
47
|
+
ToasterSteps.verifyError(`The uploaded file does not match the expected resource. Please upload ${GUIDE_RESOURCE_FILE}.`)
|
|
48
|
+
// AND: The guide should still be on the same step.
|
|
49
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file');
|
|
50
|
+
GuideDialogSteps.assertDialogWithContentIsVisible(`Click on the Upload RDF files button and choose a file with the name ${GUIDE_RESOURCE_FILE}.`);
|
|
51
|
+
|
|
52
|
+
// WHEN: I upload the correct RDF file.
|
|
53
|
+
ImportSteps.selectFile(`fixtures/guides/${GUIDE_RESOURCE_FILE}`);
|
|
54
|
+
|
|
55
|
+
// THEN: I expect the guide to continue.
|
|
56
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 5/6');
|
|
57
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import button.');
|
|
58
|
+
ImportSettingsDialogSteps.import();
|
|
59
|
+
|
|
60
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 6/6');
|
|
61
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Wait until import finished.');
|
|
62
|
+
GuideDialogSteps.clickOnNextButton();
|
|
63
|
+
|
|
64
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
|
|
65
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
it('Should import an RDF file (Next flow)', () => {
|
|
69
|
+
// GIVEN: I start a guide that includes the Import RDF File step.
|
|
70
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/6');
|
|
71
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
|
|
72
|
+
GuideDialogSteps.clickOnNextButton();
|
|
73
|
+
|
|
74
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/6');
|
|
75
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
|
|
76
|
+
GuideDialogSteps.clickOnNextButton();
|
|
77
|
+
|
|
78
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 3/6');
|
|
79
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Upload RDF files button and choose a file with the name starwars.ttl.');
|
|
80
|
+
|
|
81
|
+
// WHEN: I try to continue with the guide without selecting an RDF file.
|
|
82
|
+
GuideDialogSteps.clickOnNextButton();
|
|
83
|
+
|
|
84
|
+
// THEN: An error message should be displayed.
|
|
85
|
+
ToasterSteps.verifyError(`Upload the file ${GUIDE_RESOURCE_FILE} first`);
|
|
86
|
+
// AND: The guide should still be on the same step.
|
|
87
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file');
|
|
88
|
+
GuideDialogSteps.assertDialogWithContentIsVisible(`Click on the Upload RDF files button and choose a file with the name ${GUIDE_RESOURCE_FILE}.`);
|
|
89
|
+
|
|
90
|
+
// WHEN: I upload the correct RDF file.
|
|
91
|
+
ImportSteps.selectFile(`fixtures/guides/${GUIDE_RESOURCE_FILE}`);
|
|
92
|
+
|
|
93
|
+
// THEN: I expect the guide to continue.
|
|
94
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 5/6');
|
|
95
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import button.');
|
|
96
|
+
GuideDialogSteps.clickOnNextButton();
|
|
97
|
+
|
|
98
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 6/6');
|
|
99
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Wait until import finished.');
|
|
100
|
+
GuideDialogSteps.clickOnNextButton();
|
|
101
|
+
|
|
102
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
|
|
103
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
|
|
104
|
+
});
|
|
105
|
+
});
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import {GuidesStubs} from "../../../stubs/guides/guides-stubs.js";
|
|
2
|
+
import {GuideSteps} from "../../../steps/guides/guide-steps.js";
|
|
3
|
+
import {GuideDialogSteps} from "../../../steps/guides/guide-dialog-steps.js";
|
|
4
|
+
import {MainMenuSteps} from "../../../steps/main-menu-steps.js";
|
|
5
|
+
import {BaseSteps} from "../../../steps/base-steps.js";
|
|
6
|
+
|
|
7
|
+
describe('Main Menu Guide steps', () => {
|
|
8
|
+
|
|
9
|
+
beforeEach(() => {
|
|
10
|
+
GuidesStubs.stubMainMenuGuide();
|
|
11
|
+
GuideSteps.visit();
|
|
12
|
+
GuideSteps.verifyGuidesListExists();
|
|
13
|
+
cy.wait('@getGuides');
|
|
14
|
+
GuideSteps.runFirstGuide();
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it('Should visit all menus with action', () => {
|
|
18
|
+
// Import
|
|
19
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/2');
|
|
20
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
|
|
21
|
+
GuideDialogSteps.clickOnNextButton();
|
|
22
|
+
|
|
23
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/2');
|
|
24
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
|
|
25
|
+
MainMenuSteps.clickOnMenuImport();
|
|
26
|
+
BaseSteps.validateUrl('/import');
|
|
27
|
+
|
|
28
|
+
// Create repository
|
|
29
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 1/3');
|
|
30
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Repositories view to create a repository.');
|
|
31
|
+
GuideDialogSteps.clickOnNextButton();
|
|
32
|
+
|
|
33
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 2/3');
|
|
34
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
35
|
+
MainMenuSteps.clickOnMenuSetup();
|
|
36
|
+
|
|
37
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 3/3');
|
|
38
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Repositories menu.');
|
|
39
|
+
MainMenuSteps.clickOnRepositoriesSubmenu();
|
|
40
|
+
BaseSteps.validateUrl('/repository');
|
|
41
|
+
|
|
42
|
+
// Class hierarchy
|
|
43
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 1/3');
|
|
44
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class hierarchy view to inspect the class hierarchy and gain an insight on what the dataset contains.');
|
|
45
|
+
GuideDialogSteps.clickOnNextButton();
|
|
46
|
+
|
|
47
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 2/3');
|
|
48
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
49
|
+
MainMenuSteps.clickOnExplore();
|
|
50
|
+
|
|
51
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 3/3');
|
|
52
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class hierarchy menu.');
|
|
53
|
+
MainMenuSteps.clickOnSubmenuClassHierarchy();
|
|
54
|
+
BaseSteps.validateUrl('/hierarchy');
|
|
55
|
+
|
|
56
|
+
// Class relationships
|
|
57
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 1/3');
|
|
58
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class relationships view to explore how classes are connected and understand the relationships between different types of data in your dataset.');
|
|
59
|
+
GuideDialogSteps.clickOnNextButton();
|
|
60
|
+
|
|
61
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 2/3');
|
|
62
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
63
|
+
MainMenuSteps.clickOnExplore();
|
|
64
|
+
|
|
65
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 3/3');
|
|
66
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class relationships menu.');
|
|
67
|
+
MainMenuSteps.clickOnSubmenuClassRelationships();
|
|
68
|
+
BaseSteps.validateUrl('/relationships');
|
|
69
|
+
|
|
70
|
+
// Visual graph
|
|
71
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 1/3');
|
|
72
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Visual graph view to explore data in a visual manner.');
|
|
73
|
+
GuideDialogSteps.clickOnNextButton();
|
|
74
|
+
|
|
75
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 2/3');
|
|
76
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
77
|
+
MainMenuSteps.clickOnExplore();
|
|
78
|
+
|
|
79
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 3/3');
|
|
80
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Visual graph menu.');
|
|
81
|
+
MainMenuSteps.clickOnSubmenuVisualGraph();
|
|
82
|
+
BaseSteps.validateUrl('/graphs-visualizations');
|
|
83
|
+
|
|
84
|
+
// Similarity
|
|
85
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 1/3');
|
|
86
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to create a Similarity index for your dataset.');
|
|
87
|
+
GuideDialogSteps.clickOnNextButton();
|
|
88
|
+
|
|
89
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 2/3');
|
|
90
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
91
|
+
MainMenuSteps.clickOnExplore();
|
|
92
|
+
|
|
93
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 3/3');
|
|
94
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Similarity menu.');
|
|
95
|
+
MainMenuSteps.clickOnSubmenuSimilarity();
|
|
96
|
+
BaseSteps.validateUrl('/similarity');
|
|
97
|
+
|
|
98
|
+
// SPARQL
|
|
99
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 1/2');
|
|
100
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the SPARQL Query & Update view to execute queries.');
|
|
101
|
+
GuideDialogSteps.clickOnNextButton();
|
|
102
|
+
|
|
103
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 2/2');
|
|
104
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the SPARQL menu.');
|
|
105
|
+
MainMenuSteps.clickOnSparqlMenu();
|
|
106
|
+
BaseSteps.validateUrl('/sparql');
|
|
107
|
+
|
|
108
|
+
// TTYG
|
|
109
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 1/3');
|
|
110
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Talk to Your Graph view to create an agen');
|
|
111
|
+
GuideDialogSteps.clickOnNextButton();
|
|
112
|
+
|
|
113
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 2/3');
|
|
114
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
|
|
115
|
+
MainMenuSteps.clickOnMenuLab();
|
|
116
|
+
|
|
117
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 3/3');
|
|
118
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
|
|
119
|
+
MainMenuSteps.clickOnTTYGSubmenu();
|
|
120
|
+
BaseSteps.validateUrl('/ttyg');
|
|
121
|
+
|
|
122
|
+
// Autocomplete
|
|
123
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 1/3');
|
|
124
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Autocomplete index view to enable the autocomplete index.');
|
|
125
|
+
GuideDialogSteps.clickOnNextButton();
|
|
126
|
+
|
|
127
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 2/3');
|
|
128
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
129
|
+
MainMenuSteps.clickOnMenuSetup();
|
|
130
|
+
|
|
131
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 3/3');
|
|
132
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Autocomplete menu.');
|
|
133
|
+
MainMenuSteps.clickOnSubmenuAutocomplete();
|
|
134
|
+
BaseSteps.validateUrl('/autocomplete');
|
|
135
|
+
|
|
136
|
+
// Connectors
|
|
137
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 1/2');
|
|
138
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
139
|
+
MainMenuSteps.clickOnMenuSetup();
|
|
140
|
+
|
|
141
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 2/2');
|
|
142
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Connectors menu.');
|
|
143
|
+
MainMenuSteps.clickOnSubmenuConnectors();
|
|
144
|
+
BaseSteps.validateUrl('/connectors');
|
|
145
|
+
|
|
146
|
+
// RDF Rank
|
|
147
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 1/2');
|
|
148
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
149
|
+
MainMenuSteps.clickOnMenuSetup();
|
|
150
|
+
|
|
151
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 2/2');
|
|
152
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the RDF Rank menu.');
|
|
153
|
+
MainMenuSteps.clickOnSubmenuRDFRank();
|
|
154
|
+
BaseSteps.validateUrl('/rdfrank');
|
|
155
|
+
|
|
156
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
|
|
157
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
it('Should visit all menus with next click', () => {
|
|
161
|
+
// Import
|
|
162
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 1/2');
|
|
163
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Import view to import data from a file.');
|
|
164
|
+
GuideDialogSteps.clickOnNextButton();
|
|
165
|
+
|
|
166
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Import file — 2/2');
|
|
167
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Import menu.');
|
|
168
|
+
GuideDialogSteps.clickOnNextButton();
|
|
169
|
+
BaseSteps.validateUrl('/import');
|
|
170
|
+
|
|
171
|
+
// Create repository
|
|
172
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 1/3');
|
|
173
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Repositories view to create a repository.');
|
|
174
|
+
GuideDialogSteps.clickOnNextButton();
|
|
175
|
+
|
|
176
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 2/3');
|
|
177
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
178
|
+
GuideDialogSteps.clickOnNextButton();
|
|
179
|
+
|
|
180
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create repository — 3/3');
|
|
181
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Repositories menu.');
|
|
182
|
+
GuideDialogSteps.clickOnNextButton();
|
|
183
|
+
BaseSteps.validateUrl('/repository');
|
|
184
|
+
|
|
185
|
+
// Class hierarchy
|
|
186
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 1/3');
|
|
187
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class hierarchy view to inspect the class hierarchy and gain an insight on what the dataset contains.');
|
|
188
|
+
GuideDialogSteps.clickOnNextButton();
|
|
189
|
+
|
|
190
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 2/3');
|
|
191
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
192
|
+
GuideDialogSteps.clickOnNextButton();
|
|
193
|
+
|
|
194
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class hierarchy — 3/3');
|
|
195
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class hierarchy menu.');
|
|
196
|
+
GuideDialogSteps.clickOnNextButton();
|
|
197
|
+
BaseSteps.validateUrl('/hierarchy');
|
|
198
|
+
|
|
199
|
+
// Class relationships
|
|
200
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 1/3');
|
|
201
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Class relationships view to explore how classes are connected and understand the relationships between different types of data in your dataset.');
|
|
202
|
+
GuideDialogSteps.clickOnNextButton();
|
|
203
|
+
|
|
204
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 2/3');
|
|
205
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
206
|
+
GuideDialogSteps.clickOnNextButton();
|
|
207
|
+
|
|
208
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Explore the class relationships — 3/3');
|
|
209
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Class relationships menu.');
|
|
210
|
+
GuideDialogSteps.clickOnNextButton();
|
|
211
|
+
BaseSteps.validateUrl('/relationships');
|
|
212
|
+
|
|
213
|
+
// Visual graph
|
|
214
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 1/3');
|
|
215
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Visual graph view to explore data in a visual manner.');
|
|
216
|
+
GuideDialogSteps.clickOnNextButton();
|
|
217
|
+
|
|
218
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 2/3');
|
|
219
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
220
|
+
GuideDialogSteps.clickOnNextButton();
|
|
221
|
+
|
|
222
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Visual graph explore — 3/3');
|
|
223
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Visual graph menu.');
|
|
224
|
+
GuideDialogSteps.clickOnNextButton();
|
|
225
|
+
BaseSteps.validateUrl('/graphs-visualizations');
|
|
226
|
+
|
|
227
|
+
// Similarity
|
|
228
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 1/3');
|
|
229
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to create a Similarity index for your dataset.');
|
|
230
|
+
GuideDialogSteps.clickOnNextButton();
|
|
231
|
+
|
|
232
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 2/3');
|
|
233
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Explore menu.');
|
|
234
|
+
GuideDialogSteps.clickOnNextButton();
|
|
235
|
+
|
|
236
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create Similarity index — 3/3');
|
|
237
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Similarity menu.');
|
|
238
|
+
GuideDialogSteps.clickOnNextButton();
|
|
239
|
+
BaseSteps.validateUrl('/similarity');
|
|
240
|
+
|
|
241
|
+
// SPARQL
|
|
242
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 1/2');
|
|
243
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the SPARQL Query & Update view to execute queries.');
|
|
244
|
+
GuideDialogSteps.clickOnNextButton();
|
|
245
|
+
|
|
246
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Execute SPARQL query — 2/2');
|
|
247
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the SPARQL menu.');
|
|
248
|
+
GuideDialogSteps.clickOnNextButton();
|
|
249
|
+
BaseSteps.validateUrl('/sparql');
|
|
250
|
+
|
|
251
|
+
// TTYG
|
|
252
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 1/3');
|
|
253
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Talk to Your Graph view to create an agen');
|
|
254
|
+
GuideDialogSteps.clickOnNextButton();
|
|
255
|
+
|
|
256
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 2/3');
|
|
257
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
|
|
258
|
+
GuideDialogSteps.clickOnNextButton();
|
|
259
|
+
|
|
260
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 3/3');
|
|
261
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
|
|
262
|
+
GuideDialogSteps.clickOnNextButton();
|
|
263
|
+
BaseSteps.validateUrl('/ttyg');
|
|
264
|
+
|
|
265
|
+
// Autocomplete
|
|
266
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 1/3');
|
|
267
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Autocomplete index view to enable the autocomplete index.');
|
|
268
|
+
GuideDialogSteps.clickOnNextButton();
|
|
269
|
+
|
|
270
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 2/3');
|
|
271
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
272
|
+
GuideDialogSteps.clickOnNextButton();
|
|
273
|
+
|
|
274
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Enable autocomplete — 3/3');
|
|
275
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Autocomplete menu.');
|
|
276
|
+
GuideDialogSteps.clickOnNextButton();
|
|
277
|
+
BaseSteps.validateUrl('/autocomplete');
|
|
278
|
+
|
|
279
|
+
// Connectors
|
|
280
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 1/2');
|
|
281
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
282
|
+
GuideDialogSteps.clickOnNextButton();
|
|
283
|
+
|
|
284
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Connectors — 2/2');
|
|
285
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Connectors menu.');
|
|
286
|
+
GuideDialogSteps.clickOnNextButton();
|
|
287
|
+
BaseSteps.validateUrl('/connectors');
|
|
288
|
+
|
|
289
|
+
// RDF Rank
|
|
290
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 1/2');
|
|
291
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Setup menu.');
|
|
292
|
+
GuideDialogSteps.clickOnNextButton();
|
|
293
|
+
|
|
294
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('RDF Rank — 2/2');
|
|
295
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the RDF Rank menu.');
|
|
296
|
+
GuideDialogSteps.clickOnNextButton();
|
|
297
|
+
BaseSteps.validateUrl('/rdfrank');
|
|
298
|
+
|
|
299
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('End of guide');
|
|
300
|
+
GuideDialogSteps.assertDialogWithContentIsVisible('This guide has ended.');
|
|
301
|
+
});
|
|
302
|
+
});
|