From a4748df961472468867bd71ca1849ede3760b13e Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Thu, 31 Oct 2024 01:02:01 +0800 Subject: [PATCH] pkp/pkp-lib#9626 Update cypress test related to tooltips --- cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js b/cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js index 43a3b7a6615..597558035cd 100644 --- a/cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js +++ b/cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js @@ -83,9 +83,9 @@ describe('Data suite tests', function() { cy.get('textarea[name="customHeaders-en"]').type('', {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();