SAP / spartacus

Spartacus is a lean, Angular-based JavaScript storefront for SAP Commerce Cloud that communicates exclusively through the Commerce REST API.
Apache License 2.0
744 stars 389 forks source link

Failing E2E: smoke/login.e2e-spec.ts #3737

Closed RadhepS closed 5 years ago

RadhepS commented 5 years ago

smoke/login.e2e-spec.ts failed when running locally.

RadhepS commented 5 years ago

PR: https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/3743

Due to cypress' speed, it navigated to the login page a second time very quickly and I observed that the old login details were still in the fields. For this reason I added a call to clear the fields before inputting values.