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
738 stars 383 forks source link

Smoke testing the libs #730

Closed KateChuen closed 5 years ago

KateChuen commented 5 years ago

Use this server: http://dev-com-17.accdemo.b2c.ydev.hybris.com:4200/

Keep the browser's console open at any time and monitor for errors.

Perform the following smoke tests:

Register, logout, login with the previously registered user Go through checkout flow with the previously registered user: Search for a product and open it Check all tabs (product details, specs, reviews and shipping) Add it to cart Search for any other product and add it to cart directly from the search results page (don't open the product, just click on "add to cart") Change quantity Create a new shipping address Create a new payment method Repeat for an existing user (any user that was registered before the smoke testing) Check all other functionality/pages and observe is basic functionality broken, are there any UI elements broken, etc.: Order history page Change language/currency Sort When searching, use facets and filters Check pagination

MitchellScottSandre commented 5 years ago

(Getting blocked by errors but I'll post this for now...) Made a brand new user

MitchellScottSandre commented 5 years ago

I get stuck while attempting checkout. (Have tried with 4 different newly-registered users). Error occurs after entering new address during checkout, and am unable to click "continue" during step 2. Console error is:

ERROR TypeError: Cannot read property 'forEach' of undefined
    at n._tapNext (main.1c1b6af011eb3af0aab4.js:1)
    at n._next (main.1c1b6af011eb3af0aab4.js:1)
    at n.next (main.1c1b6af011eb3af0aab4.js:1)
    at n._next (main.1c1b6af011eb3af0aab4.js:1)
    at n.next (main.1c1b6af011eb3af0aab4.js:1)
    at n._next (main.1c1b6af011eb3af0aab4.js:1)
    at n.next (main.1c1b6af011eb3af0aab4.js:1)
    at n._subscribe (main.1c1b6af011eb3af0aab4.js:1)
    at n.t._trySubscribe (main.1c1b6af011eb3af0aab4.js:1)
    at n._trySubscribe (main.1c1b6af011eb3af0aab4.js:1)
plabadie commented 5 years ago

The checkout step progress bar is wrong on the shipping address step. We are on step 2 and step 4 is highlighted:

screen shot 2018-12-19 at 2 51 42 pm

UPDATE: It is a known issue: https://github.com/SAP/cloud-commerce-spartacus-storefront/issues/669

Xymmer commented 5 years ago

The blocker issue was fixed, I will create tickets for the other minor bugs.