graphdb-workbench-tests 3.5.3 → 4.0.0-RC1
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/cypress-guides.config.js +45 -0
- package/e2e-flaky/import/import-server-files-operations.spec.js +8 -30
- package/e2e-flaky/import/import-user-data-batch-operations.spec.js +7 -7
- package/e2e-flaky/import/import-user-data-url.spec.js +1 -1
- package/e2e-flaky/sparql-editor/lucene-connector.spec.js +1 -1
- package/e2e-legacy/explore/graphs-overview/graphs.overview.spec.js +31 -2
- package/e2e-legacy/explore/visual-graph/visual.graph.spec.js +35 -4
- package/e2e-legacy/graph-navigator/graph-navigator-restrictions.spec.js +216 -0
- package/e2e-legacy/graph-navigator/graph-navigator.spec.js +520 -0
- package/e2e-legacy/guides/import-rdf-file/confirm-duplicate-rdf-file.spec.js +1 -1
- package/e2e-legacy/guides/main-menu/main-menu-guide.spec.js +6 -14
- package/e2e-legacy/guides/ttyg/configure-agent/configure-agent-guide.spec.js +27 -32
- package/e2e-legacy/guides/ttyg/edit-agent/edit-ttyg-agent-guide.spec.js +12 -20
- package/e2e-legacy/help/rest-api-documentatio/rest-api-documentation-theme.spec.js +50 -0
- package/e2e-legacy/home/home-page-without-repositories.spec.js +3 -1
- package/e2e-legacy/home/home-page-without-selected-repository.spec.js +2 -1
- package/e2e-legacy/import/import-server-files-batch-operations.spec.js +38 -5
- package/e2e-legacy/import/import-server-files.spec.js +39 -23
- package/e2e-legacy/import/import-user-data-file-upload.spec.js +83 -23
- package/e2e-legacy/import/import-user-data-settings-dialog.spec.js +81 -10
- package/e2e-legacy/import/import-user-data-text-snippet.spec.js +6 -45
- package/e2e-legacy/import/import-user-data-url.spec.js +9 -5
- package/e2e-legacy/import/import-user-data.spec.js +8 -8
- package/e2e-legacy/import/import-view.spec.js +2 -2
- package/e2e-legacy/import/initial-state/import-page-with-selected-repositor.js +1 -1
- package/e2e-legacy/import/initial-state/import-page-with-selected-repository-without-imported-files.js +1 -1
- package/e2e-legacy/monitor/global-operation-statuses-component.spec.js +13 -17
- package/e2e-legacy/monitor/query-and-updates/queries-and-updates-with-repository.spec.js +16 -0
- package/e2e-legacy/rdf-version/rdf-version-accept-header.spec.js +145 -0
- package/e2e-legacy/repository/attach-remote-location.spec.js +7 -15
- package/e2e-legacy/repository/fedx-deprecation.spec.js +178 -0
- package/e2e-legacy/repository/ontop-repository.spec.js +25 -34
- package/e2e-legacy/repository/rename-repository-restrictions.spec.js +129 -0
- package/e2e-legacy/repository/repositories.spec.js +27 -10
- package/e2e-legacy/repository/repository-picker-tooltip.spec.js +72 -0
- package/e2e-legacy/repository/repository-selector-tooltip.spec.js +55 -0
- package/e2e-legacy/resource/resource.spec.js +177 -40
- package/e2e-legacy/setup/aclmanagement/create-rule.spec.js +14 -25
- package/e2e-legacy/setup/aclmanagement/delete-rule.spec.js +6 -6
- package/e2e-legacy/setup/aclmanagement/edit-rule.spec.js +15 -15
- package/e2e-legacy/setup/aclmanagement/render-rules.spec.js +1 -1
- package/e2e-legacy/setup/aclmanagement/reorder-rules.spec.js +2 -2
- package/e2e-legacy/setup/aclmanagement/revert-rules.spec.js +2 -2
- package/e2e-legacy/setup/aclmanagement/update-rules.spec.js +3 -3
- package/e2e-legacy/setup/aclmanagement/validate-uri.spec.js +152 -0
- package/e2e-legacy/setup/connectors/connectors-initial-state-with-selected-repository.spec.js +1 -1
- package/e2e-legacy/setup/plugins/plugins-without-repository.spec.js +1 -1
- package/e2e-legacy/setup/settings/my-settings.spec.js +25 -15
- package/e2e-legacy/setup/users-and-access/user-and-access.spec.js +34 -24
- package/e2e-legacy/sparql-editor/actions/expand-results-over-sameas.spec.js +8 -8
- package/e2e-legacy/sparql-editor/actions/include-inferred-statements.spec.js +4 -4
- package/e2e-legacy/sparql-editor/actions/inferred-sameas.spec.js +2 -2
- package/e2e-legacy/sparql-editor/saved-query/abort-query.spec.js +1 -1
- package/e2e-legacy/sparql-editor/sparql-editor-navigation.spec.js +219 -0
- package/e2e-legacy/sparql-editor/yasgui-tabs.spec.js +1 -1
- package/e2e-legacy/sparql-editor/yasr/download-as.spec.js +4 -7
- package/e2e-legacy/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +8 -8
- package/e2e-legacy/ttyg/chat-list.spec.js +16 -1
- package/e2e-legacy/ttyg/chat-panel.spec.js +14 -0
- package/e2e-legacy/ttyg/chat-template-injection.spec.js +49 -0
- package/e2e-legacy/ttyg/create-chat.spec.js +1 -1
- package/e2e-legacy/ttyg/delete-agent.spec.js +14 -0
- package/e2e-legacy/ttyg/edit-agent.spec.js +8 -0
- package/e2e-legacy/ttyg/ttyg-initial-state-with-configured-api-key.spec.js +1 -1
- package/e2e-legacy/ttyg/ttyg-initial-state-with-selected-repository.spec.js +1 -1
- package/e2e-legacy/ttyg/ttyg-initial-state-without-repositories.spec.js +1 -1
- package/e2e-security/explore/visual-graph/graph-config-owner-actions.spec.js +52 -0
- package/e2e-security/repository/url-with-repository-id-parameter.spec.js +17 -0
- package/e2e-security/setup/home/cookie-policy.spec.js +4 -0
- package/e2e-security/setup/license/license-loading.spec.js +57 -0
- package/e2e-security/setup/license/license-logout.spec.js +38 -0
- package/e2e-security/setup/users-and-access/create-user-permissions.spec.js +1 -1
- package/e2e-security/setup/users-and-access/repo-admin-role.spec.js +1 -1
- package/e2e-security/setup/users-and-access/user-and-access.spec.js +0 -1
- package/eslint.config.js +5 -0
- package/fixtures/connectors/get-connectors.json +0 -1
- package/fixtures/graph-navigator/graph-navigator-settings-invalid.ttl +149 -0
- package/fixtures/graph-navigator/graph-navigator-settings.ttl +148 -0
- package/fixtures/graphdb-import/wine.rdf +279 -285
- package/fixtures/monitoring/get-active-queries-cluster-replicating.json +15 -0
- package/fixtures/ttyg/agent/get-agent-list-with-html-in-names.json +77 -0
- package/fixtures/ttyg/chats/get-chat-list-with-html-in-name.json +22 -0
- package/fixtures/ttyg/chats/get-chat-with-template-injection.json +27 -0
- package/npm-shrinkwrap.json +1264 -1265
- package/package.json +12 -2
- package/steps/application-steps.js +4 -0
- package/steps/base-steps.js +4 -0
- package/steps/cookie-policy/cookie-consent-banner-steps.js +2 -2
- package/steps/error-steps.js +2 -2
- package/steps/explore/graphs-overview-steps.js +44 -0
- package/steps/graph-navigator-steps.js +159 -0
- package/steps/header-steps.js +5 -1
- package/steps/home-steps.js +3 -6
- package/steps/import/import-server-files-steps.js +8 -0
- package/steps/import/import-settings-dialog-steps.js +16 -0
- package/steps/import/import-steps.js +94 -23
- package/steps/import/import-test-constants.js +1 -1
- package/steps/import/import-user-data-steps.js +26 -26
- package/steps/language-selector-steps.js +4 -0
- package/steps/layout-steps.js +6 -0
- package/steps/login-steps.js +7 -3
- package/steps/main-menu-steps.js +14 -14
- package/steps/monitoring/queries-and-updates-steps.js +9 -0
- package/steps/ontop-repository-steps.js +4 -0
- package/steps/page-restrictions-steps.js +24 -0
- package/steps/repositories/attach-repository-steps.js +2 -10
- package/steps/repository-picker-list-steps.js +58 -0
- package/steps/repository-selector-steps.js +20 -0
- package/steps/repository-steps.js +64 -9
- package/steps/resource/resource-steps.js +76 -9
- package/steps/rest-api-documentation-steps.js +23 -0
- package/steps/setup/acl-management-steps.js +4 -24
- package/steps/setup/settings-steps.js +42 -0
- package/steps/toaster-steps.js +4 -0
- package/steps/ttyg/chat-panel-steps.js +4 -0
- package/steps/ttyg/ttyg-view-steps.js +1 -14
- package/steps/visual-graph-steps.js +8 -0
- package/steps/widgets/repository-errors-widget-steps.js +15 -2
- package/steps/yasgui/yasqe-steps.js +5 -7
- package/steps/yasgui/yasr-steps.js +8 -0
- package/stubs/browser-stubs.js +40 -0
- package/stubs/graph-navigator-stubs.js +28 -0
- package/stubs/license-stubs.js +11 -3
- package/stubs/monitoring/queries-and-updates-stubs.js +5 -0
- package/stubs/repositories/repositories-stubs.js +44 -0
- package/stubs/ttyg/ttyg-stubs.js +3 -2
- package/stubs/yasgui/query-stubs.js +5 -0
- package/support/repository-commands.js +15 -0
- package/support/sparql-commands.js +2 -0
- package/support/visual-graph-commands.js +19 -0
- package/e2e-legacy/home/solr-banner/solr-banner.spec.js +0 -137
- package/fixtures/graphdb-import/test-trigstar.trigs +0 -32
- package/fixtures/graphdb-import/test_turtlestar.ttls +0 -6
- package/fixtures/graphdb-import/turtlestar-data.ttls +0 -77
- package/steps/deprecation-banner/deprecation-banner-steps.js +0 -13
- package/steps/deprecation-steps.js +0 -13
|
@@ -9,8 +9,7 @@ import {GuidesStubs} from "../../../../stubs/guides/guides-stubs.js";
|
|
|
9
9
|
import {TTYGStubs} from "../../../../stubs/ttyg/ttyg-stubs.js";
|
|
10
10
|
import {RepositoriesStubs} from "../../../../stubs/repositories/repositories-stubs.js";
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
describe.skip('ttyg configure agent guide', () => {
|
|
12
|
+
describe('ttyg configure agent guide', () => {
|
|
14
13
|
let repositoryId;
|
|
15
14
|
|
|
16
15
|
beforeEach(() => {
|
|
@@ -34,116 +33,112 @@ describe.skip('ttyg configure agent guide', () => {
|
|
|
34
33
|
})
|
|
35
34
|
|
|
36
35
|
it('should create and configure TTYG agent with actions', () => {
|
|
37
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 1/
|
|
36
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 1/29');
|
|
38
37
|
GuideDialogSteps.assertDialogWithContentIsVisible('The following steps show how to use the Talk to Your Graph view to create an agent.');
|
|
39
38
|
GuideDialogSteps.clickOnNextButton();
|
|
40
39
|
|
|
41
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 2/
|
|
42
|
-
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
|
|
43
|
-
MainMenuSteps.clickOnMenuLab();
|
|
44
|
-
|
|
45
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 3/30');
|
|
40
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 2/29');
|
|
46
41
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
|
|
47
|
-
MainMenuSteps.
|
|
42
|
+
MainMenuSteps.clickOnMenuTTYG();
|
|
48
43
|
|
|
49
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent —
|
|
44
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 4/29');
|
|
50
45
|
GuideDialogSteps.assertDialogWithContentIsVisible('An agent is a helpful assistant that can answer your queries. You need to configure an agent in order to ask anything of Talk to Your Graph.');
|
|
51
46
|
GuideDialogSteps.clickOnNextButton();
|
|
52
47
|
|
|
53
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent —
|
|
48
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 6/29');
|
|
54
49
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the create agent button to create a new agent.');
|
|
55
50
|
TTYGViewSteps.clickCreateAgentButton();
|
|
56
51
|
|
|
57
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent —
|
|
52
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 8/29');
|
|
58
53
|
GuideDialogSteps.assertDialogWithContentIsVisible('Type a name for the agent. You will refer to it later.');
|
|
59
54
|
TtygAgentSettingsModalSteps.typeAgentName('MyAgent');
|
|
60
55
|
GuideDialogSteps.clickOnNextButton();
|
|
61
56
|
|
|
62
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent —
|
|
57
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 9/29');
|
|
63
58
|
GuideDialogSteps.assertDialogWithContentIsVisible('Here you can type the name of the OpenAI model to be used.');
|
|
64
59
|
TtygAgentSettingsModalSteps.clearLLMModel();
|
|
65
60
|
TtygAgentSettingsModalSteps.typeLLMModel('gpt-3.5-turbo');
|
|
66
61
|
GuideDialogSteps.clickOnNextButton();
|
|
67
62
|
|
|
68
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph —
|
|
63
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph — 10/29');
|
|
69
64
|
GuideDialogSteps.assertDialogWithContentIsVisible('Sets the sampling temperature of the agent. Lower values result in more consistent, repetitive responses generated by the agent and higher values result in a wider variety of responses');
|
|
70
65
|
TtygAgentSettingsModalSteps.setTemperature(0.8);
|
|
71
66
|
GuideDialogSteps.clickOnNextButton();
|
|
72
67
|
|
|
73
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph —
|
|
68
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph — 11/29');
|
|
74
69
|
GuideDialogSteps.assertDialogWithContentIsVisible('Sets the nucleus sampling of the agent');
|
|
75
70
|
TtygAgentSettingsModalSteps.setTopP(0.9);
|
|
76
71
|
GuideDialogSteps.clickOnNextButton();
|
|
77
72
|
|
|
78
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
73
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 12/29');
|
|
79
74
|
GuideDialogSteps.assertDialogWithContentIsVisible('Enabling SPARQL search allows the agent to answers questions by performing a SPARQL query.');
|
|
80
75
|
GuideDialogSteps.clickOnNextButton();
|
|
81
76
|
|
|
82
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
77
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 13/29');
|
|
83
78
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable SPARQL search query method.');
|
|
84
79
|
TtygAgentSettingsModalSteps.enableSparqlExtractionMethod();
|
|
85
80
|
|
|
86
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
81
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 14/29');
|
|
87
82
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable providing an ontology in a named graph.');
|
|
88
83
|
TtygAgentSettingsModalSteps.selectSparqlMethodOntologyGraph();
|
|
89
84
|
|
|
90
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
85
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 15/29');
|
|
91
86
|
GuideDialogSteps.assertDialogWithContentIsVisible('Type http://example.org/some/test/ontology as the named graph which contains the ontology.');
|
|
92
87
|
TtygAgentSettingsModalSteps.clearSparqlMethodOntologyGraphField();
|
|
93
88
|
TtygAgentSettingsModalSteps.typeSparqlMethodOntologyGraphField('http://example.org/some/test/ontology');
|
|
94
89
|
GuideDialogSteps.clickOnNextButton();
|
|
95
90
|
|
|
96
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
91
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 16/29');
|
|
97
92
|
GuideDialogSteps.assertDialogWithContentIsVisible('Check to automatically add missing namespaces.');
|
|
98
93
|
TtygAgentSettingsModalSteps.toggleAddMissingNamespacesCheckbox();
|
|
99
94
|
|
|
100
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('FTS search query method —
|
|
95
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('FTS search query method — 17/29');
|
|
101
96
|
GuideDialogSteps.assertDialogWithContentIsVisible('Enabling FTS search allows the agent to answer questions by using full-text search in literals and IRIs.');
|
|
102
97
|
GuideDialogSteps.clickOnNextButton();
|
|
103
98
|
|
|
104
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('FTS search query method —
|
|
99
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('FTS search query method — 18/29');
|
|
105
100
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable FTS search query method.');
|
|
106
101
|
TtygAgentSettingsModalSteps.enableFtsExtractionMethod();
|
|
107
102
|
|
|
108
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('FTS search query method —
|
|
103
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('FTS search query method — 19/29');
|
|
109
104
|
GuideDialogSteps.assertDialogWithContentIsVisible('Type 100 as the maximum number of triples to retrieve per call.');
|
|
110
105
|
TtygAgentSettingsModalSteps.setFtsSearchMaxTriples(100);
|
|
111
106
|
GuideDialogSteps.clickOnNextButton();
|
|
112
107
|
|
|
113
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Similarity search query method —
|
|
108
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Similarity search query method — 20/29');
|
|
114
109
|
GuideDialogSteps.assertDialogWithContentIsVisible('Enabling Similarity search allows the agent to answer questions by using Similarity search.');
|
|
115
110
|
GuideDialogSteps.clickOnNextButton();
|
|
116
111
|
|
|
117
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Similarity search query method —
|
|
112
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Similarity search query method — 21/29');
|
|
118
113
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable Similarity search query method.');
|
|
119
114
|
TtygAgentSettingsModalSteps.enableSimilaritySearchMethodPanel();
|
|
120
115
|
|
|
121
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Similarity search query method —
|
|
116
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Similarity search query method — 22/29');
|
|
122
117
|
GuideDialogSteps.assertDialogWithContentIsVisible('Select the index to use for Similarity search.');
|
|
123
118
|
TtygAgentSettingsModalSteps.selectSimilarityIndex(0);
|
|
124
119
|
GuideDialogSteps.clickOnNextButton();
|
|
125
120
|
|
|
126
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph —
|
|
121
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph — 23/29');
|
|
127
122
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable Full-text search in labels for IRI discovery');
|
|
128
123
|
TtygAgentSettingsModalSteps.checkIriDiscoverySearchCheckbox();
|
|
129
124
|
|
|
130
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph —
|
|
125
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph — 24/29');
|
|
131
126
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable Autocomplete for IRI discovery.');
|
|
132
127
|
TtygAgentSettingsModalSteps.checkAutocompleteSearchCheckbox();
|
|
133
128
|
|
|
134
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph —
|
|
129
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph — 25/29');
|
|
135
130
|
GuideDialogSteps.assertDialogWithContentIsVisible('Set the Max number of results (IRIs) per call to 15');
|
|
136
131
|
TtygAgentSettingsModalSteps.setAutocompleteMaxResults(15);
|
|
137
132
|
GuideDialogSteps.clickOnNextButton();
|
|
138
133
|
|
|
139
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph —
|
|
134
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Talk to Your Graph — 26/29');
|
|
140
135
|
GuideDialogSteps.assertDialogWithContentIsVisible('Set Context Size to 4096 so the model can use the ontology and conversation history to answer correctly');
|
|
141
136
|
TtygAgentSettingsModalSteps.getContextSizeField().focus();
|
|
142
137
|
TtygAgentSettingsModalSteps.clearContextSize();
|
|
143
138
|
TtygAgentSettingsModalSteps.enterContextSize(4096);
|
|
144
139
|
GuideDialogSteps.clickOnNextButton();
|
|
145
140
|
|
|
146
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent —
|
|
141
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 27/29');
|
|
147
142
|
GuideDialogSteps.assertDialogWithContentIsVisible('Enter the following in the input:');
|
|
148
143
|
TtygAgentSettingsModalSteps.clearUserInstructions();
|
|
149
144
|
TtygAgentSettingsModalSteps.getCodeToCopy().then(code => {
|
|
@@ -151,7 +146,7 @@ describe.skip('ttyg configure agent guide', () => {
|
|
|
151
146
|
GuideDialogSteps.clickOnNextButton();
|
|
152
147
|
});
|
|
153
148
|
|
|
154
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 29
|
|
149
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Create an agent — 28/29');
|
|
155
150
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click to save the agent settings');
|
|
156
151
|
TtygAgentSettingsModalSteps.saveAgent();
|
|
157
152
|
});
|
|
@@ -28,15 +28,11 @@ describe('Edit TTYG agent guide', () => {
|
|
|
28
28
|
it('should end guide when no api key is present', () => {
|
|
29
29
|
TTYGStubs.stubAgentListGetError('Set the config property \'graphdb.llm.api-key\' to your LLM API key');
|
|
30
30
|
|
|
31
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 1/
|
|
32
|
-
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
|
|
33
|
-
MainMenuSteps.clickOnMenuLab();
|
|
34
|
-
|
|
35
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 2/18');
|
|
31
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 1/17');
|
|
36
32
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
|
|
37
|
-
MainMenuSteps.
|
|
33
|
+
MainMenuSteps.clickOnMenuTTYG();
|
|
38
34
|
|
|
39
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Missing OpenAI key —
|
|
35
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Missing OpenAI key — 2/17');
|
|
40
36
|
GuideDialogSteps.assertDialogWithContentIsVisible('To use Talk to Your Graph, GraphDB must first be configured to work with LLM API.');
|
|
41
37
|
GuideDialogSteps.clickOnCloseButton();
|
|
42
38
|
});
|
|
@@ -48,39 +44,35 @@ describe('Edit TTYG agent guide', () => {
|
|
|
48
44
|
TTYGStubs.stubAgentEdit();
|
|
49
45
|
RepositoriesStubs.stubRepositoryModel(repositoryId);
|
|
50
46
|
|
|
51
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 1/
|
|
52
|
-
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Lab menu.');
|
|
53
|
-
MainMenuSteps.clickOnMenuLab();
|
|
54
|
-
|
|
55
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 2/18');
|
|
47
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 1/17');
|
|
56
48
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the Talk to Your Graph menu.');
|
|
57
|
-
MainMenuSteps.
|
|
49
|
+
MainMenuSteps.clickOnMenuTTYG();
|
|
58
50
|
|
|
59
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent —
|
|
51
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 3/17');
|
|
60
52
|
GuideDialogSteps.assertDialogWithContentIsVisible('An agent\'s configuration such as the extraction methods can be reconfigured at any time');
|
|
61
53
|
GuideDialogSteps.clickOnNextButton();
|
|
62
54
|
|
|
63
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent —
|
|
55
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 10/17');
|
|
64
56
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the edit agent button to edit the configuration of the selected agent.');
|
|
65
57
|
TTYGViewSteps.editCurrentAgent();
|
|
66
58
|
|
|
67
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
59
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 12/17');
|
|
68
60
|
GuideDialogSteps.assertDialogWithContentIsVisible('Enabling SPARQL search allows the agent to answers questions by performing a SPARQL query');
|
|
69
61
|
GuideDialogSteps.clickOnNextButton();
|
|
70
62
|
|
|
71
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
63
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 13/17');
|
|
72
64
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable SPARQL search query method.');
|
|
73
65
|
TtygAgentSettingsModalSteps.enableSparqlExtractionMethod();
|
|
74
66
|
|
|
75
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
67
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 14/17');
|
|
76
68
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click on the toggle to enable providing an ontology in a named graph.');
|
|
77
69
|
TtygAgentSettingsModalSteps.selectSparqlMethodOntologyGraph();
|
|
78
70
|
|
|
79
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method —
|
|
71
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('SPARQL search query method — 15/17');
|
|
80
72
|
GuideDialogSteps.assertDialogWithContentIsVisible('Type http://example.com as the named graph which contains the ontology.');
|
|
81
73
|
GuideDialogSteps.clickOnNextButton();
|
|
82
74
|
|
|
83
|
-
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 17
|
|
75
|
+
GuideDialogSteps.assertDialogWithTitleIsVisible('Edit an agent — 16/17');
|
|
84
76
|
GuideDialogSteps.assertDialogWithContentIsVisible('Click to save the agent settings.');
|
|
85
77
|
TtygAgentSettingsModalSteps.saveAgent();
|
|
86
78
|
ModalDialogSteps.getDialog().should('not.exist');
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {RestApiDocumentationSteps} from "../../../steps/rest-api-documentation-steps";
|
|
2
|
+
|
|
3
|
+
describe('REST API Documentation theme', () => {
|
|
4
|
+
const THEME_PERSISTENCE_KEY = 'ls.workbench-settings';
|
|
5
|
+
|
|
6
|
+
// Queued with cy.then, so the change happens in command order and not when the test body runs.
|
|
7
|
+
const emulateMediaFeatures = (features) => cy.then(() => Cypress.automation('remote:debugger:protocol', {
|
|
8
|
+
command: 'Emulation.setEmulatedMedia',
|
|
9
|
+
params: {features}
|
|
10
|
+
}));
|
|
11
|
+
const emulateOsColorScheme = (colorScheme) => emulateMediaFeatures([{name: 'prefers-color-scheme', value: colorScheme}]);
|
|
12
|
+
|
|
13
|
+
afterEach(() => {
|
|
14
|
+
emulateMediaFeatures([]);
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it('should use the Swagger UI light theme when the workbench is in light mode', () => {
|
|
18
|
+
// Given, the light theme is persisted in local storage
|
|
19
|
+
cy.setLocalStorage(THEME_PERSISTENCE_KEY, JSON.stringify({"theme": "default-theme", "mode": "light"}));
|
|
20
|
+
// When, I visit the REST API Documentation page
|
|
21
|
+
RestApiDocumentationSteps.visit();
|
|
22
|
+
// Then, Swagger UI uses its light theme
|
|
23
|
+
RestApiDocumentationSteps.verifySwaggerLightTheme();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it('should use the Swagger UI dark theme when the workbench is in dark mode', () => {
|
|
27
|
+
// Given, the dark theme is persisted in local storage
|
|
28
|
+
cy.setLocalStorage(THEME_PERSISTENCE_KEY, JSON.stringify({"theme": "default-theme", "mode": "dark"}));
|
|
29
|
+
// When, I visit the REST API Documentation page
|
|
30
|
+
RestApiDocumentationSteps.visit();
|
|
31
|
+
// Then, Swagger UI uses its dark theme
|
|
32
|
+
RestApiDocumentationSteps.verifySwaggerDarkTheme();
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
it('should switch the Swagger UI theme when the OS color scheme changes and the workbench follows the OS', () => {
|
|
36
|
+
// Given, no theme is persisted, so the workbench follows the OS, and the OS is in light mode
|
|
37
|
+
emulateOsColorScheme('light');
|
|
38
|
+
// And, I have opened the REST API Documentation page
|
|
39
|
+
RestApiDocumentationSteps.visit();
|
|
40
|
+
RestApiDocumentationSteps.verifySwaggerLightTheme();
|
|
41
|
+
// When, the OS switches to dark mode
|
|
42
|
+
emulateOsColorScheme('dark');
|
|
43
|
+
// Then, Swagger UI switches to its dark theme
|
|
44
|
+
RestApiDocumentationSteps.verifySwaggerDarkTheme();
|
|
45
|
+
// When, the OS switches back to light mode
|
|
46
|
+
emulateOsColorScheme('light');
|
|
47
|
+
// Then, Swagger UI switches back to its light theme
|
|
48
|
+
RestApiDocumentationSteps.verifySwaggerLightTheme();
|
|
49
|
+
});
|
|
50
|
+
});
|
|
@@ -33,7 +33,9 @@ describe('Home page: without repositories', () => {
|
|
|
33
33
|
HomeSteps.getRepositoryErrorsWidget().should('be.visible');
|
|
34
34
|
RepositoryErrorsWidgetSteps.getInfoMessage().should('contain', 'Some functionalities are not available because you are not connected to any repository.');
|
|
35
35
|
RepositoryErrorsWidgetSteps.getCreateRepositoryBtn().should('be.visible');
|
|
36
|
-
|
|
36
|
+
// There are no repositories to filter.
|
|
37
|
+
RepositoryErrorsWidgetSteps.getRepositoryFilter().should('not.exist');
|
|
38
|
+
RepositoryErrorsWidgetSteps.getLocalOnlyCheckbox().should('not.exist');
|
|
37
39
|
});
|
|
38
40
|
|
|
39
41
|
it('should render license widget', () => {
|
|
@@ -29,7 +29,8 @@ describe('Home page: without selected repository', () => {
|
|
|
29
29
|
HomeSteps.getRepositoryErrorsWidget().should('be.visible');
|
|
30
30
|
RepositoryErrorsWidgetSteps.getInfoMessage().should('contain', 'Some functionalities are not available because you are not connected to any repository.');
|
|
31
31
|
RepositoryErrorsWidgetSteps.getCreateRepositoryBtn().should('be.visible');
|
|
32
|
-
RepositoryErrorsWidgetSteps.
|
|
32
|
+
RepositoryErrorsWidgetSteps.getRepositoryFilter().should('be.visible');
|
|
33
|
+
RepositoryErrorsWidgetSteps.getLocalOnlyCheckbox().should('be.visible').and('be.checked');
|
|
33
34
|
});
|
|
34
35
|
|
|
35
36
|
// This test is unreliable with the current implementation of the license widget.
|
|
@@ -57,7 +57,7 @@ describe('Import server files - Batch operations', () => {
|
|
|
57
57
|
// precondition for the next step
|
|
58
58
|
ImportServerFilesSteps.importResourceByName(FILE_FOR_IMPORT);
|
|
59
59
|
ImportSettingsDialogSteps.import();
|
|
60
|
-
ImportServerFilesSteps.
|
|
60
|
+
ImportServerFilesSteps.checkImportedResourceByName(FILE_FOR_IMPORT);
|
|
61
61
|
// When I select Imported from the menu
|
|
62
62
|
ImportServerFilesSteps.selectImportedResources();
|
|
63
63
|
// Then I should see only imported files selected
|
|
@@ -87,6 +87,39 @@ describe('Import server files - Batch operations', () => {
|
|
|
87
87
|
ImportServerFilesSteps.getSelectedResources().should('have.length', 0);
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
+
it('Should select all displayed resources with the select all checkbox', () => {
|
|
91
|
+
// When I check the select all checkbox
|
|
92
|
+
ImportServerFilesSteps.toggleSelectAllResources();
|
|
93
|
+
// Then I should see all files selected
|
|
94
|
+
ImportServerFilesSteps.getSelectedResources().should('have.length', SERVER_FILES_COUNT);
|
|
95
|
+
ImportServerFilesSteps.getSelectAllCheckbox().should('be.checked');
|
|
96
|
+
// When I uncheck the select all checkbox
|
|
97
|
+
ImportServerFilesSteps.toggleSelectAllResources();
|
|
98
|
+
// Then I should see no files selected
|
|
99
|
+
ImportServerFilesSteps.getSelectedResources().should('have.length', 0);
|
|
100
|
+
ImportServerFilesSteps.getSelectAllCheckbox().should('not.be.checked');
|
|
101
|
+
// When I select a directory via the checkbox on the row
|
|
102
|
+
ImportServerFilesSteps.selectFileByName('more-files');
|
|
103
|
+
// Then the select all checkbox should be partially selected
|
|
104
|
+
ImportServerFilesSteps.getSelectAllCheckbox().should('have.prop', 'indeterminate', true);
|
|
105
|
+
// When I check the select all checkbox
|
|
106
|
+
ImportServerFilesSteps.toggleSelectAllResources();
|
|
107
|
+
// Then I should see all files selected
|
|
108
|
+
ImportServerFilesSteps.getSelectedResources().should('have.length', SERVER_FILES_COUNT);
|
|
109
|
+
ImportServerFilesSteps.getSelectAllCheckbox().should('be.checked').and('have.prop', 'indeterminate', false);
|
|
110
|
+
// When I deselect all and filter the files by name
|
|
111
|
+
ImportServerFilesSteps.toggleSelectAllResources();
|
|
112
|
+
ImportServerFilesSteps.typeInFilterField('bnodes');
|
|
113
|
+
ImportServerFilesSteps.getResources().should('have.length', 1);
|
|
114
|
+
// and check the select all checkbox
|
|
115
|
+
ImportServerFilesSteps.toggleSelectAllResources();
|
|
116
|
+
// Then only the displayed file should be selected
|
|
117
|
+
ImportServerFilesSteps.clearFilterField();
|
|
118
|
+
ImportServerFilesSteps.getResources().should('have.length', SERVER_FILES_COUNT);
|
|
119
|
+
ImportServerFilesSteps.getSelectedResources().should('have.length', 1);
|
|
120
|
+
ImportServerFilesSteps.getSelectedResourceName(0).should('contain', 'bnodes.ttl');
|
|
121
|
+
});
|
|
122
|
+
|
|
90
123
|
it('Should perform batch import and reset of selected server files with changing settings', () => {
|
|
91
124
|
// Given I have opened the server files tab
|
|
92
125
|
// When I select couple of files for import
|
|
@@ -97,8 +130,8 @@ describe('Import server files - Batch operations', () => {
|
|
|
97
130
|
// Then the files should be imported
|
|
98
131
|
// We send only the files in the folder for import
|
|
99
132
|
// ImportServerFilesSteps.checkImportedResource(0, 'more-files');
|
|
100
|
-
ImportServerFilesSteps.
|
|
101
|
-
ImportServerFilesSteps.
|
|
133
|
+
ImportServerFilesSteps.checkImportedResourceByName('jsonld-file.jsonld');
|
|
134
|
+
ImportServerFilesSteps.checkImportedResourceByName('rdfxml.rdf');
|
|
102
135
|
ImportServerFilesSteps.deselectFileByName('more-files');
|
|
103
136
|
// When I select the folder and click on the batch reset button
|
|
104
137
|
ImportServerFilesSteps.selectFileByName('more-files');
|
|
@@ -116,7 +149,7 @@ describe('Import server files - Batch operations', () => {
|
|
|
116
149
|
// Then the files should be imported
|
|
117
150
|
// We send only the files in the folder for import
|
|
118
151
|
// ImportServerFilesSteps.checkImportedResource(0, 'more-files');
|
|
119
|
-
ImportServerFilesSteps.
|
|
120
|
-
ImportServerFilesSteps.
|
|
152
|
+
ImportServerFilesSteps.checkImportedResourceByName('jsonld-file.jsonld');
|
|
153
|
+
ImportServerFilesSteps.checkImportedResourceByName('rdfxml.rdf');
|
|
121
154
|
});
|
|
122
155
|
});
|
|
@@ -87,8 +87,8 @@ describe('Import server files', () => {
|
|
|
87
87
|
// Then I expect all files to be successfully imported.
|
|
88
88
|
// TODO: this check is failing right now because the fix https://ontotext.atlassian.net/browse/GDB-10295 is not yet completed.
|
|
89
89
|
// ImportServerFilesSteps.checkImportedResource(0, 'more-files', 'Imported successfully in');
|
|
90
|
-
ImportServerFilesSteps.
|
|
91
|
-
ImportServerFilesSteps.
|
|
90
|
+
ImportServerFilesSteps.checkImportedResourceByIndex(1, 'jsonld-file.jsonld', 'Imported successfully in');
|
|
91
|
+
ImportServerFilesSteps.checkImportedResourceByIndex(2, 'rdfxml.rdf', 'Imported successfully in');
|
|
92
92
|
|
|
93
93
|
// When I try to import a directory that contains resources with incorrect rdf data.
|
|
94
94
|
ImportServerFilesSteps.importResourceByName('more-files-with-error');
|
|
@@ -119,7 +119,7 @@ describe('Import server files', () => {
|
|
|
119
119
|
ImportSettingsDialogSteps.import();
|
|
120
120
|
|
|
121
121
|
// I expect only part of the error be displayed,
|
|
122
|
-
ImportServerFilesSteps.
|
|
122
|
+
ImportServerFilesSteps.checkImportedResourceByName(importResourceName, 'RDF Parse Error: The element type ');
|
|
123
123
|
// and when click on that error
|
|
124
124
|
ImportServerFilesSteps.openErrorDialog(importResourceName);
|
|
125
125
|
|
|
@@ -152,39 +152,37 @@ describe('Import server files', () => {
|
|
|
152
152
|
ImportServerFilesSteps.orderBySize();
|
|
153
153
|
|
|
154
154
|
// Then I expect the directories to be sorted in ascending order,
|
|
155
|
-
ImportServerFilesSteps.
|
|
156
|
-
ImportServerFilesSteps.
|
|
155
|
+
ImportServerFilesSteps.getResourceTitleRow(0).should('contain', "more-files");
|
|
156
|
+
ImportServerFilesSteps.getResourceTitleRow(3).should('contain', "more-files-with-error");
|
|
157
157
|
|
|
158
158
|
// and inner files to be sorted ascending as well.
|
|
159
159
|
// checks first folder files
|
|
160
|
-
ImportServerFilesSteps.
|
|
161
|
-
ImportServerFilesSteps.
|
|
160
|
+
ImportServerFilesSteps.getResourceTitleRow(1).should('contain', "jsonld-file.jsonld");
|
|
161
|
+
ImportServerFilesSteps.getResourceTitleRow(2).should('contain', "rdfxml.rdf");
|
|
162
162
|
// checks second folder files
|
|
163
|
-
ImportServerFilesSteps.
|
|
164
|
-
ImportServerFilesSteps.
|
|
165
|
-
ImportServerFilesSteps.
|
|
163
|
+
ImportServerFilesSteps.getResourceTitleRow(4).should('contain', "import-resource-with-correct-data.jsonld");
|
|
164
|
+
ImportServerFilesSteps.getResourceTitleRow(5).should('contain', "import-resource-with-incorrect-data.rdf");
|
|
165
|
+
ImportServerFilesSteps.getResourceTitleRow(6).should('contain', "import-resource-with-long-error.rdf");
|
|
166
166
|
// checks files in root
|
|
167
|
-
ImportServerFilesSteps.
|
|
168
|
-
ImportServerFilesSteps.
|
|
169
|
-
ImportServerFilesSteps.getResource(9).should('contain', "0007-import-file.jsonld");
|
|
167
|
+
ImportServerFilesSteps.getResourceTitleRow(7).should('contain', "bnodes.ttl");
|
|
168
|
+
ImportServerFilesSteps.getResourceTitleRow(8).should('contain', "0007-import-file.jsonld");
|
|
170
169
|
|
|
171
170
|
// When I change the order by size.
|
|
172
171
|
ImportServerFilesSteps.orderBySize();
|
|
173
172
|
|
|
174
173
|
// Then I expect the directories to be sorted in descending order,
|
|
175
|
-
ImportServerFilesSteps.
|
|
176
|
-
ImportServerFilesSteps.
|
|
174
|
+
ImportServerFilesSteps.getResourceTitleRow(0).should('contain', "more-files-with-error");
|
|
175
|
+
ImportServerFilesSteps.getResourceTitleRow(4).should('contain', "more-files");
|
|
177
176
|
// checks first folder files
|
|
178
|
-
ImportServerFilesSteps.
|
|
179
|
-
ImportServerFilesSteps.
|
|
180
|
-
ImportServerFilesSteps.
|
|
177
|
+
ImportServerFilesSteps.getResourceTitleRow(1).should('contain', "import-resource-with-long-error.rdf");
|
|
178
|
+
ImportServerFilesSteps.getResourceTitleRow(2).should('contain', "import-resource-with-incorrect-data.rdf");
|
|
179
|
+
ImportServerFilesSteps.getResourceTitleRow(3).should('contain', "import-resource-with-correct-data.jsonld");
|
|
181
180
|
// checks second folder files
|
|
182
|
-
ImportServerFilesSteps.
|
|
183
|
-
ImportServerFilesSteps.
|
|
181
|
+
ImportServerFilesSteps.getResourceTitleRow(5).should('contain', "rdfxml.rdf");
|
|
182
|
+
ImportServerFilesSteps.getResourceTitleRow(6).should('contain', "jsonld-file.jsonld");
|
|
184
183
|
// checks files in root
|
|
185
|
-
ImportServerFilesSteps.
|
|
186
|
-
ImportServerFilesSteps.
|
|
187
|
-
ImportServerFilesSteps.getResource(19).should('contain', "bnodes.ttl");
|
|
184
|
+
ImportServerFilesSteps.getResourceTitleRow(15).should('contain', "0007-import-file.jsonld");
|
|
185
|
+
ImportServerFilesSteps.getResourceTitleRow(16).should('contain', "bnodes.ttl");
|
|
188
186
|
});
|
|
189
187
|
|
|
190
188
|
it('should allow importing jsonld with empty "JSON-LD Context"', () => {
|
|
@@ -208,4 +206,22 @@ describe('Import server files', () => {
|
|
|
208
206
|
// Then: I expect the import button be enabled, because the "JSON-LD Context" is not mandatory field.
|
|
209
207
|
ImportSettingsDialogSteps.getImportButton().should('be.enabled');
|
|
210
208
|
});
|
|
209
|
+
|
|
210
|
+
it('should send the DOCTYPE declarations option with the import settings', () => {
|
|
211
|
+
// Given: The server files tab is loaded and the import requests are intercepted
|
|
212
|
+
ImportServerFilesSteps.interceptServerFilesImport(repositoryId);
|
|
213
|
+
|
|
214
|
+
// When: I open the import dialog for a file,
|
|
215
|
+
ImportServerFilesSteps.importResourceByName('bnodes.ttl');
|
|
216
|
+
ImportSettingsDialogSteps.expandAdvancedSettings();
|
|
217
|
+
// Then: I expect DOCTYPE declarations to be disallowed by default.
|
|
218
|
+
ImportSettingsDialogSteps.getDisallowDoctypeDeclCheckbox().should('be.checked');
|
|
219
|
+
|
|
220
|
+
// When: I allow DOCTYPE declarations and start the import
|
|
221
|
+
ImportSettingsDialogSteps.allowDoctypeDeclarations();
|
|
222
|
+
ImportSettingsDialogSteps.import();
|
|
223
|
+
// Then: I expect DOCTYPE declarations to be allowed in the request.
|
|
224
|
+
ImportServerFilesSteps.waitForServerFilesImportSettings()
|
|
225
|
+
.its('parserSettings.disallowDoctypeDecl').should('equal', false);
|
|
226
|
+
});
|
|
211
227
|
});
|