# Timeline check (design.md "Acceptance: timeline"), from # accel_to_mouse.timeline.script. The automaton takes no input, so the # recording is time alone (with pointer and key events it must ignore), # made while it is still growing: rows appear at the recorded steps only. # 1. Record. frames 3 console snapshot 1 console record 0 frames 8 click 300 200 key space frames 10 console save 2 expect generation 25 # 2. Played to the end, exactly. console play 0 frames 60 expect-snapshot 2 screenshot .zig-cache/e2e/wolfram_ca-played.png # 5. Paused: `draw` must not move State. frames 30 expect-snapshot 2 # 3. Sought to the end, and to the middle and played on. console seek end expect-snapshot 2 screenshot .zig-cache/e2e/wolfram_ca-sought.png # 7. What a seek shows equals what playing showed. expect-same-screenshot .zig-cache/e2e/wolfram_ca-played.png .zig-cache/e2e/wolfram_ca-sought.png console seek 150 console pause frames 5 console pause frames 5 console pause frames 60 expect-snapshot 2 # 4. Stepped from the start, then back and forth. console seek start console step 100000 expect-snapshot 2 console step -10 console step 10 expect-snapshot 2 # 6. A live pointer move, then the same replay. console stop move 20 20 frames 10 console play 0 frames 60 expect-snapshot 2 console stop