Skip to content

Commit

Permalink
pkp/pkp-lib#9626 Update cypress test for clicking tooltip button
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Nov 8, 2024
1 parent eaa4048 commit adf61ed
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 @@ -84,9 +84,9 @@ describe('Data suite tests', function() {
cy.get('#indexing button').contains('Save').click();
cy.get('#indexing [role="status"]').contains('Saved');

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();
});

it('Tests context settings form', function() {
Expand Down

0 comments on commit adf61ed

Please sign in to comment.