Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3350

URLs with whitespace characters cause non-Ajax navigation to fail on Liferay Portal 7.0+ on WebLogic

    Details

      Description

      Steps to reproduce:

      1. Deploy the jsf-issues portlet and test-setup-hook to Liferay 7.0+ on WebLogic.
      2. Run the FACES-2958 tester:
         (cd test/integration/ && mvn verify -P selenium -Dit.test=*FACES_2958*)
        

      If the bug still exists, the test will fail with the following message:

      18:13:23,678 ERROR [FACES_2958PortletTester:119] Error: "commandLinkNonAjax.xhtml" link test:
      org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for visibility of element located by By.xpath: //div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
              at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitFor(BrowserDriverImpl.java:471)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitForElementDisplayed(BrowserDriverImpl.java:478)
              at com.liferay.faces.bridge.test.integration.issue.SimpleFACESPortletTester.runSimpleFACESPortletTest(SimpleFACESPortletTester.java:94)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.getFACES_2958PortletTestResults(FACES_2958PortletTester.java:163)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.runFACES_2958PortletTest(FACES_2958PortletTester.java:94)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']"}
        (Session info: headless chrome=68.0.3440.106)
        (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.4.0-133-generic x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 10 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
      *** Element info: {Using=xpath, value=//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']}
              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.ErrorHandler.createThrowable(ErrorHandler.java:206)
              at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
              at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500)
              at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
              at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899)
              at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
              ... 32 more
      18:13:23,682 ERROR [FACES_2958PortletTester:119] Error: "commandLinkNonAjax.xhtml via Ajax" link test:
      org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for visibility of element located by By.xpath: //div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
              at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitFor(BrowserDriverImpl.java:471)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitForElementDisplayed(BrowserDriverImpl.java:478)
              at com.liferay.faces.bridge.test.integration.issue.SimpleFACESPortletTester.runSimpleFACESPortletTest(SimpleFACESPortletTester.java:94)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.getFACES_2958PortletTestResults(FACES_2958PortletTester.java:163)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.runFACES_2958PortletTest(FACES_2958PortletTester.java:94)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']"}
        (Session info: headless chrome=68.0.3440.106)
        (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.4.0-133-generic x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 12 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
      *** Element info: {Using=xpath, value=//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']}
              at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
              at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
              at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500)
              at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
              at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899)
              at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
              ... 32 more
      18:13:23,684 ERROR [FACES_2958PortletTester:119] Error: "commandLinkNonAjax.xhtml friendlyURL" link test:
      org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for visibility of element located by By.xpath: //div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
              at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitFor(BrowserDriverImpl.java:471)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitForElementDisplayed(BrowserDriverImpl.java:478)
              at com.liferay.faces.bridge.test.integration.issue.SimpleFACESPortletTester.runSimpleFACESPortletTest(SimpleFACESPortletTester.java:94)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.getFACES_2958PortletTestResults(FACES_2958PortletTester.java:163)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.runFACES_2958PortletTest(FACES_2958PortletTester.java:95)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']"}
        (Session info: headless chrome=68.0.3440.106)
        (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.4.0-133-generic x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 13 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
      *** Element info: {Using=xpath, value=//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']}
              at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
              at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
              at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500)
              at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
              at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899)
              at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
              ... 32 more
      18:13:23,686 ERROR [FACES_2958PortletTester:119] Error: "commandLinkNonAjax.xhtml via Ajax friendlyURL" link test:
      org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for visibility of element located by By.xpath: //div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
              at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitFor(BrowserDriverImpl.java:471)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitForElementDisplayed(BrowserDriverImpl.java:478)
              at com.liferay.faces.bridge.test.integration.issue.SimpleFACESPortletTester.runSimpleFACESPortletTest(SimpleFACESPortletTester.java:94)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.getFACES_2958PortletTestResults(FACES_2958PortletTester.java:163)
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.runFACES_2958PortletTest(FACES_2958PortletTester.java:95)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']"}
        (Session info: headless chrome=68.0.3440.106)
        (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.4.0-133-generic x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 11 milliseconds
      For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-133-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.ttriZ0}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=68.0.3440.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 47db7f1302accb18998d4dc9add969b2
      *** Element info: {Using=xpath, value=//div[contains(@class,'liferay-faces-bridge-body')]//*[@id='FACES-2958-result-status']}
              at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
              at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
              at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500)
              at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
              at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
              at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899)
              at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
              at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
              at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
              ... 32 more
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 47.099 sec <<< FAILURE! - in com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester
      runFACES_2958PortletTest(com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester)  Time elapsed: 46.968 sec  <<< ERROR!
      java.lang.RuntimeException:
      
      The following test links threw an error: "commandLinkNonAjax.xhtml", "commandLinkNonAjax.xhtml via Ajax", "commandLinkNonAjax.xhtml friendlyURL", "commandLinkNonAjax.xhtml via Ajax friendlyURL"
              at com.liferay.faces.bridge.test.integration.issue.FACES_2958PortletTester.runFACES_2958PortletTest(FACES_2958PortletTester.java:123)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      
      
      Results :
      
      Tests in error:
        FACES_2958PortletTester.runFACES_2958PortletTest:123 Runtime
      The following te...
      
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      

      If the bug is fixed, the test will pass.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kyle.stiemann Kyle Stiemann
                Reporter:
                kyle.stiemann Kyle Stiemann
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: