Skip to content

Commit

Permalink
#242: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-may committed Sep 26, 2024
1 parent 15d9d98 commit f1caf21
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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();
Expand Down

0 comments on commit f1caf21

Please sign in to comment.