magento2-cypress-testing-suite icon indicating copy to clipboard operation
magento2-cypress-testing-suite copied to clipboard

Fix broken account test

Open peterjaap opened this issue 3 years ago • 0 comments

Running:  account.spec.js                                                               (10 of 10)


  Account test creation
    ✓ Can create an account (4599ms)

  Account activities
    ✓ Can use API to login (16069ms)
    ✓ Can check your profile (4938ms)
    ✓ Can change password (16067ms)
    ✓ Can change the profile values (13030ms)
    ✓ Can view order history (5629ms)
    ✓ Can add an address ([143](https://github.com/elgentos/magento2-cypress-testing-suite/actions/runs/3117318267/jobs/5055893448#step:3:144)79ms)
    ✓ Can change an address (8038ms)
    ✓ Can remove an address (11938ms)
    ✓ Can change the newsletter subscription (5859ms)
    ✓ Can add a product the a wishlist (8703ms)
    ✓ Can edit the wishlist and remove item (11699ms)
    ✓ Can log out (5127ms)

  Customer cart
    1) Merges an already existing cart when a customer logs in

  Guest user test
    ✓ Can login from cart (1[150](https://github.com/elgentos/magento2-cypress-testing-suite/actions/runs/3117318267/jobs/5055893448#step:3:151)6ms)


  14 passing (3m)
  1 failing

  1) Customer cart
       Merges an already existing cart when a customer logs in:
     AssertionError: Timed out retrying after 4000ms: Expected to find element: `.cart .item .product-item-name a`, but never found it.
      at Context.eval (cypress/integration/hyva/user/account.spec.js:202:11)

See https://github.com/elgentos/magento2-cypress-testing-suite/actions/runs/3117318267/jobs/5055893448#step:3:157

peterjaap avatar Sep 24 '22 06:09 peterjaap