Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 12.9
-
Fix Version/s: None
-
Component/s: Development Issues only
-
Labels:
-
Difficulty:Unknown
-
Similar issues:
-
Flickering Test:org.xwiki.test.ui.extension.ExtensionIT#testSimpleSearch
Description
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertTrue(Assert.java:53) at org.xwiki.test.ui.extension.ExtensionIT.testSimpleSearch(ExtensionIT.java:216)
I don't understand why this test has failed:
- the screenshot shows that there are search results
- the "extension-item" class name is part of the HTML returned from the server (as proven by the HTML logged when the test failed) so findElementsWithoutWaiting should see it right way
- SimpleSearchPane#search() is waiting for the page to reload after typing the test and pressing Enter