From f591654f3c8c4a6c0b89f8f0d4e490499066f06d Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Fri, 1 Nov 2024 02:51:21 +0800 Subject: [PATCH] pkp/pkp-lib#9626 Update cypress test related to tooltip component --- 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 ff8fba89f1..40c18c2dd9 100644 --- a/cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js +++ b/cypress/tests/data/10-ApplicationSetup/20-CreateContext.cy.js @@ -84,9 +84,9 @@ describe('Data suite tests', function() { cy.get('div[id=indexing]').find('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(); // OPS-specific tasks cy.get('button[id="context-button"]').click();