From 592378ca863f400b92dcbcb3dac1d4be67be9562 Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Fri, 1 Nov 2024 02:27:21 +0800 Subject: [PATCH] pkp/pkp-lib#9626 Update cypress test for clicking tooltip button --- 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 9c3e009c44f..5d3ca20746d 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('#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() {