Skip to content

Commit

Permalink
pkp/pkp-lib#9626 Update cypress test related to tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Nov 8, 2024
1 parent 34ade48 commit ff1fc03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ describe('Data suite tests', function() {
cy.get('textarea[name="customHeaders-en"]').type('<meta name="pkp" content="Test metatag.">', {delay: 0});
cy.get('div[id=indexing]').find('button').contains('Save').click();

cy.get('label[for="searchIndexing-searchDescription-control-en"] ~ button.tooltipButton').click();
cy.get('label[for="searchIndexing-searchDescription-control-en"] ~ span.tooltipButton').click();
cy.get('div').contains('Provide a brief description');
cy.get('label[for="searchIndexing-searchDescription-control-en"] ~ button.tooltipButton').click();
cy.get('label[for="searchIndexing-searchDescription-control-en"] ~ span.tooltipButton').click();

// OJS-specific tasks
cy.get('button[id="context-button"]').click();
Expand Down

0 comments on commit ff1fc03

Please sign in to comment.