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

Alloy Showcase test Output Link General fails intermittently on Chrome

    Details

      Description

      The Output Link General test fails intermittently on Chrome when run against the Alloy Showcase.

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.19 sec <<< FAILURE! - in com.liferay.faces.test.showcase.outputlink.OutputLinkGeneralTester
      runOutputLinkGeneralTest(com.liferay.faces.test.showcase.outputlink.OutputLinkGeneralTester)  Time elapsed: 1.19 sec  <<< FAILURE!
      java.lang.AssertionError: Clicking the link did not cause the browser to open a new tab/window. expected:<2> but was:<1>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:645)
      	at com.liferay.faces.test.showcase.TesterBase.testLink(TesterBase.java:196)
      	at com.liferay.faces.test.showcase.outputlink.OutputLinkGeneralTester.runOutputLinkGeneralTest(OutputLinkGeneralTester.java:37)

      when this command is run,

      mvn verify -P selenium,chrome '-Dit.test=%regex[.*(Button|Link|Image)General.*]' 

      sometimes get this error:

      Results :
      
      Failed tests: 
        OutputLinkGeneralTester.runOutputLinkGeneralTest:37->TesterBase.testLink:196 Clicking the link did not cause the browser to open a new tab/window. expected:<2> but was:<1>
      
      Tests run: 10, Failures: 1, Errors: 0, Skipped: 4

        Attachments

          Activity

            People

            • 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.1
                showcase-4.0.0