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

Element is not present at GuestCheckout#AssertGuestCartItemIsTransferredToExistingCart

    Details

    • Severity of Issue:
      Major

      Description

      Testray
      Poshi
      Jenkins

       [exec]     Log out of Liferay Portal.
           [exec] 2021-10-12 15:55:27.977 ERROR [http-nio-8080-exec-1][JDBCExceptionReporter:234] Duplicate entry '74055-0-LIFERAY_SHARED_CURRENT_ACCOUNT_ENTRY_ID#72283-com.lifera' for key 'IX_A6DD0ECF'
           [exec] 2021-10-12 15:55:27.977 ERROR [http-nio-8080-exec-8][JDBCExceptionReporter:234] Duplicate entry '74055-0-LIFERAY_SHARED_CURRENT_ACCOUNT_ENTRY_ID#72283-com.lifera' for key 'IX_A6DD0ECF'
           [exec] 2021-10-12 15:55:27.977 ERROR [http-nio-8080-exec-26][JDBCExceptionReporter:234] Duplicate entry '74055-0-LIFERAY_SHARED_CURRENT_ACCOUNT_ENTRY_ID#72283-com.lifera' for key 'IX_A6DD0ECF'
           [exec]     LIFERAY_ERROR: Duplicate entry '74055-0-LIFERAY_SHARED_CURRENT_ACCOUNT_ENTRY_ID#72283-com.lifera' for key 'IX_A6DD0ECF'
           [exec] 
           [exec]     BUILD FAILED: Element is not present at "//p[@class='item-sku' and contains(.,'SPEED55860')]/../h5"
           [exec]     /opt/dev/projects/github/liferay-portal/modules/apps/commerce/commerce-product-test/src/testFunctional/macros/FrontStore.macro[viewMiniCartItem]:76
           [exec]     /opt/dev/projects/github/liferay-portal/modules/apps/commerce/commerce-product-test/src/testFunctional/macros/FrontStore.macro[viewMiniCartItems]:119
           [exec]     /opt/dev/projects/github/liferay-portal/modules/apps/commerce/commerce-product-test/src/testFunctional/macros/FrontStore.macro[viewMiniCart]:40
           [exec]     /opt/dev/projects/github/liferay-portal/modules/apps/commerce/commerce-product-test/src/testFunctional/tests/GuestCheckout.testcase[AssertGuestCartItemIsTransferredToExistingCart]:381
           [exec] 
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.GuestCheckout#AssertGuestCartItemIsTransferredToExistingCart] STANDARD_ERROR
           [exec]     com.liferay.poshi.runner.exception.ElementNotFoundPoshiRunnerException: Element is not present at "//p[@class='item-sku' and contains(.,'SPEED55860')]/../h5"
           [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.getText(BaseWebDriverImpl.java:1452)
      

      Workaround: refresh page

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ivica.cardic Ivica Cardic
              Reporter:
              kevin.valencia Kevin Valencia
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package