graphdb-workbench-tests 3.0.0 → 3.0.1-RC2

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.
@@ -1046,7 +1046,7 @@
1046
1046
  "messages": {
1047
1047
  "loading_graphql_shapes": "Loading GraphQL schema shapes...",
1048
1048
  "no_schemas": "No GraphQL schema shapes were found in the selected repository. You can browse other repositories or change the source.",
1049
- "endpoint_per_shape": "Each GraphQL schema shape results in one endpoint"
1049
+ "endpoint_per_shape": "Each GraphQL schema shape results in one endpoint."
1050
1050
  }
1051
1051
  },
1052
1052
  "shacl_shapes": {
@@ -1166,7 +1166,7 @@
1166
1166
  "overview": {
1167
1167
  "title": "Overview",
1168
1168
  "for_shapes": {
1169
- "info": "GraphDB will attempt to create {{endpointsCount}} GraphQL endpoints in the \"{{activeRepoId}}\" based on the selected resources. To modify the selection, go back to Step 1 (Select schema source).",
1169
+ "info": "GraphDB will attempt to create {{endpointsCount}} GraphQL endpoints in the \"{{activeRepoId}}\" repository based on the selected resources. To modify the selection, go back to Step 1 (Select schema source).",
1170
1170
  "included_endpoints": "Included GraphQL schema shapes",
1171
1171
  "generated_endpoints": "GraphQL endpoints",
1172
1172
  "explore_in_playground_link_tooltip": "Explore in Playground (opens in a new tab)",
@@ -217,7 +217,12 @@ describe('Graphs config', () => {
217
217
  VisualGraphSteps.getGraphConfigSearchPanelName().should('contain', graphConfigName);
218
218
  });
219
219
 
220
- it('Should create graph config with fixed node', () => {
220
+ it('Should create graph config with fixed node', {
221
+ retries: {
222
+ runMode: 1,
223
+ openMode: 0
224
+ }
225
+ }, () => {
221
226
  cy.enableAutocomplete(repositoryId);
222
227
  // Given I have started a create config wizard
223
228
  startCreateConfigWizard();
@@ -54,7 +54,12 @@ describe('Visual graph screen validation', () => {
54
54
  ApplicationSteps.getErrorNotifications().should('be.visible').and('contain', 'Invalid IRI');
55
55
  });
56
56
 
57
- it('Test search for a valid resource', () => {
57
+ it('Test search for a valid resource', {
58
+ retries: {
59
+ openMode: 0,
60
+ runMode: 1
61
+ }
62
+ }, () => {
58
63
  AutocompleteStubs.spyAutocompleteStatus();
59
64
  VisualGraphSteps.visit();
60
65
  // Verify autocomplete is ON, because sometimes in CI it is OFF and fails when searching for Resource
@@ -142,7 +147,12 @@ describe('Visual graph screen validation', () => {
142
147
  });
143
148
  });
144
149
 
145
- it('Test search for a valid resource with links', () => {
150
+ it('Test search for a valid resource with links', {
151
+ retries: {
152
+ runMode: 1,
153
+ openMode: 0
154
+ }
155
+ }, () => {
146
156
  VisualGraphSteps.openUSRegionUri();
147
157
  // Check include inferred
148
158
  VisualGraphSteps.toggleInferredStatements(true);
@@ -106,7 +106,7 @@ describe('Graphql: edit endpoint settings', () => {
106
106
  "includeInferred": true,
107
107
  "expandOwlSameAs": true,
108
108
  "enableMutations": null,
109
- "defaultRole": "defaultRole",
109
+ "defaultRole": "Default",
110
110
  "enableGraphQLExplain": true,
111
111
  "exposeSomlInGraphQL": false,
112
112
  "disabledChecks": null,
@@ -39,7 +39,12 @@ describe('Cookie policy', () => {
39
39
  HomeSteps.getCookieConsentPopup().should('not.exist');
40
40
  });
41
41
 
42
- it('Should NOT show cookie policy to user when tracking is not applicable', () => {
42
+ it('Should NOT show cookie policy to user when tracking is not applicable', {
43
+ retries: {
44
+ runMode: 1,
45
+ openMode: 0
46
+ }
47
+ }, () => {
43
48
  SettingsSteps.visit();
44
49
  SettingsSteps.getCookiePolicyButton().should('not.exist');
45
50
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-RC2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "graphdb-workbench-tests",
9
- "version": "3.0.0",
9
+ "version": "3.0.1-RC2",
10
10
  "license": "Apache-2.0",
11
11
  "devDependencies": {
12
12
  "cypress": "^14.0.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-RC2",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "scripts": {
6
6
  "prepack": "npm shrinkwrap",
@@ -13,7 +13,7 @@ Cypress.Commands.add('uploadGraphqlSchema', (repositoryId, schemaPath, schemaId
13
13
  url: `${REPOSITORIES_URL}${repositoryId}/graphql/manage/endpoints/import`,
14
14
  headers: {'Content-type': 'text/yaml'},
15
15
  body: schema
16
- }).should((response) => expect(response.status).to.equal(200));
16
+ }).should((response) => expect(response.status).to.equal(201));
17
17
  waitForGraphqlSchema(repositoryId, schemaId);
18
18
  });
19
19
  });