Open peterjaap opened 1 year ago
I'll change the default domain to test to our own Hyvä demo environment, and I'll remove any custom modules there like Elasticsuite, so it matches with the default.
Less failing tests when run on https://demo-hyva.elgentos.io
(Run Finished)
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ homepage.spec.js 00:18 8 8 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ cart/cart.spec.js 00:45 7 4 3 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ cart/minicart.spec.js 00:16 7 7 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ catalog/bundle.spec.js 00:07 5 5 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ catalog/category.spec.js 00:12 6 6 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ catalog/product.spec.js 00:22 13 12 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ checkout/checkout.spec.js 00:34 3 1 2 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ cms/cms-pages.spec.js 00:05 2 1 1 - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✔ search/product-searches.spec.js 00:07 4 4 - - - │
├────────────────────────────────────────────────────────────────────────────────────────────────┤
│ ✖ user/account.spec.js 02:22 17 13 4 - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
✖ 5 of 10 failed (50%) 05:11 72 61 11 - -
Most of the issues are related to the flash messages. In Cypress, the first flash message keeps getting shown even though new ones are added. When using a regular browser in the conventionel way, this does not happen. Heisenbug.
A number of tests are failing since the Hyvä demo site (https://demo.hyva.io/) is updated and some settings changed. For example; prices are now shown in Euro and the newsletter subscription box has been removed/deactivated.
Failing tests;