-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b123b8
commit d297d3e
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
zktest/src/test/java/org/zkoss/zktest/zats/test2/B50_ZK_676Test.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* B50_ZK_676Test.java | ||
Purpose: | ||
Description: | ||
History: | ||
11:35 AM 2024/8/28, Created by jumperchen | ||
Copyright (C) 2024 Potix Corporation. All Rights Reserved. | ||
*/ | ||
package org.zkoss.zktest.zats.test2; | ||
|
||
import static org.junit.jupiter.api.Assertions.assertEquals; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import org.zkoss.test.webdriver.WebDriverTestCase; | ||
|
||
/** | ||
* @author jumperchen | ||
*/ | ||
public class B50_ZK_676Test extends WebDriverTestCase { | ||
@Test | ||
public void test() { | ||
connect(); | ||
assertEquals(6, jq(".z-div").length()); | ||
assertEquals("abc\"><script></script><!--", jq(".z-div:eq(3)").attr("title")); | ||
assertEquals("abc\"><script></script><!--", jq(".z-div:eq(4)").attr("title")); | ||
assertEquals("abc\"><script></script><!--", jq(".z-div:eq(5)").attr("title")); | ||
} | ||
} |