Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-6519

Test fix in Commerce Channels and Commerce Products

    Description

    These tests are failing in setup when trying to navigate to the Search portlet. Most tests in the subtask have been tested manually and pass. It is suspected it could be due to not having property test.name.skip.portal.instance within these tests.

    Testray

    Jenkins

    Poshi

    [exec]     BUILD FAILED: Element is not present at "//div[contains(@role,'tabpanel') and contains(@class,'active')]//div[contains(@class,'applications-menu-nav-columns')]//li[contains(.,'Configuration')]/following-sibling::li//span[normalize-space(text())='Search']"
         [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/macros/applicationsmenunavigation/ApplicationsMenuHelper.macro[gotoPortlet]:16
         [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/macros/applicationsmenunavigation/ApplicationsMenu.macro[gotoPortlet]:28
         [exec]     /opt/dev/projects/github/liferay-portal/modules/apps/commerce/commerce-product-test/src/testFunctional/tests/CPCommerceChannels.testcase[set-up]:13
         [exec] 
         [exec] 
         [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.CPCommerceChannels#AddShippingOptionVariableRate] STANDARD_ERROR
         [exec]     com.liferay.poshi.runner.exception.ElementNotFoundPoshiRunnerException: Element is not present at "//div[contains(@role,'tabpanel') and contains(@class,'active')]//div[contains(@class,'applications-menu-nav-columns')]//li[contains(.,'Configuration')]/following-sibling::li//span[normalize-space(text())='Search']"
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.getWebElement(BaseWebDriverImpl.java:4428)
         [exec]     	at com.liferay.poshi.runner.selenium.ChromeWebDriverImpl.getWebElement(ChromeWebDriverImpl.java:131)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.getWebElement(BaseWebDriverImpl.java:4418)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl$26.evaluate(BaseWebDriverImpl.java:4391)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.isVisibleInPage(BaseWebDriverImpl.java:1817)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl$25.evaluate(BaseWebDriverImpl.java:4377)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl$Condition.assertTrue(BaseWebDriverImpl.java:4638)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl$Condition.waitFor(BaseWebDriverImpl.java:4674)
         [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.waitForVisible(BaseWebDriverImpl.java:3586)
         [exec]     	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]     	at com.liferay.poshi.runner.PoshiRunnerExecutor$1.call(PoshiRunnerExecutor.java:1192)
         [exec]     	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         [exec]     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         [exec]     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         [exec]     	at java.lang.Thread.run(Thread.java:745)
         [exec] 
    

      Attachments

        Activity

          People

          Assignee:
          pietro.bocale Pietro Bocale
          Reporter:
          brittney.nguyen Brittney Nguyen
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:

              Packages

              Version Package
              7.4 CE GA1