From e30a28c63a9f3c6911587a98101bfb8938ee6610 Mon Sep 17 00:00:00 2001 From: James Chu Date: Fri, 6 Oct 2023 16:30:43 +0800 Subject: [PATCH] refine ZK-5121 test case --- .../test/java/org/zkoss/zktest/zats/test2/B96_ZK_5121Test.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_5121Test.java b/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_5121Test.java index abe3b0655b5..3061c28ee0b 100644 --- a/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_5121Test.java +++ b/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_5121Test.java @@ -24,12 +24,15 @@ public class B96_ZK_5121Test extends WebDriverTestCase { @Test public void test() { connect(); + waitResponse(); click(jq("@button")); + sleep(50); click(jq(".z-searchbox-icon.z-icon-caret-down")); waitResponse(4000); assertFalse(jq(".z-searchbox-popup").is(":visible")); click(jq("@button")); + sleep(50); click(jq(".z-cascader-icon.z-icon-caret-down")); waitResponse(4000); assertFalse(jq(".z-cascader-popup").is(":visible"));