Skip to content

Commit be08114

Browse files
jongyoulclaude
andcommitted
[ZEPPELIN-6400] Fix flaky PersonalizeActionsIT.testGraphAction Selenium test
Use clickAndWait() instead of clickableWait().click() when clicking the Bar Chart button, so the UI has time to update the active class before assertion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6218c48 commit be08114

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

zeppelin-integration/src/test/java/org/apache/zeppelin/integration/PersonalizeActionsIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ void testGraphAction() throws Exception {
210210
clickAndWait(By.xpath("//div[@class='modal-dialog'][contains(.,'Do you want to personalize your analysis?')" +
211211
"]//div[@class='modal-footer']//button[contains(.,'OK')]"));
212212

213-
clickableWait(By.xpath(getParagraphXPath(1) +
214-
"//button[contains(@uib-tooltip, 'Bar Chart')]"), MAX_BROWSER_TIMEOUT_SEC).click();
213+
clickAndWait(By.xpath(getParagraphXPath(1) +
214+
"//button[contains(@uib-tooltip, 'Bar Chart')]"));
215215
assertEquals("fa fa-bar-chart",
216216
manager.getWebDriver().findElement(By.xpath(getParagraphXPath(1)
217217
+ "//button[contains(@class," +

0 commit comments

Comments
 (0)