graphdb-workbench-tests 3.4.1-RC1 → 3.4.1-RC3

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.
@@ -13,7 +13,8 @@ const PASSWORD = 'root';
13
13
  const ENABLED = true;
14
14
  const DISABLED = false;
15
15
 
16
- describe('TTYG permissions', () => {
16
+ // FIXME: There is a problem with the loader not hiding. Problem is reproducable on GDB build on branch 11.4 (commit 0ebd95d6) with 3.4.1-RC1
17
+ describe.skip('TTYG permissions', () => {
17
18
 
18
19
  before(() => {
19
20
  cy.loginAsAdmin();
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "graphdb-workbench-tests",
3
- "version": "3.4.1-RC1",
3
+ "version": "3.4.1-RC3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "graphdb-workbench-tests",
9
- "version": "3.4.1-RC1",
9
+ "version": "3.4.1-RC3",
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-RC1",
3
+ "version": "3.4.1-RC3",
4
4
  "description": "Cypress tests for GraphDB workbench",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -0,0 +1,13 @@
1
+ export class DeprecationSteps {
2
+ static getDeprecationBanner() {
3
+ return cy.get('onto-deprecation-banner');
4
+ }
5
+
6
+ static getCloseButton() {
7
+ return DeprecationSteps.getDeprecationBanner().find('.close-button');
8
+ }
9
+
10
+ static closeBanner() {
11
+ DeprecationSteps.getCloseButton().click();
12
+ }
13
+ }
@@ -1,8 +1,10 @@
1
1
  import {BaseSteps} from "../base-steps";
2
+ import {DeprecationSteps} from '../deprecation-banner/deprecation-banner-steps.js';
2
3
 
3
4
  export class TTYGViewSteps extends BaseSteps {
4
5
  static visit() {
5
6
  cy.visit('/ttyg');
7
+ DeprecationSteps.closeBanner();
6
8
  }
7
9
 
8
10
  static getTtygView() {
@@ -243,6 +245,7 @@ export class TTYGViewSteps extends BaseSteps {
243
245
  }
244
246
 
245
247
  static getOpenAgentActionsButton(index) {
248
+ this.getAgent(index).scrollIntoView();
246
249
  return this.getAgent(index).realHover().find('.open-agent-actions-btn');
247
250
  }
248
251