graphdb-workbench-tests 3.1.0-TR2 → 3.1.0-TR3

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.
@@ -14,7 +14,6 @@ describe('RDF resource search', () => {
14
14
  cy.createRepository({id: repositoryId});
15
15
  cy.initializeRepository(repositoryId);
16
16
  cy.enableAutocomplete(repositoryId);
17
- BrowserStubs.stubCryptoUUID();
18
17
  });
19
18
 
20
19
  afterEach(() => {
@@ -46,7 +46,7 @@ describe('Share saved queries', () => {
46
46
  });
47
47
 
48
48
  // FIX: Skipped because the functionality is not working. There is a bug in the application https://graphwise.atlassian.net/browse/GDB-12633
49
- it.skip('Should be able to open a share link in a new editor tab', () => {
49
+ it('Should be able to open a share link in a new editor tab', () => {
50
50
  // Given I have created a query
51
51
  YasguiSteps.getTabs().should('have.length', 1);
52
52
  const savedQueryName = SavedQuery.generateQueryName();
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.1.0-TR2",
3
+ "version": "3.1.0-TR3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "graphdb-workbench-tests",
9
- "version": "3.1.0-TR2",
9
+ "version": "3.1.0-TR3",
10
10
  "license": "Apache-2.0",
11
11
  "devDependencies": {
12
12
  "cypress": "^14.5.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.1.0-TR2",
3
+ "version": "3.1.0-TR3",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "scripts": {
6
6
  "prepack": "npm shrinkwrap",
@@ -18,14 +18,4 @@ export class BrowserStubs {
18
18
  cy.spy(win.singleSpa, 'navigateToUrl').as(BrowserStubs.NAVIGATE_TO_URL_ALIAS(true))
19
19
  })
20
20
  }
21
-
22
- /**
23
- * Stubs `window.crypto.randomUUID` to return a specified UUID, because in headless mode the window cripto not exist.
24
- * @param uuid The UUID string to return each time `crypto.randomUUID()` is called.
25
- */
26
- static stubCryptoUUID(uuid = '999e8888-e77b-66d3-a456-426655440999') {
27
- cy.on('window:before:load', (win) => {
28
- win.crypto.randomUUID = () => uuid;
29
- });
30
- }
31
21
  }