From f1caf21a48143c844e206b41eb44e5c5514914cb Mon Sep 17 00:00:00 2001 From: Dima May Date: Thu, 26 Sep 2024 18:05:17 +0000 Subject: [PATCH] #242: fixing tests --- .../skills-int-e2e-test/cypress/e2e/js.specs.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/skills-client-integration/skills-int-e2e-test/cypress/e2e/js.specs.js b/skills-client-integration/skills-int-e2e-test/cypress/e2e/js.specs.js index 1837b5f0..b54c9325 100644 --- a/skills-client-integration/skills-int-e2e-test/cypress/e2e/js.specs.js +++ b/skills-client-integration/skills-int-e2e-test/cypress/e2e/js.specs.js @@ -439,7 +439,6 @@ context("Native JS Tests", () => { // visit client display cy.visit('/native/clientDisplay.html?internalBackButton=true'); - cy.get('[data-cy=skillsDisplayPath]').contains('Skills Display Path: [/]'); // to subject page cy.cdClickSubj(0, 'Subject 0'); @@ -455,13 +454,13 @@ context("Native JS Tests", () => { } if (Utils.skillsServiceVersionLaterThan('1.6.0')) { - it('navigate skills-display programatically', () => { + it('navigate skills-display programmatically', () => { cy.createDefaultTinyProject() cy.backendPost('/api/projects/proj1/skills/Thor', {userId: Cypress.env('proxyUser'), timestamp: Date.now()}) // visit client display cy.visit('/native/clientDisplay.html?internalBackButton=true'); - cy.get('[data-cy=skillsDisplayPath]').contains('Skills Display Path: [/]'); + cy.clientDisplay().find(selectors.myRankButton) // to subject page cy.get('[data-cy=navigateButton]').click();