elgentos / magento2-cypress-testing-suite

A community-driven Cypress testing suite for Magento 2
MIT License
172 stars 37 forks source link

Fix broken account test #86

Closed peterjaap closed 2 years ago

peterjaap commented 2 years ago
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