Practice tasks
Freight pricing is the kind of thing a tester is asked to verify on day one: a chargeable weight, a zone, a few surcharges and a tax. Every number here can be checked by hand.
1. Rate quote
- Submit the form empty and assert every validation message.
- Enter a 5 digit pincode and assert the error.
- Enter 600001 and assert the city name appears under the field.
- Quote 10 kg in a 30x30x30 box and assert the chargeable weight is the actual weight.
- Quote 2 kg in a 60x50x40 box and assert the volumetric weight (24 kg) is used instead.
- Ship within one region and then across the country, and assert the zone and the freight change.
- Tick insurance with a declared value of 50,000 and assert 750 is added.
- Assert the fuel surcharge is exactly 12% of the freight.
- Send to pincode 781001 and assert the remote area charge appears.
- Switch between the three services and assert the rate and the delivery estimate both change.
2. Booking
- Open the booking form without a quote and assert the empty state.
- Submit the booking empty and assert each required field is named.
- Add three package rows and assert the package count in the summary.
- Remove a row and assert the count drops again.
- Assert the last row cannot be removed.
- Enter a declared weight heavier than the quoted weight and assert the warning.
- Pick a pickup date in the past and assert it is rejected.
- Book and assert the AWB number starts with CL.
3. Tracking
- Track an AWB that does not exist and assert the error.
- Track the AWB you just booked and assert the first stage is complete.
- Assert the timeline has seven stages and that only the reached ones are marked done.
- Assert the status on the card matches the last completed stage.
- Cancel a shipment from the list and assert it can no longer be tracked as active.
4. Shipments list
- Assert every booked shipment is listed, newest first.
- Search by AWB and assert one row is left.
- Filter by service and assert each row shows that service.
- Filter by status and assert the rows match.
- Combine a search and a filter and assert both are applied.
5. Warehouse
- Assert the item count tile matches the number of rows.
- Assert every row at or below its reorder level is flagged Low or Out of stock.
- Filter by one warehouse and assert every row belongs to it.
- Filter by Out of stock and assert each quantity is zero.
- Sort by quantity and assert the order, then sort again and assert it reverses.
- Search for a SKU and assert one row is left.
- Reorder a low row and assert the quantity goes up by 500 and the status changes.
- Assert the stock value tile equals the sum of quantity x unit price.