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
|
@@ -70,7 +70,7 @@ export class AclManagementSteps {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
static getActiveTabDirtyIcon() {
|
|
73
|
-
return this.getActiveTab().find('.
|
|
73
|
+
return this.getActiveTab().find('.icon-exclamation');
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
static addRuleInBeginning() {
|
|
@@ -165,10 +165,6 @@ export class AclManagementSteps {
|
|
|
165
165
|
this.getRoleField(index).clear().type(value);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
static blurRole(index) {
|
|
169
|
-
this.getRoleField(index).blur();
|
|
170
|
-
}
|
|
171
|
-
|
|
172
168
|
static getFieldError() {
|
|
173
169
|
return cy.get('div.small');
|
|
174
170
|
}
|
|
@@ -178,7 +174,7 @@ export class AclManagementSteps {
|
|
|
178
174
|
}
|
|
179
175
|
|
|
180
176
|
static getWarningIcon(index) {
|
|
181
|
-
return this.getSavedRoleField(index).get('.
|
|
177
|
+
return this.getSavedRoleField(index).get('.icon-warning');
|
|
182
178
|
}
|
|
183
179
|
|
|
184
180
|
static getWarningIconTooltipText(index) {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class AutocompleteSteps extends BaseSteps {
|
|
1
|
+
export class AutocompleteSteps {
|
|
4
2
|
|
|
5
3
|
static visit() {
|
|
6
4
|
cy.visit('/autocomplete');
|
|
7
5
|
}
|
|
8
6
|
|
|
9
7
|
static waitUntilAutocompletePageIsLoaded() {
|
|
8
|
+
// Workbench loading screen should not be visible
|
|
9
|
+
cy.get('.ot-splash').should('not.be.visible');
|
|
10
|
+
|
|
10
11
|
// No active loader
|
|
11
|
-
cy.get('.ot-loader
|
|
12
|
+
cy.get('.ot-loader').should('not.exist');
|
|
12
13
|
|
|
13
14
|
// Repository is active
|
|
14
15
|
cy.get('.repository-errors').should('not.be.visible');
|
|
@@ -25,11 +26,7 @@ export class AutocompleteSteps extends BaseSteps {
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
static getAutocompletePage() {
|
|
28
|
-
return
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
static getAutocompletePageContent() {
|
|
32
|
-
return this.getAutocompletePage().getByTestId('autocomplete-content');
|
|
29
|
+
return cy.get('#autocomplete');
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
static getAutocompleteIndex() {
|
|
@@ -37,21 +34,13 @@ export class AutocompleteSteps extends BaseSteps {
|
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
static getAutocompleteHeader() {
|
|
40
|
-
return this.
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
static getAutocompleteLabelsContainer() {
|
|
44
|
-
return this.getAutocompletePage().getByTestId('autocomplete-labels-container');
|
|
37
|
+
return this.getAutocompleteIndex().find('.autocomplete-header');
|
|
45
38
|
}
|
|
46
39
|
|
|
47
40
|
static getAutocompleteSwitch() {
|
|
48
41
|
return this.getAutocompleteIndex().find('.autocomplete-switch');
|
|
49
42
|
}
|
|
50
43
|
|
|
51
|
-
static enableToggleAutocomplete() {
|
|
52
|
-
this.getAutocompleteSwitch().click();
|
|
53
|
-
}
|
|
54
|
-
|
|
55
44
|
static getAutocompleteStatus() {
|
|
56
45
|
return this.getAutocompleteIndex().find('.autocomplete-status');
|
|
57
46
|
}
|
|
@@ -87,10 +76,6 @@ export class AutocompleteSteps extends BaseSteps {
|
|
|
87
76
|
return this.getAutocompletePage().find('#wb-autocomplete-labels');
|
|
88
77
|
}
|
|
89
78
|
|
|
90
|
-
static getLabelRows() {
|
|
91
|
-
return this.getAutocompleteLabels().find('.wb-autocomplete-labels-row')
|
|
92
|
-
}
|
|
93
|
-
|
|
94
79
|
static getTableRows() {
|
|
95
80
|
return cy.get('.wb-autocomplete-labels-row');
|
|
96
81
|
}
|
|
@@ -108,6 +93,6 @@ export class AutocompleteSteps extends BaseSteps {
|
|
|
108
93
|
}
|
|
109
94
|
|
|
110
95
|
static editLabelOnRow(rowIndex) {
|
|
111
|
-
this.getTableRows().eq(rowIndex).find('.actions-bar .
|
|
96
|
+
this.getTableRows().eq(rowIndex).find('.actions-bar .icon-edit').click();
|
|
112
97
|
}
|
|
113
98
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class JdbcSteps extends BaseSteps {
|
|
1
|
+
export class JdbcSteps {
|
|
4
2
|
|
|
5
3
|
static visit() {
|
|
6
4
|
cy.visit('/jdbc');
|
|
@@ -10,24 +8,12 @@ export class JdbcSteps extends BaseSteps {
|
|
|
10
8
|
cy.url().should('include', '/jdbc');
|
|
11
9
|
}
|
|
12
10
|
|
|
13
|
-
static
|
|
14
|
-
return
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
static getJDBCConfiguration() {
|
|
18
|
-
return this.getJDBCPage().getByTestId('jdbc-configurations');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
static getCreateSQLTableConfigurationButton() {
|
|
22
|
-
return this.getJDBCConfiguration().getByTestId('create-sql-table-configuration');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
static getNoSQLConfigurationsMessage() {
|
|
26
|
-
return this.getJDBCConfiguration().getByTestId('no-sql-configurations-message');
|
|
11
|
+
static getCreateNewJDBCConfigurationButton() {
|
|
12
|
+
return cy.get('.create-sql-table-configuration');
|
|
27
13
|
}
|
|
28
14
|
|
|
29
15
|
static clickOnCreateJdbcConfigurationButton() {
|
|
30
|
-
JdbcSteps.
|
|
16
|
+
JdbcSteps.getCreateNewJDBCConfigurationButton().click();
|
|
31
17
|
}
|
|
32
18
|
|
|
33
19
|
static getJDBCConfigurations() {
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class NamespaceSteps extends BaseSteps {
|
|
1
|
+
export class NamespaceSteps {
|
|
4
2
|
static visit() {
|
|
5
3
|
cy.visit('/namespaces');
|
|
6
4
|
}
|
|
7
5
|
|
|
8
6
|
static getNamespacesView() {
|
|
9
|
-
return
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
static getNamespacesContent() {
|
|
13
|
-
return this.getNamespacesView().getByTestId('namespaces-content');
|
|
7
|
+
return cy.get('#wb-namespaces');
|
|
14
8
|
}
|
|
15
9
|
|
|
16
10
|
// ------ Generic ------
|
|
17
11
|
|
|
18
12
|
static waitUntilPageIsLoaded() {
|
|
13
|
+
// Workbench loading screen should not be visible
|
|
14
|
+
cy.get('.ot-splash').should('not.be.visible');
|
|
15
|
+
|
|
19
16
|
// No active loader
|
|
20
|
-
cy.get('.ot-loader
|
|
17
|
+
cy.get('.ot-loader').should('not.be.visible');
|
|
21
18
|
|
|
22
19
|
this.getAddNamespaceForm().should('be.visible');
|
|
23
20
|
}
|
|
@@ -168,7 +165,7 @@ export class NamespaceSteps extends BaseSteps {
|
|
|
168
165
|
}
|
|
169
166
|
|
|
170
167
|
static typeInlineNamespacePrefix(index, prefix) {
|
|
171
|
-
this.getInlineNamespacePrefix(index).
|
|
168
|
+
this.getInlineNamespacePrefix(index).clear().type(prefix);
|
|
172
169
|
}
|
|
173
170
|
|
|
174
171
|
static getInlineNamespaceValue(index) {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class PluginsSteps extends BaseSteps {
|
|
1
|
+
export class PluginsSteps {
|
|
4
2
|
static visit() {
|
|
5
3
|
cy.visit('/plugins');
|
|
6
4
|
}
|
|
@@ -9,17 +7,12 @@ export class PluginsSteps extends BaseSteps {
|
|
|
9
7
|
return cy.get('#plugins');
|
|
10
8
|
}
|
|
11
9
|
|
|
12
|
-
static getSearchPluginBar() {
|
|
13
|
-
return this.getPluginsView().getByTestId('search-plugins-bar');
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static getPluginsList() {
|
|
17
|
-
return this.getPluginsView().getByTestId('plugins-list');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
10
|
static waitUntilPluginsPageIsLoaded() {
|
|
11
|
+
// Workbench loading screen should not be visible
|
|
12
|
+
cy.get('.ot-splash').should('not.be.visible');
|
|
13
|
+
|
|
21
14
|
// No active loader
|
|
22
|
-
cy.get('.ot-loader
|
|
15
|
+
cy.get('.ot-loader').should('not.exist');
|
|
23
16
|
|
|
24
17
|
// Repository is active
|
|
25
18
|
cy.get('.repository-errors').should('not.be.visible');
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {BaseSteps} from "../base-steps";
|
|
2
1
|
|
|
3
|
-
export class RdfRankSteps
|
|
2
|
+
export class RdfRankSteps {
|
|
4
3
|
static visit() {
|
|
5
4
|
cy.visit('/rdfrank');
|
|
6
5
|
}
|
|
@@ -10,8 +9,11 @@ export class RdfRankSteps extends BaseSteps {
|
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
static waitUntilRdfRankPageIsLoaded() {
|
|
12
|
+
// Workbench loading screen should not be visible
|
|
13
|
+
cy.get('.ot-splash').should('not.be.visible');
|
|
14
|
+
|
|
13
15
|
// No active loader
|
|
14
|
-
cy.get('.ot-loader
|
|
16
|
+
cy.get('.ot-loader').should('not.exist');
|
|
15
17
|
|
|
16
18
|
// Repository is active
|
|
17
19
|
cy.get('.repository-errors').should('not.be.visible');
|
|
@@ -25,26 +27,6 @@ export class RdfRankSteps extends BaseSteps {
|
|
|
25
27
|
return cy.get('#rdfRank');
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
static getRDFRankPage() {
|
|
29
|
-
return this.getByTestId('rdf-rank-page');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
static getRDFRankContent() {
|
|
33
|
-
return this.getRDFRankPage().getByTestId('rdf-rank-content');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
static getRDFRankLabel() {
|
|
37
|
-
return this.getRDFRankPage().getByTestId('rdf-rank-status-label');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
static getRDFRandComputeButton() {
|
|
41
|
-
return this.getRDFRankPage().getByTestId('compute-rdf-rank-btn');
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
static getFilter() {
|
|
45
|
-
return this.getRdfRankPage().getByTestId('filter-content');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
30
|
static getRdfStatusHeader() {
|
|
49
31
|
return this.getRdfRankPage().find('#toggleIndex');
|
|
50
32
|
}
|
|
@@ -120,4 +102,8 @@ export class RdfRankSteps extends BaseSteps {
|
|
|
120
102
|
static getExcludedPredicatesFilter() {
|
|
121
103
|
return this.getFilteringConfig().find('.excluded-predicates-filter');
|
|
122
104
|
}
|
|
105
|
+
|
|
106
|
+
static getToast() {
|
|
107
|
+
return cy.get('#toast-container');
|
|
108
|
+
}
|
|
123
109
|
}
|
|
@@ -1,113 +1,14 @@
|
|
|
1
|
-
import {EnvironmentStubs} from "../../stubs/environment-stubs";
|
|
2
|
-
|
|
3
1
|
export class SettingsSteps {
|
|
4
2
|
static visit() {
|
|
5
3
|
cy.visit('/settings');
|
|
6
4
|
}
|
|
7
5
|
|
|
8
|
-
static visitInProdMode() {
|
|
9
|
-
cy.visit('/settings', {
|
|
10
|
-
onBeforeLoad: (win) => {
|
|
11
|
-
EnvironmentStubs.stubWbProdMode();
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static visitInDevMode() {
|
|
17
|
-
cy.visit('/settings', {
|
|
18
|
-
onBeforeLoad: (win) => {
|
|
19
|
-
EnvironmentStubs.stubWbDevMode();
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
static getSettingsPage() {
|
|
25
|
-
return cy.get('#wb-user');
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
static getLoginPanel() {
|
|
29
|
-
return this.getSettingsPage().find('.login-credentials')
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
static getPasswordField() {
|
|
33
|
-
return this.getLoginPanel().find('#wb-user-password:password');
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
static getConfirmPasswordField() {
|
|
37
|
-
return this.getLoginPanel().find('#wb-user-confirmpassword:password');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
static getSparqlEditorPanel() {
|
|
41
|
-
return this.getSettingsPage()
|
|
42
|
-
.find('.sparql-editor-settings');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
static getSameAsLabel() {
|
|
46
|
-
return this.getSparqlEditorPanel().find('.sameas-label')
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
static getSameAsToggle() {
|
|
50
|
-
return this.getSparqlEditorPanel()
|
|
51
|
-
.find('#sameas-on')
|
|
52
|
-
.find('.switch:checkbox');
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
static getInferenceToggle() {
|
|
56
|
-
return this.getSparqlEditorPanel()
|
|
57
|
-
.find('#inference-on')
|
|
58
|
-
.find('.switch:checkbox');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
static getInferenceLabel() {
|
|
62
|
-
return this.getSparqlEditorPanel().find('.inference-label');
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
static getCountCheckbox() {
|
|
66
|
-
return this.getSparqlEditorPanel().find('#defaultCount:checkbox');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
static getIgnoreSharedCheckbox() {
|
|
70
|
-
return this.getSparqlEditorPanel().find('#ignore-shared:checkbox');
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
static getUserRolePanel() {
|
|
74
|
-
return this.getSettingsPage().find('.user-role');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
static getUserRoleRadioButton() {
|
|
78
|
-
return this.getUserRolePanel().find('#roleAdmin:radio');
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
static getRepoManagerRadioButton() {
|
|
82
|
-
return this.getUserRolePanel().find('#roleRepoAdmin:radio');
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
static getAdminRadioButton() {
|
|
86
|
-
return this.getUserRolePanel().find('#roleUser:radio');
|
|
87
|
-
}
|
|
88
|
-
|
|
89
6
|
static getCookiePolicyButton() {
|
|
90
|
-
return
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
static getUserRepositoryTable() {
|
|
94
|
-
return this.getSettingsPage().find('.user-repositories .table');
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
static getUserRepository(name) {
|
|
98
|
-
return this.getUserRepositoryTable().find(`.repository-name:contains('${name}')`).closest('tr');
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
static getReadRightsCheckbox(repositoryId) {
|
|
102
|
-
return this.getUserRepository(repositoryId).find('.read-rights .read:checkbox');
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
static getWriteRightsCheckbox(repositoryId) {
|
|
106
|
-
return this.getUserRepository(repositoryId).find('.write-rights .write:checkbox');
|
|
7
|
+
return cy.get('.show-cookie-policy-btn');
|
|
107
8
|
}
|
|
108
9
|
|
|
109
10
|
static clickCookiePolicyLink() {
|
|
110
|
-
return
|
|
11
|
+
return SettingsSteps.getCookiePolicyButton().click();
|
|
111
12
|
}
|
|
112
13
|
|
|
113
14
|
static getCookiePolicyModal() {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export class SparqlTemplatesSteps extends BaseSteps {
|
|
1
|
+
export class SparqlTemplatesSteps {
|
|
4
2
|
|
|
5
3
|
static visit() {
|
|
6
4
|
cy.visit('/sparql-templates');
|
|
@@ -10,22 +8,6 @@ export class SparqlTemplatesSteps extends BaseSteps {
|
|
|
10
8
|
cy.url().should('include', '/sparql-templates');
|
|
11
9
|
}
|
|
12
10
|
|
|
13
|
-
static getSparqlTemplatesPage() {
|
|
14
|
-
return this.getByTestId('sparql-templates-page');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
static getSparqlTemplatesContent() {
|
|
18
|
-
return this.getSparqlTemplatesPage().getByTestId('sparql-templates-content');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
static getSparqlTemplatesCreateLink() {
|
|
22
|
-
return this.getSparqlTemplatesPage().getByTestId('create-sparql-template-link');
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
static getNoSparqlTemplatesMessage() {
|
|
26
|
-
return this.getSparqlTemplatesPage().getByTestId('no-sparql-templates-message');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
11
|
static getSparqlTemplatesListContainer() {
|
|
30
12
|
return cy.get('.sparql-templates-list');
|
|
31
13
|
}
|
|
@@ -1,32 +1,14 @@
|
|
|
1
|
-
import {EnvironmentStubs} from "../../stubs/environment-stubs";
|
|
2
|
-
|
|
3
1
|
export class UserAndAccessSteps {
|
|
4
2
|
static visit() {
|
|
5
3
|
cy.visit('/users');
|
|
6
4
|
}
|
|
7
5
|
|
|
8
|
-
static visitInProdMode() {
|
|
9
|
-
cy.visit('/users', {
|
|
10
|
-
onBeforeLoad: () => {
|
|
11
|
-
EnvironmentStubs.stubWbProdMode();
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static getUsersCatalogContainer() {
|
|
17
|
-
return cy.get('#wb-users');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
6
|
static getUrl() {
|
|
21
7
|
return cy.url();
|
|
22
8
|
}
|
|
23
9
|
|
|
24
|
-
static isUsersUrlLoaded() {
|
|
25
|
-
return this.getUrl().should('include', '/users');
|
|
26
|
-
}
|
|
27
|
-
|
|
28
10
|
static getSplashLoader() {
|
|
29
|
-
return cy.get('.ot-
|
|
11
|
+
return cy.get('.ot-splash');
|
|
30
12
|
}
|
|
31
13
|
|
|
32
14
|
static getCreateNewUserButton() {
|
|
@@ -109,10 +91,6 @@ export class UserAndAccessSteps {
|
|
|
109
91
|
.closest('tr').as('user');
|
|
110
92
|
}
|
|
111
93
|
|
|
112
|
-
static getUserCustomRoles(userRow) {
|
|
113
|
-
return cy.get(userRow).getByTestId('custom-roles').getByTestId('custom-role');
|
|
114
|
-
}
|
|
115
|
-
|
|
116
94
|
static getUsernameField() {
|
|
117
95
|
return cy.get('#wb-user-username');
|
|
118
96
|
}
|
|
@@ -173,30 +151,14 @@ export class UserAndAccessSteps {
|
|
|
173
151
|
cy.get('.write').click();
|
|
174
152
|
}
|
|
175
153
|
|
|
176
|
-
static
|
|
177
|
-
return cy.get('
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Returns the feedback <div> for the given login field error.
|
|
182
|
-
* @param field One of "username", "password", "confirmPassword"
|
|
183
|
-
*/
|
|
184
|
-
static getUserFieldError(field) {
|
|
185
|
-
return cy.get(`.login-credentials [ng-show="${field}Error"].form-control-feedback`);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
static getRepositoryRightsError() {
|
|
189
|
-
return cy.get('#user-repos [ng-show="repositoryCheckError"].form-control-feedback');
|
|
154
|
+
static getFieldError() {
|
|
155
|
+
return cy.get('div.small');
|
|
190
156
|
}
|
|
191
157
|
|
|
192
158
|
static getError() {
|
|
193
159
|
return cy.get('.alert-danger');
|
|
194
160
|
}
|
|
195
161
|
|
|
196
|
-
static getPermissionError() {
|
|
197
|
-
return cy.getByTestId('restricted-access-banner');
|
|
198
|
-
}
|
|
199
|
-
|
|
200
162
|
static getModal() {
|
|
201
163
|
return cy.get('.modal-dialog');
|
|
202
164
|
}
|
|
@@ -294,15 +256,15 @@ export class UserAndAccessSteps {
|
|
|
294
256
|
}
|
|
295
257
|
|
|
296
258
|
static findReadIconAlias(repoLineAlias) {
|
|
297
|
-
return cy.get(repoLineAlias).find('.
|
|
259
|
+
return cy.get(repoLineAlias).find('.icon-eye');
|
|
298
260
|
}
|
|
299
261
|
|
|
300
262
|
static findWriteIconAlias(repoLineAlias) {
|
|
301
|
-
return cy.get(repoLineAlias).find('.
|
|
263
|
+
return cy.get(repoLineAlias).find('.icon-edit');
|
|
302
264
|
}
|
|
303
265
|
|
|
304
266
|
static findGraphqlIconAlias(repoLineAlias) {
|
|
305
|
-
return cy.get(repoLineAlias).find('.
|
|
267
|
+
return cy.get(repoLineAlias).find('.fa-gdb-graphql');
|
|
306
268
|
}
|
|
307
269
|
|
|
308
270
|
static openEditUserPage(username) {
|
|
@@ -367,15 +329,19 @@ export class UserAndAccessSteps {
|
|
|
367
329
|
}
|
|
368
330
|
|
|
369
331
|
static clickFreeWriteAccessRepo(repoName) {
|
|
370
|
-
cy.get('.repo-fields')
|
|
371
|
-
|
|
372
|
-
|
|
332
|
+
cy.get('.repo-fields')
|
|
333
|
+
.contains(repoName)
|
|
334
|
+
.parent('.row')
|
|
335
|
+
.find('.write')
|
|
336
|
+
.realClick();
|
|
373
337
|
}
|
|
374
338
|
|
|
375
339
|
static clickFreeGraphqlAccessRepo(repoName) {
|
|
376
|
-
cy.get('.repo-fields')
|
|
377
|
-
|
|
378
|
-
|
|
340
|
+
cy.get('.repo-fields')
|
|
341
|
+
.contains(repoName)
|
|
342
|
+
.parent('.row')
|
|
343
|
+
.find('.graphql')
|
|
344
|
+
.realClick();
|
|
379
345
|
}
|
|
380
346
|
|
|
381
347
|
}
|
|
@@ -3,19 +3,13 @@ import {YasqeSteps} from "./yasgui/yasqe-steps";
|
|
|
3
3
|
const VIEW_URL = '/sparql';
|
|
4
4
|
|
|
5
5
|
export class SparqlEditorSteps {
|
|
6
|
-
static visitSparqlEditorPage(
|
|
7
|
-
|
|
8
|
-
cy.visit(url);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
static visitSparqlEditorPageAndWaitForEditor(urlParameters ) {
|
|
12
|
-
SparqlEditorSteps.visitSparqlEditorPage(urlParameters);
|
|
6
|
+
static visitSparqlEditorPage() {
|
|
7
|
+
cy.visit(VIEW_URL);
|
|
13
8
|
// Because we use angularjs less than 1.7.3 we use additional library ng-custom-element.umd.js to solve problem with property bindings
|
|
14
9
|
// This library make additional call to ontotext-yasgui-web-component and the component that's way the component renders twice when page loaded.
|
|
15
10
|
// This is bad because in tests cypress can find an element when it is rendered from first call and try to click it for example.
|
|
16
11
|
// If time of clicking such element is when second call to the component is done then exception that element is detached will be thrown.
|
|
17
12
|
// We will wait a little , to give a chance page is loaded correctly before test start.
|
|
18
|
-
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
19
13
|
cy.wait(1000);
|
|
20
14
|
YasqeSteps.waitUntilQueryIsVisible();
|
|
21
15
|
}
|
package/steps/sparql-steps.js
CHANGED
|
@@ -63,12 +63,8 @@ class SparqlSteps {
|
|
|
63
63
|
this.getLoader().should('not.exist');
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
static getActiveTabPanel() {
|
|
67
|
-
return cy.get('.tabPanel.active');
|
|
68
|
-
}
|
|
69
|
-
|
|
70
66
|
static getRunQueryButton() {
|
|
71
|
-
return
|
|
67
|
+
return cy.get('#wb-sparql-runQuery');
|
|
72
68
|
}
|
|
73
69
|
|
|
74
70
|
static getNoQueryRunInfo() {
|
|
@@ -128,14 +124,6 @@ class SparqlSteps {
|
|
|
128
124
|
return cy.get('#saveAsBtn');
|
|
129
125
|
}
|
|
130
126
|
|
|
131
|
-
static getVisualBtn() {
|
|
132
|
-
return this.getActiveTabPanel().find('.explore-visual-graph-button');
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
static visualizeConstructQuery() {
|
|
136
|
-
this.getVisualBtn().click();
|
|
137
|
-
}
|
|
138
|
-
|
|
139
127
|
static getEditorAndResultsBtn() {
|
|
140
128
|
return cy.get('.editor-and-results-btn');
|
|
141
129
|
}
|
package/steps/toaster-steps.js
CHANGED
|
@@ -1,28 +1,24 @@
|
|
|
1
1
|
export class ToasterSteps {
|
|
2
2
|
static getToast() {
|
|
3
|
-
return cy.get('
|
|
3
|
+
return cy.get('#toast-container');
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
static verifyTitle(title) {
|
|
7
|
-
|
|
7
|
+
ToasterSteps.getToast()
|
|
8
8
|
.find('.toast-title')
|
|
9
9
|
.should('be.visible')
|
|
10
10
|
.and('contain', title);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
static verifySuccess(successMessage) {
|
|
14
|
-
|
|
14
|
+
ToasterSteps.getToast()
|
|
15
15
|
.should('exist')
|
|
16
16
|
.find('.toast-message')
|
|
17
17
|
.and('contain', successMessage);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
static getToasterMessage() {
|
|
21
|
-
return ToasterSteps.getToast().find('.toast-message')
|
|
22
|
-
}
|
|
23
|
-
|
|
24
20
|
static verifyWarning(warningMessage) {
|
|
25
|
-
|
|
21
|
+
ToasterSteps.getToast()
|
|
26
22
|
.find('.toast-warning')
|
|
27
23
|
.should('be.visible')
|
|
28
24
|
.find('.toast-message')
|
|
@@ -30,17 +26,9 @@ export class ToasterSteps {
|
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
static verifyError(errorMessage) {
|
|
33
|
-
|
|
34
|
-
.
|
|
35
|
-
.and('have.class', 'toast-error')
|
|
36
|
-
.find('.toast-message')
|
|
37
|
-
.and('contain', errorMessage);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
static verifyNewToasterError(errorMessage) {
|
|
41
|
-
return ToasterSteps.getToast()
|
|
29
|
+
ToasterSteps.getToast()
|
|
30
|
+
.find('.toast-error')
|
|
42
31
|
.should('be.visible')
|
|
43
|
-
.and('have.class', 'toast error')
|
|
44
32
|
.find('.toast-message')
|
|
45
33
|
.and('contain', errorMessage);
|
|
46
34
|
}
|