Next step · What to do next
Add automatic tests for the important flows
What you may see
- I am afraid every change will break something
Why this step
A few tests on the flows that make money (order, payment, booking, sign-in) catch most breakage before customers do.
Before you start
- List the 5 flows that must never break.
The prompt for this step
What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.
Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.
Prompt language
Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.
After you tried it, did it work?
Steps
- Choose a light test setup that fits the framework (unit tests for the logic like money and dates, and a few browser tests for the main flows) and explain it in four lines.
- Write tests for the money and date logic first (edge cases, three-decimal amounts, midnight in Kuwait time), then the main flows on a phone-size window in English and Arabic.
- Use test data only, never real customers or live keys; add one command to run all tests.
- Show a test failing on purpose once, so I trust that it can fail.
Do not do this
- Do not test with live payment keys.
- Do not edit tests to make them pass.