From e104128df8cba861697d33eb8e5b202567b2c303 Mon Sep 17 00:00:00 2001 From: RoyUP9 <87927115+RoyUP9@users.noreply.github.com> Date: Thu, 14 Apr 2022 15:01:15 +0300 Subject: [PATCH] Fix for acceptance tests (#1006) --- acceptanceTests/cypress/integration/tests/UiTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptanceTests/cypress/integration/tests/UiTest.js b/acceptanceTests/cypress/integration/tests/UiTest.js index 88f21c3ad..2e538ac18 100644 --- a/acceptanceTests/cypress/integration/tests/UiTest.js +++ b/acceptanceTests/cypress/integration/tests/UiTest.js @@ -248,7 +248,7 @@ function deeperCheck(leftSidePath, rightSidePath, filterName, leftSideExpectedTe const entryId = getEntryId(element[0].id); leftOnHoverCheck(entryId, leftSidePath, filterName); - element.click(); + cy.get(`#list #entry-${entryId}`).click(); rightTextCheck(rightSidePath, rightSideExpectedText); rightOnHoverCheck(rightSidePath, filterName); }