graphdb-workbench-tests 3.4.0-TR2 → 3.4.0-TR4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +11 -0
- package/cypress-flaky.config.js +6 -20
- package/cypress.config.js +6 -45
- package/fixtures/locale-en.json +3342 -0
- package/fixtures/ttyg/agent/get-agent-defaults.json +2 -9
- package/fixtures/ttyg/chats/ask-question.json +2 -12
- package/fixtures/ttyg/chats/create/create-chat-response.json +14 -10
- package/fixtures/ttyg/chats/explain-response-1.json +48 -2
- package/fixtures/ttyg/chats/get-chat.json +1 -6
- package/{e2e-legacy → integration}/cluster/cluster-states.spec.js +3 -3
- package/{e2e-legacy/explore/class-hierarchy → integration/explore}/class.hierarchy.spec.js +1 -1
- package/{e2e-legacy/explore/class-relationships/class-relationships.spec.js → integration/explore/class.relationships.spec.js} +50 -20
- package/{e2e-legacy/explore/graphs-overview → integration/explore}/graphs.overview.spec.js +4 -4
- package/integration/explore/similarity-index/similarity-index-create.spec.js +333 -0
- package/integration/explore/similarity-index/similarity-index.spec.js +88 -0
- package/integration/explore/similarity-index/similarity.spec.js +628 -0
- package/{e2e-legacy → integration}/explore/visual-graph/graphs-config.spec.js +10 -5
- package/{e2e-legacy → integration}/explore/visual-graph/visual-graph-node-labels.spec.js +2 -14
- package/{e2e-legacy → integration}/explore/visual-graph/visual.graph.spec.js +96 -75
- package/{e2e-legacy → integration}/graphql/create-graphql-endpoint.spec.js +2 -0
- package/{e2e-legacy → integration}/graphql/edit-graphql-enpoint.spec.js +1 -1
- package/{e2e-legacy → integration}/graphql/filter-graphql-endpoints-on-management-view.spec.js +1 -1
- package/{e2e-legacy → integration}/graphql/graphql-endpoint-management-view.spec.js +4 -4
- package/{e2e-legacy → integration}/graphql/graphql-playground.spec.js +1 -1
- package/{e2e-legacy → integration}/graphql/import-graphql-endpoint-definitions.spec.js +6 -0
- package/integration/guides/movies-interactive-guide.spec.js +73 -0
- package/{e2e-legacy/help/guides/star-wars-interactive-guide.spec.js → integration/guides/star-wars-interactive-guide.js} +2 -3
- package/integration/home/cookie-policy.spec.js +90 -0
- package/integration/home/documentation-link.spec.js +60 -0
- package/{e2e-legacy → integration}/home/google-analytics.spec.js +6 -4
- package/{e2e-legacy → integration}/home/language-change.spec.js +2 -2
- package/integration/home/language-selector.spec.js +19 -0
- package/integration/home/rdf-resource-search.spec.js +177 -0
- package/integration/home/view-resource-autocomplete.spec.js +52 -0
- package/integration/home/workbench.home.spec.js +30 -0
- package/{e2e-legacy → integration}/import/import-server-files.spec.js +3 -5
- package/{e2e-legacy → integration}/import/import-user-data-file-upload.spec.js +13 -19
- package/{e2e-legacy → integration}/import/import-user-data-text-snippet.spec.js +2 -0
- package/{e2e-legacy → integration}/import/import-user-data-url.spec.js +23 -0
- package/{e2e-legacy → integration}/import/import-user-data.spec.js +4 -11
- package/{e2e-legacy → integration}/license/license.spec.js +4 -4
- package/{e2e-legacy → integration}/monitor/global-operation-statuses-component.spec.js +5 -12
- package/{e2e-legacy/monitor/backup-and-restore/backup-and-restore.spec.js → integration/monitor/monitor.backup-and-restore.spec.js} +2 -2
- package/integration/monitor/monitor.queries.spec.js +31 -0
- package/{e2e-legacy/monitor/system → integration/monitor}/monitor.resources.spec.js +2 -3
- package/{e2e-legacy → integration}/repository/ontop-repository.spec.js +1 -1
- package/{e2e-legacy → integration}/repository/repositories.spec.js +45 -37
- package/{e2e-legacy → integration}/resource/resource.spec.js +7 -17
- package/{e2e-legacy → integration}/setup/aclmanagement/create-rule.spec.js +0 -4
- package/{e2e-legacy/setup/autocomplete → integration/setup}/autocomplete.spec.js +7 -6
- package/{e2e-legacy → integration}/setup/connectors-lucene.spec.js +10 -26
- package/{e2e-legacy → integration}/setup/jdbc/jdbc-create.spec.js +4 -4
- package/integration/setup/my-settings.spec.js +289 -0
- package/{e2e-legacy/setup/namespaces → integration/setup}/namespaces.spec.js +5 -6
- package/{e2e-legacy/setup/plugins → integration/setup}/plugins.spec.js +3 -3
- package/{e2e-legacy/setup/rdf-rank → integration/setup}/rdf-rank.spec.js +5 -3
- package/{e2e-legacy/setup/sparql-template/sparql-template-create.spec.js → integration/setup/sparql-template-create.js} +8 -16
- package/{e2e-legacy/setup/sparql-template → integration/setup}/sparql-templates.spec.js +4 -4
- package/{e2e-legacy/setup/users-and-access → integration/setup}/user-and-access.spec.js +87 -184
- package/{e2e-legacy → integration}/sparql-editor/actions/expand-results-over-sameas.spec.js +12 -12
- package/{e2e-legacy → integration}/sparql-editor/actions/include-inferred-statements.spec.js +6 -6
- package/{e2e-legacy → integration}/sparql-editor/actions/inferred-sameas.spec.js +8 -10
- package/{e2e-legacy → integration}/sparql-editor/actions/show-saved-queries.spec.js +6 -1
- package/{e2e-legacy → integration}/sparql-editor/saved-query/abort-query.spec.js +1 -1
- package/{e2e-legacy → integration}/sparql-editor/saved-query/edit-query.spec.js +3 -3
- package/{e2e-legacy → integration}/sparql-editor/saved-query/readonly-query.spec.js +24 -15
- package/{e2e-legacy → integration}/sparql-editor/saved-query/share-query.spec.js +1 -32
- package/{e2e-legacy → integration}/sparql-editor/yasgui-tabs.spec.js +12 -2
- package/{e2e-legacy → integration}/sparql-editor/yasr/pagination.spec.js +18 -5
- package/{e2e-legacy → integration}/sparql-editor/yasr/table-plugin.spec.js +6 -1
- package/integration/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +57 -0
- package/{e2e-legacy → integration}/ttyg/agent-list.spec.js +2 -53
- package/{e2e-legacy → integration}/ttyg/agent-select-menu.spec.js +2 -25
- package/{e2e-legacy → integration}/ttyg/chat-list.spec.js +14 -3
- package/{e2e-legacy → integration}/ttyg/chat-panel.spec.js +6 -74
- package/{e2e-legacy → integration}/ttyg/clone-agent.spec.js +2 -24
- package/{e2e-legacy → integration}/ttyg/create-agent.spec.js +66 -37
- package/{e2e-legacy → integration}/ttyg/create-chat.spec.js +4 -6
- package/{e2e-legacy → integration}/ttyg/delete-agent.spec.js +2 -1
- package/integration/ttyg/edit-agent.spec.js +99 -0
- package/{e2e-legacy → integration}/ttyg/ttyg-view.spec.js +2 -2
- package/{e2e-flaky → integration-flaky}/explore/visual.graph.spec.js +1 -4
- package/{e2e-flaky → integration-flaky}/import/import-server-files-operations.spec.js +2 -2
- package/{e2e-flaky → integration-flaky}/import/import-user-data-batch-operations.spec.js +3 -3
- package/{e2e-flaky → integration-flaky}/setup/sparql-template-create.js +18 -10
- package/integration-flaky/setup/users-and-access/security-and-free-access.spec.js +54 -0
- package/{e2e-flaky → integration-flaky}/sparql-editor/actions/execute-update-query.spec.js +12 -2
- package/{e2e-flaky → integration-flaky}/sparql-editor/actions/share-query.spec.js +7 -1
- package/{e2e-flaky → integration-flaky}/sparql-editor/yasr/table-plugin.spec.js +7 -3
- package/{e2e-legacy → integration-flaky}/ttyg/ttyg-permission.spec.js +17 -23
- package/npm-shrinkwrap.json +3815 -11004
- package/package.json +42 -58
- package/plugins/index.js +5 -10
- package/steps/application-steps.js +6 -8
- package/steps/class-views-steps.js +7 -35
- package/steps/cluster/cluster-page-steps.js +2 -12
- package/steps/error-steps.js +3 -15
- package/steps/explore/graphs-overview-steps.js +1 -21
- package/steps/explore/similarity-index-create-steps.js +3 -5
- package/steps/explore/similarity-indexes-steps.js +2 -16
- package/steps/graphql/graphql-endpoint-management-steps.js +2 -2
- package/steps/guides/guide-dialog-steps.js +2 -81
- package/steps/guides/guide-steps.js +2 -54
- package/steps/home-steps.js +77 -184
- package/steps/import/import-resource-message-dialog.js +1 -1
- package/steps/import/import-steps.js +16 -12
- package/steps/import/import-user-data-steps.js +1 -5
- package/steps/language-selector-steps.js +2 -2
- package/steps/license-steps.js +9 -91
- package/steps/login-steps.js +6 -31
- package/steps/main-menu-steps.js +19 -244
- package/steps/modal-dialog-steps.js +1 -32
- package/steps/monitoring/backup-and-restore-steps.js +3 -9
- package/steps/operations-statuses-component-steps.js +10 -5
- package/steps/repository-selector-steps.js +3 -3
- package/steps/repository-steps.js +18 -64
- package/steps/resource/resource-steps.js +2 -6
- package/steps/setup/acl-management-steps.js +2 -6
- package/steps/setup/autocomplete-steps.js +8 -23
- package/steps/setup/jdbc-steps.js +4 -18
- package/steps/setup/namespace-steps.js +7 -10
- package/steps/setup/plugins-steps.js +5 -12
- package/steps/setup/rdf-rank-steps.js +9 -23
- package/steps/setup/settings-steps.js +2 -101
- package/steps/setup/sparql-templates-steps.js +1 -19
- package/steps/setup/user-and-access-steps.js +16 -50
- package/steps/sparql-editor-steps.js +2 -8
- package/steps/sparql-steps.js +1 -13
- package/steps/toaster-steps.js +6 -18
- package/steps/ttyg/chat-panel-steps.js +2 -40
- package/steps/ttyg/ttyg-agent-settings-modal.steps.js +31 -136
- package/steps/ttyg/ttyg-view-steps.js +10 -80
- package/steps/visual-graph-steps.js +10 -106
- package/steps/yasgui/yasgui-loader.js +3 -3
- package/steps/yasgui/yasgui-steps.js +1 -1
- package/steps/yasgui/yasqe-steps.js +4 -35
- package/steps/yasgui/yasr-steps.js +3 -73
- package/stubs/autocomplete/autocomplete-stubs.js +0 -7
- package/stubs/environment-stubs.js +1 -9
- package/stubs/license-stubs.js +0 -51
- package/stubs/repositories/repositories-stubs.js +75 -180
- package/stubs/repositories-stub.js +73 -0
- package/stubs/security-stubs.js +0 -12
- package/stubs/similarity-index-stubs.js +0 -4
- package/stubs/ttyg/ttyg-stubs.js +15 -64
- package/stubs/yasgui/query-stubs.js +1 -5
- package/support/commands.js +1 -22
- package/support/{e2e.js → index.js} +3 -9
- package/support/repository-commands.js +4 -29
- package/support/settings-commands.js +1 -33
- package/support/user-commands.js +4 -9
- package/utils/html-util.js +4 -24
- package/.editorconfig +0 -17
- package/.nycrc +0 -10
- package/cypress-legacy.config.js +0 -47
- package/cypress-security.config.js +0 -36
- package/e2e-flaky/import/import-user-data-url.spec.js +0 -63
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository-without-class-hierarchy.spec.js +0 -42
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-with-selected-repository.spec.js +0 -43
- package/e2e-legacy/explore/class-hierarchy/class-hierarchy-without-selected-repository.spec.js +0 -30
- package/e2e-legacy/explore/class-relationships/class-relationships-repository-with-data.spec.js +0 -42
- package/e2e-legacy/explore/class-relationships/class-relationships-with-selected-repository.spec.js +0 -39
- package/e2e-legacy/explore/class-relationships/class-relationships-without-selected-repository.spec.js +0 -21
- package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-with-selected-repository.spec.js +0 -44
- package/e2e-legacy/explore/graphs-overview/initial-state/graphs-overview-without-selected-repository.spec.js +0 -32
- package/e2e-legacy/explore/similarity-index/similarity-index-with-repository.spec.js +0 -38
- package/e2e-legacy/explore/similarity-index/similarity-index-without-repository.spec.js +0 -21
- package/e2e-legacy/explore/visual-graph/node-info-panel.spec.js +0 -58
- package/e2e-legacy/explore/visual-graph/visual-graph-links-limit.spec.js +0 -140
- package/e2e-legacy/explore/visual-graph/visual-graph-with-selected-repository.js +0 -38
- package/e2e-legacy/explore/visual-graph/visual-graph-without-selected-repository.js +0 -21
- package/e2e-legacy/graphql/graphql-endpoint-management-with-endpoints.spec.js +0 -43
- package/e2e-legacy/graphql/graphql-endpoint-management-with-selected-repository.spec.js +0 -39
- package/e2e-legacy/graphql/graphql-endpoint-management-without-selected-repository.spec.js +0 -21
- package/e2e-legacy/graphql/graphql-playground-with-endpoints.spec.js +0 -40
- package/e2e-legacy/graphql/graphql-playground-with-selected-repository.spec.js +0 -38
- package/e2e-legacy/graphql/graphql-playground-without-selected-repository.spec.js +0 -22
- package/e2e-legacy/graphql/graphql-theme.spec.js +0 -73
- package/e2e-legacy/guides/autocomplete/enable-autocomplete-guide.spec.js +0 -49
- package/e2e-legacy/guides/class-hierarcy/class-hierarchy-guide.spec.js +0 -89
- package/e2e-legacy/guides/class-relations/class-relations-guide.spec.js +0 -76
- package/e2e-legacy/guides/connectors/connectors-guide.spec.js +0 -163
- package/e2e-legacy/guides/create-similarity-index/create-similarity-index-guide.spec.js +0 -74
- package/e2e-legacy/guides/download-guide-resource/download-guide-resource-guide.js +0 -55
- package/e2e-legacy/guides/execute-sparql-query/execute-sparql-query-guide.spec.js +0 -92
- package/e2e-legacy/guides/import-rdf-file/confirm-duplicate-rdf-file.spec.js +0 -63
- package/e2e-legacy/guides/import-rdf-file/import-rdf-file.spec.js +0 -105
- package/e2e-legacy/guides/main-menu/main-menu-guide.spec.js +0 -302
- package/e2e-legacy/guides/navigation/navigation-guide.spec.js +0 -64
- package/e2e-legacy/guides/rdf-rank/rdf-rank-guide.spec.js +0 -42
- package/e2e-legacy/guides/repositories/create-repository-guide.spec.js +0 -69
- package/e2e-legacy/guides/table-graph-explore/table-graph-explore-guide.spec.js +0 -167
- package/e2e-legacy/guides/ttyg/configure-agent/configure-agent-guide.spec.js +0 -157
- package/e2e-legacy/guides/ttyg/conversation/ttyg-conversation-guide.spec.js +0 -92
- package/e2e-legacy/guides/ttyg/edit-agent/edit-ttyg-agent-guide.spec.js +0 -88
- package/e2e-legacy/guides/visual-graph/visual-graph-guide.spec.js +0 -372
- package/e2e-legacy/guides/welcome/welcome-guide.spec.js +0 -36
- package/e2e-legacy/help/guides/guides-autostart.spec.js +0 -126
- package/e2e-legacy/help/guides/guides-confirm-cancel-dialog.js +0 -83
- package/e2e-legacy/help/guides/guides-with-repository.spec.js +0 -32
- package/e2e-legacy/help/guides/guides-without-repository.spec.js +0 -20
- package/e2e-legacy/help/guides/movies-interactive-guide.spec.js +0 -71
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-with-repository.spec.js +0 -32
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-without-repository.spec.js +0 -20
- package/e2e-legacy/help/system-information/system-information-with-repository.spec.js +0 -32
- package/e2e-legacy/help/system-information/system-information-without-repository.spec.js +0 -20
- package/e2e-legacy/home/cookie-policy/cookie-policy.spec.js +0 -182
- package/e2e-legacy/home/documentation-link.spec.js +0 -41
- package/e2e-legacy/home/home-page-with-selected-repository.spec.js +0 -69
- package/e2e-legacy/home/home-page-without-repositories.spec.js +0 -87
- package/e2e-legacy/home/home-page-without-selected-repository.spec.js +0 -59
- package/e2e-legacy/home/rdf-resource-search.spec.js +0 -160
- package/e2e-legacy/home/view-resource-autocomplete.spec.js +0 -65
- package/e2e-legacy/import/initial-state/import-page-with-selected-repositor.js +0 -51
- package/e2e-legacy/import/initial-state/import-page-with-selected-repository-without-imported-files.js +0 -45
- package/e2e-legacy/import/initial-state/import-page-without-selected-repository.spec.js +0 -28
- package/e2e-legacy/license/license-with-repository.spec.js +0 -113
- package/e2e-legacy/license/license-without-repository.spec.js +0 -103
- package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-with-repository.spec.js +0 -36
- package/e2e-legacy/monitor/backup-and-restore/backup-and-restore-without-repository.spec.js +0 -25
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-with-repository.spec.js +0 -39
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-without-repository.spec.js +0 -21
- package/e2e-legacy/monitor/system/system-monitoring-with-repository.spec.js +0 -32
- package/e2e-legacy/monitor/system/system-monitoring-without-repository.spec.js +0 -20
- package/e2e-legacy/not-found/not-found.spec.js +0 -23
- package/e2e-legacy/repository/url-with-repository-id-parameter.spec.js +0 -181
- package/e2e-legacy/setup/aclmanagement/acl-management-with-selected repository.spec.js +0 -40
- package/e2e-legacy/setup/aclmanagement/acl-management-without-repositories.spec.js +0 -21
- package/e2e-legacy/setup/autocomplete/autocomplete-with-repository.spec.js +0 -40
- package/e2e-legacy/setup/autocomplete/autocomplete-without-repository.spec.js +0 -27
- package/e2e-legacy/setup/cluster/cluster-initial-state-with-cluster.spec.js +0 -34
- package/e2e-legacy/setup/cluster/cluster-initial-state-without-cluster.spec.js +0 -25
- package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js +0 -41
- package/e2e-legacy/setup/connectors/connectors-initial-state-without-repositories.spec.js +0 -21
- package/e2e-legacy/setup/jdbc/jdbc-with-repository.spec.js +0 -39
- package/e2e-legacy/setup/jdbc/jdbc-without-repository.spec.js +0 -27
- package/e2e-legacy/setup/namespaces/namespaces-with-repository.spec.js +0 -44
- package/e2e-legacy/setup/namespaces/namespaces-without-repository.spec.js +0 -27
- package/e2e-legacy/setup/plugins/plugins-with-repository.spec.js +0 -38
- package/e2e-legacy/setup/plugins/plugins-without-repository.spec.js +0 -28
- package/e2e-legacy/setup/rdf-rank/rdf-rank-with-repository.spec.js +0 -40
- package/e2e-legacy/setup/rdf-rank/rdf-rank-without-repository.spec.js +0 -30
- package/e2e-legacy/setup/repositories/repositories-view-with-repositories.spec.js +0 -40
- package/e2e-legacy/setup/repositories/repositories-view-without-repositories.spec.js +0 -28
- package/e2e-legacy/setup/settings/my-settings-initial-state.spec.js +0 -86
- package/e2e-legacy/setup/settings/my-settings.spec.js +0 -207
- package/e2e-legacy/setup/sparql-template/sparql-template-with-repository.spec.js +0 -39
- package/e2e-legacy/setup/sparql-template/sparql-template-without-repository.spec.js +0 -29
- package/e2e-legacy/setup/users-and-access/users-and-access-initial-state.spec.js +0 -25
- package/e2e-legacy/sparql-editor/sparql-page-with-selected-repository.spec.js +0 -33
- package/e2e-legacy/sparql-editor/sparql-page-without-selected-repository.spec.js +0 -26
- package/e2e-legacy/sparql-editor/yasqe-themes.spec.js +0 -54
- package/e2e-legacy/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +0 -106
- package/e2e-legacy/sparql-editor/yasr/yasr.spec.js +0 -80
- package/e2e-legacy/ttyg/edit-agent.spec.js +0 -178
- package/e2e-legacy/ttyg/ttyg-initial-state-with-configured-api-key.spec.js +0 -46
- package/e2e-legacy/ttyg/ttyg-initial-state-with-selected-repository.spec.js +0 -45
- package/e2e-legacy/ttyg/ttyg-initial-state-without-repositories.spec.js +0 -21
- package/e2e-security/repository/url-with-repository-id-parameter.spec.js +0 -57
- package/e2e-security/setup/home/cookie-policy.spec.js +0 -290
- package/e2e-security/setup/users-and-access/create-user-permissions.spec.js +0 -193
- package/e2e-security/setup/users-and-access/graphql-user.spec.js +0 -126
- package/e2e-security/setup/users-and-access/repo-admin-role.spec.js +0 -70
- package/e2e-security/setup/users-and-access/turn-on-security-and-password-change.spec.js +0 -99
- package/e2e-security/setup/users-and-access/user-and-access.spec.js +0 -87
- package/e2e-security/setup/users-and-access/users-and-access-initial-state.spec.js +0 -38
- package/eslint.config.js +0 -39
- package/fixtures/graph/graph-configurations.json +0 -59
- package/fixtures/guides/autocomplete/enable-autocomplete-guide.json +0 -12
- package/fixtures/guides/class-hierarchy/class-hierarchy-guide.json +0 -35
- package/fixtures/guides/class-relations/class-relations-guide.json +0 -33
- package/fixtures/guides/confirm-cancel-dialog/confirm-cancel-dialog-guide.json +0 -15
- package/fixtures/guides/connectors/connectors-guide.json +0 -66
- package/fixtures/guides/connectors/lucene-connector-guide.json +0 -120
- package/fixtures/guides/create-repository/create-repository-guide.json +0 -25
- package/fixtures/guides/create-similarity-index/create-similarity-index-guide.json +0 -36
- package/fixtures/guides/download-guide-resource/download-guide-resource-guide.json +0 -25
- package/fixtures/guides/download-resource.ttl +0 -629
- package/fixtures/guides/execute-sparql-query/execute-sparql-query-guide.json +0 -54
- package/fixtures/guides/import-rdf-file/confirm-duplicate-rdf-file-guide.json +0 -30
- package/fixtures/guides/import-rdf-file/import-rdf-file-guide.json +0 -21
- package/fixtures/guides/main-menu/main-menu-guide.json +0 -98
- package/fixtures/guides/navigation/navigation-guide.json +0 -60
- package/fixtures/guides/rdf-rank/rdf-rank-guide.json +0 -18
- package/fixtures/guides/table-graph-explore/table-graph-explore-guide.json +0 -51
- package/fixtures/guides/table-graph-explore/table-graph-explore-without-substeps-guide.json +0 -25
- package/fixtures/guides/ttyg/configure-agent/configure-ttyg-agent-guide.json +0 -74
- package/fixtures/guides/ttyg/conversation/ttyg-conversation-guide.json +0 -26
- package/fixtures/guides/ttyg/edit-ttyg-agent/edit-ttyg-agent-guide.json +0 -22
- package/fixtures/guides/visual-graph/visual-graph-config-guide.json +0 -39
- package/fixtures/guides/visual-graph/visual-graph-guide.json +0 -85
- package/fixtures/guides/welcome/welcome-guide.json +0 -18
- package/fixtures/repositories/free-access.json +0 -13
- package/fixtures/similarity/get-ttyg-similarity-instances.json +0 -10
- package/fixtures/ttyg/agent/get-agent-defaults-assistant-api.json +0 -44
- package/fixtures/ttyg/agent/get-agent-list-with-incompatible-agents.json +0 -79
- package/fixtures/ttyg/agent/get-similarity-indexes-for-another-repo.json +0 -8
- package/fixtures/ttyg/agent/get-similarity-indexes.json +0 -22
- package/fixtures/ttyg/chats/ask-question-cancel.json +0 -12
- package/fixtures/ttyg/chats/cancel-question-response.json +0 -1
- package/fixtures/ttyg/chats/create/question-response-after-chat-creation.json +0 -29
- package/fixtures/ttyg/chats/explain-response-3.json +0 -12
- package/steps/base-steps.js +0 -29
- package/steps/cookie-policy/cookie-consent-banner-steps.js +0 -21
- package/steps/cookie-policy/cookie-policy-modal.steps.js +0 -56
- package/steps/error-page-steps.js +0 -9
- package/steps/explore/class-relationships-steps.js +0 -64
- package/steps/graphql/playground-editor-steps.js +0 -46
- package/steps/header-steps.js +0 -22
- package/steps/monitoring/queries-and-updates-steps.js +0 -20
- package/steps/monitoring/system-monitoring-steps.js +0 -40
- package/steps/not-found/not-found-steps.js +0 -23
- package/steps/rdf-resource-search-steps.js +0 -55
- package/steps/rest-api-documentation-steps.js +0 -15
- package/steps/setup/connectors-steps.js +0 -32
- package/steps/shared-modal-dialog-steps.js +0 -45
- package/steps/system-information-steps.js +0 -70
- package/steps/widgets/active-repository-widget-steps.js +0 -29
- package/steps/widgets/license-widget-steps.js +0 -9
- package/steps/widgets/repository-errors-widget-steps.js +0 -21
- package/steps/widgets/saved-sparql-queries-widget-steps.js +0 -9
- package/stubs/browser-stubs.js +0 -21
- package/stubs/graph-config-stubs.js +0 -17
- package/stubs/guides/guides-stubs.js +0 -103
- package/stubs/saved-queries-stubs.js +0 -5
- package/stubs/sparql-stubs.js +0 -10
- package/support/connector-commands.js +0 -13
- package/support/e2e-security.js +0 -9
- package/support/url-commands.js +0 -13
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-multi-region.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-nodes.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration-properties.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-configuration/cluster-configuration.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/cluster-legend.spec.js +0 -0
- package/{e2e-legacy → integration}/cluster/edit-cluster-nodes-modal.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/activate-deactivate-graphql-endpoint.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/delete-graphql-endpoint.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/export-graphql-endpoint-definition.spec.js +0 -0
- package/{e2e-legacy → integration}/graphql/set-default-graphql-endpoint.spec.js +0 -0
- package/{e2e-legacy/help/system-information → integration/help}/system-information.spec.js +0 -0
- package/{e2e-legacy → integration}/home/create-repository.spec.js +0 -0
- package/{e2e-legacy → integration}/import/import-server-files-batch-operations.spec.js +0 -0
- package/{e2e-legacy → integration}/import/import-user-data-settings-dialog.spec.js +0 -0
- package/{e2e-legacy → integration}/import/import-view.spec.js +0 -0
- package/{e2e-legacy → integration}/repository/attach-remote-location.spec.js +1 -1
- /package/{e2e-legacy → integration}/repository/repository-commands.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/delete-rule.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/edit-rule.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/render-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/reorder-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/revert-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/scopes.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/aclmanagement/update-rules.spec.js +0 -0
- /package/{e2e-legacy → integration}/setup/jdbc/jdbc.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/actions/execute-query.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/actions/save-query.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/internationalization.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/saved-query/delete-query.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/sparql-editor.spec.js +0 -0
- /package/{e2e-legacy → integration}/sparql-editor/yasr/download-as.spec.js +0 -0
- /package/{e2e-flaky → integration-flaky}/import/import.server.files.spec.js +0 -0
- /package/{e2e-flaky → integration-flaky}/sparql-editor/lucene-connector.spec.js +0 -0
- /package/{e2e-flaky → integration-flaky}/sparql-editor/plugins/error-plugin.spec.js +0 -0
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "id",
|
|
3
|
-
"name": "Quadro",
|
|
4
|
-
"model": "gpt-4o",
|
|
5
|
-
"api": "openai-assistants",
|
|
6
|
-
"contextSize": 128000,
|
|
7
|
-
"temperature": 0.7,
|
|
8
|
-
"topP": 1.0,
|
|
9
|
-
"seed": 0,
|
|
10
|
-
"repositoryId": "test-repository",
|
|
11
|
-
"instructions": {
|
|
12
|
-
"systemInstruction": "",
|
|
13
|
-
"userInstruction": "If you need to write a SPARQL query, use only the classes and properties provided in the schema and don't invent or guess any. Always try to return human-readable names or labels and not only the IRIs. If SPARQL fails to provide the necessary information you can try another tool too."
|
|
14
|
-
},
|
|
15
|
-
"assistantExtractionMethods": [
|
|
16
|
-
{
|
|
17
|
-
"method": "sparql_search",
|
|
18
|
-
"ontologyGraph": "http://example.com",
|
|
19
|
-
"sparqlQuery": "CONSTRUCT {?s ?p ?o} WHERE {GRAPH <http://example.org/ontology> {?s ?p ?o .}}",
|
|
20
|
-
"addMissingNamespaces": false
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"method": "fts_search",
|
|
24
|
-
"maxNumberOfTriplesPerCall": 0
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"method": "similarity_search",
|
|
28
|
-
"similarityIndex": "similarity-index",
|
|
29
|
-
"similarityIndexThreshold": 0.6,
|
|
30
|
-
"maxNumberOfTriplesPerCall": 0
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"method": "retrieval_search",
|
|
34
|
-
"retrievalConnectorInstance": "retrieval-connector",
|
|
35
|
-
"queryTemplate": "{\"query\": \"string\"}",
|
|
36
|
-
"maxNumberOfTriplesPerCall": 0
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"additionalExtractionMethods": [
|
|
40
|
-
{
|
|
41
|
-
"method": "iri_discovery_search"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
|
|
4
|
-
"name": "agent-1",
|
|
5
|
-
"model": "gpt-4o",
|
|
6
|
-
"temperature": 0.0,
|
|
7
|
-
"topP": 0.0,
|
|
8
|
-
"seed": null,
|
|
9
|
-
"repositoryId": "starwars",
|
|
10
|
-
"compatibility": "INCOMPATIBLE",
|
|
11
|
-
"instructions": {
|
|
12
|
-
"systemInstruction": "",
|
|
13
|
-
"userInstruction": ""
|
|
14
|
-
},
|
|
15
|
-
"assistantExtractionMethods": [
|
|
16
|
-
{
|
|
17
|
-
"method": "fts_search",
|
|
18
|
-
"maxNumberOfTriplesPerCall": 44
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"id": "asst_qMyCpCBmqxV9I2B8UoMfFzc5",
|
|
24
|
-
"name": "agent-2",
|
|
25
|
-
"model": "gpt-4o",
|
|
26
|
-
"temperature": 0.0,
|
|
27
|
-
"topP": 0.0,
|
|
28
|
-
"seed": null,
|
|
29
|
-
"repositoryId": "Not existing repo",
|
|
30
|
-
"compatibility": "COMPATIBLE",
|
|
31
|
-
"instructions": {
|
|
32
|
-
"systemInstruction": "string\n\nstring",
|
|
33
|
-
"userInstruction": "string"
|
|
34
|
-
},
|
|
35
|
-
"assistantExtractionMethods": [
|
|
36
|
-
{
|
|
37
|
-
"method": "fts_search"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"id": "asst_Cr0RxobrY07WpOvvyQilEWMI",
|
|
43
|
-
"name": "Databricks-general-unbiased",
|
|
44
|
-
"model": "gpt-4o-2024-08-06",
|
|
45
|
-
"temperature": 1.0,
|
|
46
|
-
"topP": 1.0,
|
|
47
|
-
"seed": null,
|
|
48
|
-
"repositoryId": "starwars",
|
|
49
|
-
"instructions": {
|
|
50
|
-
"systemInstruction": "You are helpful assistant in discovering information regarding diagnostic biomarkers.",
|
|
51
|
-
"userInstruction": null
|
|
52
|
-
},
|
|
53
|
-
"assistantExtractionMethods": [
|
|
54
|
-
{
|
|
55
|
-
"method": "fts_search",
|
|
56
|
-
"maxNumberOfTriplesPerCall": 44
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"id": "asst_5GxNYTdaOh7Tl6lLl6Pya2aH",
|
|
62
|
-
"name": "Databricks-biomarkers",
|
|
63
|
-
"model": "gpt-3.5-turbo-0125",
|
|
64
|
-
"temperature": 1.0,
|
|
65
|
-
"topP": 1.0,
|
|
66
|
-
"seed": null,
|
|
67
|
-
"repositoryId": "biomarkers",
|
|
68
|
-
"instructions": {
|
|
69
|
-
"systemInstruction": "You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",
|
|
70
|
-
"userInstruction": null
|
|
71
|
-
},
|
|
72
|
-
"assistantExtractionMethods": [
|
|
73
|
-
{
|
|
74
|
-
"method": "fts_search",
|
|
75
|
-
"maxNumberOfTriplesPerCall": 44
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
]
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"opensearch": [
|
|
3
|
-
{
|
|
4
|
-
"similarityIndex": "otkg-vector-new",
|
|
5
|
-
"connectorFields": ["docText1"]
|
|
6
|
-
}
|
|
7
|
-
],
|
|
8
|
-
"elasticsearch": [
|
|
9
|
-
{
|
|
10
|
-
"similarityIndex": "otkg-vector",
|
|
11
|
-
"connectorFields": ["docText1", "docText2"]
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"similarity": [
|
|
15
|
-
{
|
|
16
|
-
"similarityIndex": "test"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"similarityIndex": "test_copy"
|
|
20
|
-
}
|
|
21
|
-
]
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"runStatus":"cancelled","message":"Request cancelled by the user."}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "thread_tpv1izmd9bIjxkhUiCd5x2Xz",
|
|
3
|
-
"name": "Hello! How can I assist you today?",
|
|
4
|
-
"messages": [
|
|
5
|
-
{
|
|
6
|
-
"id": "msg_drDW9OTkPkY0oGoXSdPD5qEx",
|
|
7
|
-
"conversationId": "thread_tpv1izmd9bIjxkhUiCd5x2Xz",
|
|
8
|
-
"agentId": "asst_0llP8yAJlFY2yCWrz8Ovfzjs",
|
|
9
|
-
"role": "assistant",
|
|
10
|
-
"message": "Hello! How can I assist you today?",
|
|
11
|
-
"timestamp": "creationDate",
|
|
12
|
-
"name": null,
|
|
13
|
-
"usage": {
|
|
14
|
-
"completionTokens": 11,
|
|
15
|
-
"promptTokens": 374,
|
|
16
|
-
"totalTokens": 385
|
|
17
|
-
},
|
|
18
|
-
"isTerminalState": false,
|
|
19
|
-
"terminalStatusCode": null
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"timestamp": "creationDate",
|
|
23
|
-
"continueRunId": null,
|
|
24
|
-
"usage": {
|
|
25
|
-
"completionTokens": 11,
|
|
26
|
-
"promptTokens": 374,
|
|
27
|
-
"totalTokens": 385
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"conversationId": "thread_new_created_chat",
|
|
3
|
-
"answerId": "msg_drDW9OTkPkY0oGoXSdPD5qEx",
|
|
4
|
-
"queryMethods": [
|
|
5
|
-
{
|
|
6
|
-
"name": "sparql_query",
|
|
7
|
-
"rawQuery": "SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
|
|
8
|
-
"query": "SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
|
|
9
|
-
"queryType": "sparql"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
}
|
package/steps/base-steps.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export class BaseSteps {
|
|
2
|
-
static visit(page) {
|
|
3
|
-
cy.visit(page);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
static clickOutsideElement() {
|
|
7
|
-
cy.get('body').click(0,0);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
static reloadPage(force = false) {
|
|
11
|
-
cy.reload(force);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
static getByTestId(testId) {
|
|
15
|
-
return cy.getByTestId(testId);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
static typeEscapeKey() {
|
|
19
|
-
cy.get('body').type('{esc}');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
static getUrl() {
|
|
23
|
-
return cy.url();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
static validateUrl(url) {
|
|
27
|
-
this.getUrl().should('include', url);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export class CookieConsentBannerSteps {
|
|
2
|
-
static getCookieConsentBanner() {
|
|
3
|
-
return cy.get('.cookie-consent-banner');
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
static getCookieConsentButton() {
|
|
7
|
-
return this.getCookieConsentBanner().find('button');
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
static giveCookieConsent() {
|
|
11
|
-
return this.getCookieConsentButton().click();
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
static getCookiePolicyLink() {
|
|
15
|
-
return cy.get('.cookie-consent-content a');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
static clickCookiePolicyLink() {
|
|
19
|
-
return this.getCookiePolicyLink().click();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import {SharedModalDialogSteps} from '../shared-modal-dialog-steps';
|
|
2
|
-
|
|
3
|
-
export class CookiePolicyModalSteps extends SharedModalDialogSteps {
|
|
4
|
-
static getDialogComponent(cssClass = '.cookie-policy-modal') {
|
|
5
|
-
return super.getDialogComponent(cssClass);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
static getStatisticCookiesToggle() {
|
|
9
|
-
return this.getBody().find('.statistic-cookies-toggle .toggle-switch');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
static getStatisticCookiesCheckbox() {
|
|
13
|
-
return this.getStatisticCookiesToggle().find('input');
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static toggleStatisticCookies() {
|
|
17
|
-
this.getStatisticCookiesToggle().click();
|
|
18
|
-
// Wait here is intentional because there is a debounce before the checkbox state is updated
|
|
19
|
-
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
20
|
-
cy.wait(500);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getThirdPartyCookiesToggle() {
|
|
24
|
-
return this.getBody().find('.third-party-cookies-toggle .toggle-switch');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
static getThirdPartyCookiesCheckbox() {
|
|
28
|
-
return this.getThirdPartyCookiesToggle().find('input');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
static toggleThirdPartyCookies() {
|
|
32
|
-
this.getThirdPartyCookiesToggle().click();
|
|
33
|
-
// Wait here is intentional because there is a debounce before the checkbox state is updated
|
|
34
|
-
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
35
|
-
cy.wait(500);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
static closeDialog() {
|
|
39
|
-
this.getFooter().find('.close-btn').click();
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Validates the cookie policy dialog by checking the visibility of the dialog and the state of the checkboxes for
|
|
44
|
-
* analytic and third party cookies.
|
|
45
|
-
* @param {boolean} expectedStatisticChecked
|
|
46
|
-
* @param {boolean} expectedThirdPartyChecked
|
|
47
|
-
*/
|
|
48
|
-
static validateCookiePolicyDialog(expectedStatisticChecked, expectedThirdPartyChecked) {
|
|
49
|
-
// I should see the cookie policy
|
|
50
|
-
CookiePolicyModalSteps.getDialogComponent().should('be.visible');
|
|
51
|
-
CookiePolicyModalSteps.getBody().should('be.visible');
|
|
52
|
-
// And I expect to see that analytic and third party cookies are allowed
|
|
53
|
-
CookiePolicyModalSteps.getStatisticCookiesCheckbox().should(expectedStatisticChecked ? 'be.checked' : 'not.be.checked');
|
|
54
|
-
CookiePolicyModalSteps.getThirdPartyCookiesCheckbox().should(expectedThirdPartyChecked ? 'be.checked' : 'not.be.checked');
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export class ClassRelationshipsSteps {
|
|
2
|
-
static visit() {
|
|
3
|
-
cy.visit('/relationships');
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
static getFilterField() {
|
|
7
|
-
return cy.get('.search-filter-field');
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
static filterByClass(name) {
|
|
11
|
-
this.getFilterField().type(name);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
static getDirectionFilter() {
|
|
15
|
-
return cy.get('.direction-filter');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
static verifySelectedDirectionFilter(name) {
|
|
19
|
-
this.getDirectionFilter().find('input[type=radio]:checked').should('have.value', name);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
static getRelationsToolbar() {
|
|
23
|
-
return cy.get('.relations-toolbar');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
static verifyRelationsToolbarContent() {
|
|
27
|
-
this.getRelationsToolbar().should('be.visible');
|
|
28
|
-
this.removeAllClassesButton().should('be.visible');
|
|
29
|
-
this.getReloadDiagramButton().should('be.visible');
|
|
30
|
-
this.getExportDiagramButton().should('be.visible');
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
static getDependenciesList() {
|
|
34
|
-
return cy.get('#wb-dependencies-classInClasses');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
static verifyListLength(count) {
|
|
38
|
-
this.getDependenciesList().find('.item .row').should('have.length', count);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
static getNoDataWarning() {
|
|
42
|
-
return cy.get('div.alert.alert-warning');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
static getReloadDiagramButton() {
|
|
46
|
-
return cy.get('.reload-diagram-btn');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
static getExportDiagramButton() {
|
|
50
|
-
return this.getRelationsToolbar().find('.export-diagram-btn');
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
static removeAllClassesButton() {
|
|
54
|
-
return this.getRelationsToolbar().find('.remove-all-classes-btn');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
static getDependenciesDiagram() {
|
|
58
|
-
return cy.get('#dependencies-chord');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
static getAvailableDependenciesLabel() {
|
|
62
|
-
return cy.get('.available-dependencies-label');
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export class PlaygroundEditorSteps {
|
|
2
|
-
|
|
3
|
-
static getResponse() {
|
|
4
|
-
return cy.get('.graphiql-response');
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
static getResponseCodeMirror() {
|
|
8
|
-
return PlaygroundEditorSteps.getResponse().find('.CodeMirror');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
static getGraphiqlEditors() {
|
|
12
|
-
return cy.get('.graphiql-editors');
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
static getGraphiqlEditorsCodeMirror() {
|
|
16
|
-
return PlaygroundEditorSteps.getGraphiqlEditors().find('.CodeMirror');
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static getGraphiqlEditorTools() {
|
|
20
|
-
return cy.get('.graphiql-editor-tools');
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getGraphiqlEditorTool() {
|
|
24
|
-
return cy.get('.graphiql-editor-tool');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
static getVariablesBtn() {
|
|
28
|
-
return PlaygroundEditorSteps.getGraphiqlEditorTools().find('button[data-name="variables"]');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
static openVariables() {
|
|
32
|
-
PlaygroundEditorSteps.getVariablesBtn().click();
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
static getHeadersBtn() {
|
|
36
|
-
return PlaygroundEditorSteps.getGraphiqlEditorTools().find('button[data-name="headers"]');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
static openHeaders() {
|
|
40
|
-
PlaygroundEditorSteps.getHeadersBtn().click();
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
static getActiveGraphiqlEditorToolCodeMirror() {
|
|
44
|
-
return PlaygroundEditorSteps.getGraphiqlEditorTool().find('.graphiql-editor:not(.hidden) .CodeMirror');
|
|
45
|
-
}
|
|
46
|
-
}
|
package/steps/header-steps.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export class HeaderSteps {
|
|
2
|
-
static getHeader() {
|
|
3
|
-
return cy.get('onto-header');
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
static openHomePage() {
|
|
7
|
-
HeaderSteps.getHeader().find('.home-page').click();
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
static logout() {
|
|
11
|
-
this.getHeader().find('onto-user-menu').click();
|
|
12
|
-
cy.get('.onto-user-menu-dropdown')
|
|
13
|
-
.contains('Logout')
|
|
14
|
-
.first()
|
|
15
|
-
// Force the click because Cypress sometimes determines that the item has 0x0 dimensions
|
|
16
|
-
.click({force: true});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static login() {
|
|
20
|
-
this.getHeader().find('.onto-user-login').click();
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {BaseSteps} from "../base-steps";
|
|
2
|
-
|
|
3
|
-
export class QueriesAndUpdatesSteps extends BaseSteps {
|
|
4
|
-
|
|
5
|
-
static visit() {
|
|
6
|
-
super.visit('/monitor/queries');
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
static getQueryAndUpdatePage() {
|
|
10
|
-
return super.getByTestId('monitoring-queries-and-updates');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
static getPauseButton() {
|
|
14
|
-
return this.getQueryAndUpdatePage().getByTestId('pause-button');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
static getNoRunningQueriesOrUpdates() {
|
|
18
|
-
return this.getQueryAndUpdatePage().getByTestId('no-running-queries-or-updates-alert');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {BaseSteps} from "../base-steps";
|
|
2
|
-
|
|
3
|
-
export class SystemMonitoringSteps extends BaseSteps {
|
|
4
|
-
static visit() {
|
|
5
|
-
cy.visit('/monitor/system');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
static getSystemMonitoringPage() {
|
|
9
|
-
return this.getByTestId('system-monitoring-page');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
static getCPUUsageChart() {
|
|
13
|
-
return this.getSystemMonitoringPage().getByTestId('cpu-usage-chart');
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static getFileDescriptorChart() {
|
|
17
|
-
return this.getSystemMonitoringPage().getByTestId('file-descriptor-chart');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
static getHeapMemoryChart() {
|
|
21
|
-
return this.getSystemMonitoringPage().getByTestId('heap-memory-chart');
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
static getOffHeapMemoryChart() {
|
|
25
|
-
return this.getSystemMonitoringPage().getByTestId('off-heap-memory-chart');
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
static getDiskStorageChart() {
|
|
29
|
-
return this.getSystemMonitoringPage().getByTestId('disk-storage-chart');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
static verifyInitialStateWithSelectedRepository() {
|
|
33
|
-
this.getSystemMonitoringPage().should('be.visible');
|
|
34
|
-
this.getCPUUsageChart().should('be.visible');
|
|
35
|
-
this.getFileDescriptorChart().should('be.visible');
|
|
36
|
-
this.getHeapMemoryChart().should('be.visible');
|
|
37
|
-
this.getOffHeapMemoryChart().should('be.visible');
|
|
38
|
-
this.getDiskStorageChart().should('be.visible');
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {BaseSteps} from "../base-steps.js";
|
|
2
|
-
|
|
3
|
-
export class NotFoundSteps extends BaseSteps {
|
|
4
|
-
static visit(url) {
|
|
5
|
-
BaseSteps.visit(url);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
static getNotFoundBanner() {
|
|
9
|
-
return cy.getByTestId('not-found-banner');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
static getNotFoundContent() {
|
|
13
|
-
return this.getNotFoundBanner().invoke('text');
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static getGoHomeButton() {
|
|
17
|
-
return this.getNotFoundBanner().find('a.btn.btn-primary');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
static clickGoHomeButton() {
|
|
21
|
-
this.getGoHomeButton().click();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import {BaseSteps} from "./base-steps";
|
|
2
|
-
|
|
3
|
-
export class RdfResourceSearchSteps extends BaseSteps {
|
|
4
|
-
|
|
5
|
-
static getComponent() {
|
|
6
|
-
return this.getByTestId('onto-rdf-search-component');
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
static getShowViewResourceMessageButton() {
|
|
10
|
-
return this.getByTestId('onto-show-view-resource-message');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
static clickOnShowViewResourceMessageButton() {
|
|
14
|
-
this.getShowViewResourceMessageButton().click();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
static getOpenButton() {
|
|
18
|
-
return this.getByTestId('onto-open-rdf-search-button');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
static clickOnRDFResourceSearch() {
|
|
22
|
-
this.getOpenButton().click();
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
static getRDFResourceSearchInput() {
|
|
26
|
-
return this.getComponent().getByTestId('rdfSearchContext');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
static getCloseButton() {
|
|
30
|
-
return this.getComponent().getByTestId('onto-rdf-resource-search-close-btn');
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
static getAutocompleteResults() {
|
|
34
|
-
return this.getComponent().getByTestId('onto-autocomplete-results');
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
static getAutocompleteSuggestionByPartialText(partialText) {
|
|
38
|
-
return this.getAutocompleteResults().getByTestId('onto-autocomplete-suggestion').contains(partialText);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
static clickOnAutocompleteSuggestionByPartialText(partialText) {
|
|
42
|
-
return this.getAutocompleteSuggestionByPartialText(partialText).click();
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
static openRdfSearchBox() {
|
|
46
|
-
RdfResourceSearchSteps.clickOnRDFResourceSearch();
|
|
47
|
-
RdfResourceSearchSteps.getRDFResourceSearchInput()
|
|
48
|
-
.should('be.visible')
|
|
49
|
-
.and('be.focused');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
static closeRDFSearchBox() {
|
|
53
|
-
this.getCloseButton().click();
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {BaseSteps} from "./base-steps";
|
|
2
|
-
|
|
3
|
-
export class RestApiDocumentationSteps extends BaseSteps {
|
|
4
|
-
static visit() {
|
|
5
|
-
cy.visit('webapi');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
static getRestApiContent() {
|
|
9
|
-
return this.getByTestId('rest-api-content');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
static verifyInitialState() {
|
|
13
|
-
this.getRestApiContent().should('be.visible');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {BaseSteps} from "../base-steps";
|
|
2
|
-
|
|
3
|
-
export class ConnectorsSteps extends BaseSteps {
|
|
4
|
-
static visit() {
|
|
5
|
-
super.visit('/connectors');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
static getConnectorsPage() {
|
|
9
|
-
return this.getByTestId('connectors-page');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
static getConnectorButton(buttonId) {
|
|
13
|
-
return this.getConnectorsPage().getByTestId(`connector-${buttonId}`);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static getReloadAllButton() {
|
|
17
|
-
return this.getConnectorsPage().getByTestId('reload-all-connectors');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
static expandConnector(connectorName, instanceName) {
|
|
21
|
-
this.getByTestId(`connector-name-${connectorName}`).getByTestId(`${instanceName}-connector-toggle-button`).find('a').click();
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
static viewSPARQLQuery(connectorName, instanceName) {
|
|
25
|
-
const connectorContent = this.getByTestId(`connector-name-${connectorName}`).getByTestId(`${instanceName}-connector-content`);
|
|
26
|
-
connectorContent.getByTestId('open-view-sparql-query-dialog').click();
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
static closeSPARQLQueryDialog() {
|
|
30
|
-
this.getByTestId('close-view-query-dialog').click();
|
|
31
|
-
}
|
|
32
|
-
}
|