graphdb-workbench-tests 2.4.0 → 2.4.1-TR1
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/integration/setup/aclmanagement/create-rule.spec.js +1 -0
- package/integration/setup/aclmanagement/delete-rule.spec.js +1 -0
- package/integration/setup/aclmanagement/edit-rule.spec.js +4 -2
- package/integration/setup/aclmanagement/revert-rules.spec.js +1 -0
- package/integration/setup/aclmanagement/update-rules.spec.js +1 -0
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ describe('ACL Management: create rule', () => {
|
|
|
16
16
|
cy.createRepository({id: repositoryId});
|
|
17
17
|
cy.presetRepository(repositoryId);
|
|
18
18
|
cy.initializeRepository(repositoryId);
|
|
19
|
+
cy.enableAutocomplete(repositoryId);
|
|
19
20
|
AclManagementSteps.importRules(repositoryId);
|
|
20
21
|
AclManagementSteps.visit();
|
|
21
22
|
// ensure rules are rendered
|
|
@@ -15,6 +15,7 @@ describe('ACL Management: delete rule', () => {
|
|
|
15
15
|
cy.createRepository({id: repositoryId});
|
|
16
16
|
cy.presetRepository(repositoryId);
|
|
17
17
|
cy.initializeRepository(repositoryId);
|
|
18
|
+
cy.enableAutocomplete(repositoryId);
|
|
18
19
|
AclManagementSteps.importRules(repositoryId);
|
|
19
20
|
AclManagementSteps.visit();
|
|
20
21
|
// ensure rules are rendered
|
|
@@ -14,6 +14,7 @@ describe('ACL Management: edit rule', () => {
|
|
|
14
14
|
cy.createRepository({id: repositoryId});
|
|
15
15
|
cy.presetRepository(repositoryId);
|
|
16
16
|
cy.initializeRepository(repositoryId);
|
|
17
|
+
cy.enableAutocomplete(repositoryId);
|
|
17
18
|
AclManagementSteps.importRules(repositoryId);
|
|
18
19
|
AclManagementSteps.visit();
|
|
19
20
|
// ensure rules are rendered
|
|
@@ -61,7 +62,8 @@ describe('ACL Management: edit rule', () => {
|
|
|
61
62
|
// When I edit the rule again
|
|
62
63
|
AclManagementSteps.editRule(2);
|
|
63
64
|
AclManagementSteps.fillSubject(2, '<urn:Me>');
|
|
64
|
-
|
|
65
|
+
// this will be autocompleted to "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>"
|
|
66
|
+
AclManagementSteps.fillPredicate(2, 'rdf:');
|
|
65
67
|
AclManagementSteps.fillObject(2, '*');
|
|
66
68
|
AclManagementSteps.fillContext(2, '*');
|
|
67
69
|
AclManagementSteps.fillRole(2, 'TEST');
|
|
@@ -71,7 +73,7 @@ describe('ACL Management: edit rule', () => {
|
|
|
71
73
|
// Then I expect the rule to be saved with the new data
|
|
72
74
|
const editedRule = {
|
|
73
75
|
subject: '<urn:Me>',
|
|
74
|
-
predicate: 'rdf
|
|
76
|
+
predicate: '<http://www.w3.org/1999/02/22-rdf-syntax-ns#>',
|
|
75
77
|
object: '*',
|
|
76
78
|
context: '*',
|
|
77
79
|
role: 'TEST',
|
|
@@ -15,6 +15,7 @@ describe('ACL Management: revert rules', () => {
|
|
|
15
15
|
cy.createRepository({id: repositoryId});
|
|
16
16
|
cy.presetRepository(repositoryId);
|
|
17
17
|
cy.initializeRepository(repositoryId);
|
|
18
|
+
cy.enableAutocomplete(repositoryId);
|
|
18
19
|
AclManagementSteps.importRules(repositoryId);
|
|
19
20
|
AclManagementSteps.visit();
|
|
20
21
|
// ensure rules are rendered
|
|
@@ -15,6 +15,7 @@ describe('ACL Management: update rules', () => {
|
|
|
15
15
|
cy.createRepository({id: repositoryId});
|
|
16
16
|
cy.presetRepository(repositoryId);
|
|
17
17
|
cy.initializeRepository(repositoryId);
|
|
18
|
+
cy.enableAutocomplete(repositoryId);
|
|
18
19
|
AclManagementSteps.importRules(repositoryId);
|
|
19
20
|
AclManagementSteps.visit();
|
|
20
21
|
// ensure rules are rendered
|