graphdb-workbench-tests 3.4.1-TR1 → 3.5.0-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.
@@ -171,7 +171,7 @@ describe('URL with Repository ID parameter', () => {
171
171
  // Given I am on the 404 page which is in the new workbench
172
172
  ErrorPageSteps.visit404();
173
173
  ErrorPageSteps.get404Page().should('be.visible');
174
- cy.url().should('not.include', 'repositoryId=');
174
+ cy.url().should('include', `repositoryId=${repositoryId}`);
175
175
  // When I navigate to some legacy page
176
176
  MainMenuSteps.clickOnSparqlMenu();
177
177
  // Then repositoryId parameter should be preserved in the URL
@@ -26,6 +26,7 @@ describe('Execute query', () => {
26
26
  cy.intercept('POST', `/repositories/${repositoryId}`).as('query');
27
27
  YasqeSteps.executeQuery();
28
28
  cy.wait('@query').then((interception) => {
29
+ expect(interception.request.method).to.equal('POST');
29
30
  const headers = interception.request.headers;
30
31
  expect(headers).to.have.property('x-graphdb-local-consistency');
31
32
  expect(headers).to.have.property('x-graphdb-repository-location');
@@ -35,6 +36,7 @@ describe('Execute query', () => {
35
36
  YasguiSteps.getTabs().should('have.length', 2);
36
37
  YasqeSteps.executeQuery();
37
38
  cy.wait('@query').then((interception) => {
39
+ expect(interception.request.method).to.equal('POST');
38
40
  const headers = interception.request.headers;
39
41
  expect(headers).to.have.property('x-graphdb-local-consistency');
40
42
  expect(headers).to.have.property('x-graphdb-repository-location');
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.4.1-TR1",
3
+ "version": "3.5.0-TR1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "graphdb-workbench-tests",
9
- "version": "3.4.1-TR1",
9
+ "version": "3.5.0-TR1",
10
10
  "license": "Apache-2.0",
11
11
  "devDependencies": {
12
12
  "@bahmutov/cypress-code-coverage": "^2.7.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.4.1-TR1",
3
+ "version": "3.5.0-TR1",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "type": "module",
6
6
  "scripts": {