Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
11.10
-
Unknown
-
-
org.xwiki.appwithinminutes.test.ui.AllITs$NestedAppsLiveTableIT#deleteApplication|testEditApplication
Description
The three tests from AppsLiveTableIT are failing on OracleDB (also observed on MySQL 5.7, Tomcat 9, Java 8) quite often:
- AppsLiveTableIT#deleteApplication
- AppsLiveTableIT#testEditApplication
For each tests, according to the video, the reason of the failure is during the setup when creating the application. We can clearly see the following error message when saving the application:
Failed to save the page. Reason: Server not responding.
Here's the stack trace for each test:
AppsLiveTableIT#deleteApplication
org.opentest4j.AssertionFailedError: expected: <true> but was: <false> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35) at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:162) at org.xwiki.appwithinminutes.test.ui.AppsLiveTableIT.deleteApplication(AppsLiveTableIT.java:102)
AppsLiveTableIT#testEditApplication
org.openqa.selenium.NoSuchElementException: Unable to locate element: //tr[td[contains(@class, 'doc_title') and . = 'testEditApplication']]/td[@class = 'actions']//a[contains(@class, 'actionedit')] For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: '9ccde90e73ca', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-6-amd64', java.version: '1.8.0_232' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 70.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20191016161957, moz:geckodriverVersion: 0.26.0, moz:headless: false, moz:processID: 98, moz:profile: /tmp/rust_mozprofile6PWdmG, moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.19.0-6-amd64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webdriver.remote.sessionid: fb51d9f6-d761-420f-bc7d-a9b...} Session ID: fb51d9f6-d761-420f-bc7d-a9b1e7feefa0 *** Element info: {Using=xpath, value=//tr[td[contains(@class, 'doc_title') and . = 'testEditApplication']]/td[@class = 'actions']//a[contains(@class, 'actionedit')]} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285) at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:185) at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:261) at org.openqa.selenium.By$ByXPath.findElement(By.java:353) at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:181) at org.xwiki.appwithinminutes.test.po.ApplicationsLiveTableElement.clickAction(ApplicationsLiveTableElement.java:123) at org.xwiki.appwithinminutes.test.po.ApplicationsLiveTableElement.clickEditApplication(ApplicationsLiveTableElement.java:97) at org.xwiki.appwithinminutes.test.ui.AppsLiveTableIT.testEditApplication(AppsLiveTableIT.java:129)
Attachments
Issue Links
- relates to
-
XWIKI-18485 AppsLiveTableIT#testActionsRights is failing
- Closed