From 4237ec3b6187f24a51bb3074c963b62e52a17831 Mon Sep 17 00:00:00 2001 From: David Callizaya Date: Mon, 21 Oct 2024 16:48:53 -0400 Subject: [PATCH] Improve selector --- tests/e2e/specs/ClipboardBwCompatibility.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/ClipboardBwCompatibility.spec.js b/tests/e2e/specs/ClipboardBwCompatibility.spec.js index 48addec35..fc979b781 100644 --- a/tests/e2e/specs/ClipboardBwCompatibility.spec.js +++ b/tests/e2e/specs/ClipboardBwCompatibility.spec.js @@ -21,7 +21,7 @@ describe("Clipboard backward compatibility", () => { }); // Go to second page - cy.get('[data-test="page-dropdown"]').click({force: true}); + cy.get('[data-test="page-dropdown"] button').click({force: true}); cy.get('[data-test="page-popup"]').click({force: true}); const elementsAddedFromMainPage = 17;