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

JSF Showcase tests fail in other locales

    Details

      Description

      The JSF showcase fails in CI due to our CI server being in a different locale. The following tests fail:

      com.liferay.faces.test.selenium.browser.internal.BrowserStateAsserterImpl$1: org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for all conditions to be valid: text ('Apr 5, 0033') to be present in element found by By.xpath: (//span[contains(@id,':modelValue')])[1]visibility of element located by By.xpath: (//span[contains(@id,':modelValue')])[1]
      	at com.liferay.faces.test.selenium.browser.internal.BrowserStateAsserterImpl.createAssertionErrorWithoutExtraInfo(BrowserStateAsserterImpl.java:43)
      	at com.liferay.faces.test.selenium.browser.internal.BrowserStateAsserterImpl.assertTrue(BrowserStateAsserterImpl.java:172)
      	at com.liferay.faces.test.selenium.browser.internal.BrowserStateAsserterImpl.assertTextPresentInElement(BrowserStateAsserterImpl.java:147)
      	at com.liferay.faces.test.selenium.browser.internal.BrowserStateAsserterImpl.assertTextPresentInElement(BrowserStateAsserterImpl.java:137)
      	at com.liferay.faces.test.showcase.inputhidden.InputHiddenConversionTester.runInputHiddenConversionTest(InputHiddenConversionTester.java:41)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      (35 more lines...)
      
      java.lang.AssertionError: The url does not contain google.com instead it is https://www.google.ch/search?q=liferay+faces&gws_rd=cr&ei=OvtHWdDgBYHda5ydtoAI.
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at com.liferay.faces.test.showcase.TesterBase.testLink(TesterBase.java:255)
      	at com.liferay.faces.test.showcase.outputlink.OutputLinkGeneralTester.runOutputLinkGeneralTest(OutputLinkGeneralTester.java:47)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      (23 more lines...)
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                showcase-2.0.1
                showcase-3.0.2