You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #115 introduced a new private route **/inventory-long.html. Now 'bug looking' behaviors can be triggered more easily.
The PR didn't introduce these bugs. It just made them more 'visible'.
I know there are other PRs in plans, which are going to do refactors. I just wanted to bring some symptoms up.
I don't know the specification of this software, and given the software's purpose (browser-based testing demo), maybe some or all of these behaviors are actual features?! (I mean this app's primary purpose is to be tested to evaluate some testing tool/service etc.)
Thank you for taking the time to raise this issue.
This application is meant to be a sample and display happy paths and bugs to allow users to catch bugs through their testing. There are several places where bugs exist; this is intended, as this is simply a demo application.
TLDR
PR #115 introduced a new private route
**/inventory-long.html
. Now 'bug looking' behaviors can be triggered more easily.The PR didn't introduce these bugs. It just made them more 'visible'.
I know there are other PRs in plans, which are going to do refactors. I just wanted to bring some symptoms up.
I don't know the specification of this software, and given the software's purpose (browser-based testing demo), maybe some or all of these behaviors are actual features?! (I mean this app's primary purpose is to be tested to evaluate some testing tool/service etc.)
Symptom A - Counter goes to 69
standard_user
https://www.saucedemo.com/inventory-item.html?id=foo
Symptom B - InventoryItem page allows adding/removing unknown item
standard_user
https://www.saucedemo.com/inventory-item.html?id=69
Symptom C - InventoryItem does not display known item
standard_user
https://www.saucedemo.com/inventory-long.html
Symptom D - Cart throws error
standard_user
https://www.saucedemo.com/inventory-long.html
Symptom E - CheckOutStepTwo throws error
standard_user
https://www.saucedemo.com/inventory-long.html
https://www.saucedemo.com/checkout-step-two.html
Symptom F - React components' and localstorage's state diverges (missing updates?!)
standard_user
https://www.saucedemo.com/inventory.html
Background
There's no single root cause.
Different things together cause these problems:
shopping-cart.js
uses observer pattern which causes components to not be in syncshopping-cart.js
and then localstorage)InventoryItem
have no way of graceful error handling (related to cart item id array)The text was updated successfully, but these errors were encountered: