freshyo/tests/e2e/basic-sanity.txt
2026-10-22 19:39:12 +05:30

31 lines
1.7 KiB
Text

open admin-ui
create a new product, with 2 skus. Upload images for it. Make one of them flash enabled
create a new combo product with 2 skus in it. Have images here too. Make it flash enabled
create a dashboard tag, add the only new products we created to it.
create new slots for the products. make the slots delivery time 2 hrs from now. freeze time should
be 15 mnts before delivery time. Add the newly created products to it.
go to app customization and ensure flash delivery is turned on.
wait for 60sec
open user-ui
go to offers tab from bottom navigation and find the newly created products. Ensure they are there
Ensuer the combo is present. Click on it, go to product details and ensure the list is correct
come back to the home tab and search for the products we created. Search and then add them to cart
in the slot we've created.
ensure the new tag we've created is visible and has our products in it
go to cart and then place the order.
ensure the order is visible in my orders.
then go to flash delivery and add those products to flash cart again. Create a flash order.
open admin-ui
go to manage orders and ensure both the orders are present and the items are proper there.
in both the orders mark all the items as packaged.
turn off the flash delivery in app customization
suspend one of the newly created products and mark one of them as out of stock
wait for 60sec
open user-ui
on the home screen find 2 orders' first order glimpse. See that they are packaged.
go to the flash screen and see ensure it is disabled
search for the suspended product and ensure it is not searchable and available
search for the out of stock product and ensure it is flagged out of stock.