20 lines
969 B
Markdown
20 lines
969 B
Markdown
**English** · [Dansk](Step-8-da) · [Bahasa Melayu](Step-8-ms)
|
|
|
|
# Step 8: Time travel quality assurance
|
|
|
|
## What you gain
|
|
|
|
You learn that dates are the usual bug: the site's admin control "advance 3 days" moves its clock. The bot reads the day labels ("Today", "Tomorrow", "Thu, Aug 14") instead of assuming a date, so it works after a time jump too.
|
|
|
|
## Where it is in the code
|
|
|
|
`src/snack_and_lift/domain/day_label.py`
|
|
|
|
## Screenshot
|
|
|
|

|
|
|
|
> This image was taken before a fix: the My Bookings page also lists bookings from earlier runs outside the schedule's next 7 days, and the check then ended in MISMATCH. The check now compares only the days of the run and prints the other bookings as "Also booked (not checked)", so the same run ends in SUCCESS.
|
|
|
|
[Previous: 7](Step-7) · [Home](Home) · [Next: 9](Step-9)
|