graphdb-workbench-tests 2.4.0-TR10 → 2.4.0-TR12
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/fixtures/locale-en.json
CHANGED
|
@@ -231,6 +231,7 @@
|
|
|
231
231
|
"closes.config.no.save": "Closes the configuration without saving the changes.",
|
|
232
232
|
"refresh.to.retry": "Refresh the page to retry.",
|
|
233
233
|
"temp.pause": "Temporarily pauses query monitoring so you can copy text",
|
|
234
|
+
"temp.pause.backup_and_restore": "Temporarily pauses backup and restore monitoring so you can copy text",
|
|
234
235
|
"paused.btn": "Paused",
|
|
235
236
|
"pause.btn": "Pause",
|
|
236
237
|
"node.label": "node",
|
|
@@ -67,7 +67,7 @@ describe('Operations Status Component', () => {
|
|
|
67
67
|
OperationsStatusesComponentSteps.openOperationStatusesDialog();
|
|
68
68
|
// When I click on "Running imports" operation element.
|
|
69
69
|
// Then I expect to be redirected to "Query and Update monitoring" view.
|
|
70
|
-
OperationsStatusesComponentSteps.checkOperationElementUrl('
|
|
70
|
+
OperationsStatusesComponentSteps.checkOperationElementUrl('import', 2);
|
|
71
71
|
// Then I expect "Global Operations Component" to still be displayed.
|
|
72
72
|
OperationsStatusesComponentSteps.getOperationsStatusesComponent().should('exist');
|
|
73
73
|
});
|
|
@@ -109,12 +109,11 @@ describe('Main menu tests', function () {
|
|
|
109
109
|
visible: false,
|
|
110
110
|
redirect: '/cluster'
|
|
111
111
|
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
// },
|
|
112
|
+
{
|
|
113
|
+
name: 'Plugins',
|
|
114
|
+
visible: false,
|
|
115
|
+
redirect: '/plugins'
|
|
116
|
+
},
|
|
118
117
|
{
|
|
119
118
|
name: 'Namespaces',
|
|
120
119
|
visible: false,
|
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@ export class OperationsStatusesComponentSteps {
|
|
|
15
15
|
static checkOperationElementUrl(expectedUrl, operationIndex = 0) {
|
|
16
16
|
OperationsStatusesComponentSteps.getOperationStatuses().eq(operationIndex).then(($operationElement) => {
|
|
17
17
|
expect($operationElement).to.have.attr('target', '_blank');
|
|
18
|
+
expect($operationElement).to.have.attr('href', expectedUrl);
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -21,7 +21,12 @@ Cypress.Commands.add('createRepository', (options = {}) => {
|
|
|
21
21
|
Cypress.Commands.add('deleteRepository', (id) => {
|
|
22
22
|
// Note: Going through /rest/repositories because it would not fail if the repo is missing
|
|
23
23
|
const url = REPOSITORIES_URL + id;
|
|
24
|
-
cy.request(
|
|
24
|
+
cy.request({
|
|
25
|
+
method: 'DELETE',
|
|
26
|
+
url: url,
|
|
27
|
+
// Prevent Cypress from failing the test on non-2xx status codes
|
|
28
|
+
failOnStatusCode: false
|
|
29
|
+
})
|
|
25
30
|
.then((response) => {
|
|
26
31
|
cy.waitUntil(() => response && response.status === 200);
|
|
27
32
|
});
|