From 35310dfb08f7110f6238ad35f3441170104a1cac Mon Sep 17 00:00:00 2001 From: Nisha Bagdwal Date: Thu, 18 Jul 2024 10:57:21 -0400 Subject: [PATCH] HPCC-31857 - Scroll web element into view --- esp/src/test-ui/tests/framework/pages/BaseTableTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/src/test-ui/tests/framework/pages/BaseTableTest.java b/esp/src/test-ui/tests/framework/pages/BaseTableTest.java index 158e616a2a9..7f6cd71422b 100644 --- a/esp/src/test-ui/tests/framework/pages/BaseTableTest.java +++ b/esp/src/test-ui/tests/framework/pages/BaseTableTest.java @@ -350,7 +350,7 @@ private String getCurrentSortingOrder(String columnKey) { WebElement columnHeader = Common.driver.findElement(By.xpath("//*[@role='columnheader' and @*[.='" + columnKey + "']]")); // Scroll into view - //((JavascriptExecutor) Common.driver).executeScript("arguments[0].scrollIntoView(true);", columnHeader); + ((JavascriptExecutor) Common.driver).executeScript("arguments[0].scrollIntoView(true);", columnHeader); String oldSortOrder = columnHeader.getAttribute("aria-sort");