elgentos / magento2-cypress-testing-suite

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

Draft: Make tests pass on native Magento + Hyvä + Sample Data #101

Closed Vinai closed 1 year ago

Vinai commented 2 years ago

Since demo.hyva.io is configured to EUR, some tests where failing.
As a solution I added an environment variable to set the currency symbol. If the env var is not set, it will default to $ (the previous value)

CYPRESS_CURRENCY_SYMBOL="€" npx cypress run
Vinai commented 2 years ago

Now the only failing test is the Newsletter spec, which for some reason seems to be disabled on demo.hyva.io.
I'll see if that can be changed.