Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22959

InplaceEditIT.macroPlaceholder is flickering

    XMLWordPrintable

Details

    • Unknown
    • org.xwiki.edit.test.ui.AllIT$NestedInplaceEditIT#macroPlaceholder(TestUtils, TestReference)

    Description

      Screenshot

      Error Message

      expected: <a first line
      No pages found
      macro:id> but was: <a first line
      Loading ...
      macro:id>
      

      Stacktrace

      org.opentest4j.AssertionFailedError: 
      expected: <a first line
      No pages found
      macro:id> but was: <a first line
      Loading ...
      macro:id>
      	at org.xwiki.edit.test.ui.InplaceEditIT.macroPlaceholder(InplaceEditIT.java:346)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	Suppressed: org.openqa.selenium.InvalidArgumentException: invalid argument: Unexpected dialog type beforeunload
        (Session info: chrome=134.0.6998.35)
      Build info: version: '4.26.0', revision: '8ccf0219d7'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.0-33-cloud-amd64', java.version: '17.0.14'
      Driver info: org.openqa.selenium.remote.RemoteWebDriver
      Command: [a7660453f62b4072b7ec7665f2e2735c, findElement {value=html, using=tag name}]
      Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 134.0.6998.35, chrome: {chromedriverVersion: 134.0.6998.35 (ea6ef4c2ac15..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46637}, goog:loggingPrefs: {browser: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://172.18.0.4:4444/sessio..., se:cdpVersion: 134.0.6998.35, se:containerName: a1e053b82cdd, se:gridWebSocketUrl: ws://localhost:28370/sessio..., se:noVncPort: 7900, se:vnc: ws://172.18.0.4:4444/sessio..., se:vncEnabled: true, se:vncLocalAddress: ws://172.18.0.4:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: ignore, webSocketUrl: ws://172.18.0.4:4444/sessio..., webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
      Session ID: a7660453f62b4072b7ec7665f2e2735c
      		at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
      		at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
      		at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167)
      		at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138)
      		at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50)
      		at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:190)
      		at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:53)
      		at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
      		at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
      		at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
      		at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:368)
      		at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:362)
      		at org.xwiki.test.ui.XWikiWebDriver.findElement(XWikiWebDriver.java:714)
      		at org.xwiki.test.ui.XWikiWebDriver.lambda$waitUntilElementHasAttributeValue$3(XWikiWebDriver.java:485)
      		at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:203)
      		at org.xwiki.test.ui.XWikiWebDriver.waitUntilCondition(XWikiWebDriver.java:228)
      		at org.xwiki.test.ui.XWikiWebDriver.waitUntilElementHasAttributeValue(XWikiWebDriver.java:483)
      		at org.xwiki.test.ui.po.BaseElement.waitUntilPageIsReady(BaseElement.java:140)
      		at org.xwiki.test.ui.po.BasePage.<init>(BasePage.java:126)
      		at org.xwiki.test.ui.po.ViewPage.<init>(ViewPage.java:42)
      		at org.xwiki.test.ui.TestUtils.gotoPage(TestUtils.java:721)
      		at org.xwiki.edit.test.ui.InplaceEditIT.afterEach(InplaceEditIT.java:73)
      		... 4 more
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: