Title: The reduced area message is not displayed to the user and the user stay in infinite loading on the payment screen
...
ID | Scenario | Expected result | Current result |
1 | The restaurant has the area reduced. The user accesses the store locator page and goes to the delivery tab. When enters the delivery address out of the reduced area: | The reduced area message must be displayed. | Passed |
2 | The user already has entered the delivery address out of the reduced area and is on the menu page. The restaurant has the area reduced. When the user goes to the cart page: | The reduced area message must be displayed. | Passed |
3 | TheĀ user is already on the cart with a delivery address out of the reduced area. The restaurant has the area reduced. When the user goes to the payment page: | The reduced area message must be displayed. | Failed The reduced area message is NOT displayed. If the user reloads the page, the message is displayed. |
4 | TheĀ user is already on the payment page with a delivery address out of the reduced area. The restaurant has the area reduced. When the user goes to confirm the payment: | The reduced area message must be displayed and the payment must not be confirmed. | Failed The reduced area message is NOT displayed and the user is kept on the infinite loading payment. If the user reloads the page, the message is displayed. |
...
Pre-analysis: The developers of the Iberia dedicated team had done a pre-analysis to help and identified that on these transitions Whitelabel is getting the "LON" and "LAT" of the Local Storage, but these values refers refer the restaurant address and not the "LON" and "LAT" from the delivery address provided by user, this way the modal never will be displayed because we compare the address informed by the user to the reduced area.
Evidences:
1 | Passed | Passed |
2 | Passed | Passed |
3 | Failed The reduced area message is NOT displayed. If the user reloads the page, the message is displayed. | Failed The reduced area message is NOT displayed. If the user reloads the page, the message is displayed. |
4 | Failed The reduced area message is NOT displayed and the user is kept on the infinite loading payment. If the user reloads the page, the message is displayed. | Failed The reduced area message is NOT displayed and the user is kept on the infinite loading payment. If the user reloads the page, the message is displayed. |