freshyo/multi-region-tests.txt
2026-10-07 00:27:11 +05:30

29 lines
2.1 KiB
Text

1. Add a region and check it exists
2. add a region's polygon and test coords in and out of polygon
3. change constants of one region and confirm it doesn't effect others
4. change price in one region and ensure other region isn't effected
5. add a superadmin product and check all admins can see it.
6. create product by an admin and ensure it doesn't show up to others
7. create tag in one region and ensure it doesn't show up in others
8. create 2 tags with same name in 2 different regions and add some items in one
ensuere the items don't show up in other regions.
9. create a global product and assign some stores. Then change it's stores in the update
product. Check in cache files.
10. in user app, spoof the api which provides location coords.
11. test location out of service, ensure dialog is visible and options are right
12. test location enabled but os level off case.
13. test location disabled case and selecting a region. Test correct cache files data appears.
14. change location and ensure new cache files are loaded with changed data.
15. change location and ensure slots are re-adjusted
16. change location and ensure not available items are gone and properly notified
17. change location on the cart page and ensure reconcilation and proper notification to users
18. add a new address in new region, choose it and then ensure notification appears and reconcilation happens
19. ensure selected address appears on the checkout page.
20. on home screen scroll out and ensure the region selector is scrolled out
21. ensure the address selector is available on all landing pages.
22. on the offers page, ensure only offers of current region are visible.
23. when region changed by user expect the notif creds endpoint to be called
24. when a region is detected, expect the notif creds endpoint to be called
25. In a single region, have multiple bounds with different min delivery threshold, spoof locations to
2 different bounds and ensure the changes reflect.
26. change consts of regions and bounds and expect the changes to land in the clouflare kv. use dev toml file