blob: 44b90547b1a7ed9d53848297521014cf77cb6978 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Live reload keeps State: play, pause a replay so nothing moves, load the
# edited build ({v2}: darker circles), check State carried over and only the
# drawing changed, then play on.
frames 60
console record 0
frames 30
console stop
console play 0
frames 10
console pause
frames 2
expect clock.count 70
expect start_angle 1.4 ~0.0001
screenshot .zig-cache/e2e/the_wave-before.png
frames 1
load {v2}
expect clock.count 70
expect start_angle 1.4 ~0.0001
frames 2
screenshot .zig-cache/e2e/the_wave-after.png
frames 1
expect-different-screenshot .zig-cache/e2e/the_wave-before.png .zig-cache/e2e/the_wave-after.png
# Unpaused: the replay goes on from where it was.
console pause
frames 15
expect clock.count 85
|