blob: d2b2b36247ee8e3a8218bebdb7552bba64a38cb9 (
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
27
28
29
30
31
32
33
|
# The counter sketch reloads with a changed layout and keeps its values.
# A recording made by this build plays without a warning.
console snapshot 2
console record 0
click 10 10
console stop
console play 0
frames 3
expect clicks 1
expect-no-log another build
console stop
console load 2
expect clicks 0
click 10 10
click 10 10
expect clicks 2
expect label warm
console snapshot 3
console save
load {v2}
expect clicks 2
expect label warm
expect streak 7 ~0.5
click 10 10
expect clicks 12
# The snapshot was migrated with the live state.
console load 3
expect clicks 2
console set streak 9
expect streak 9
# The recording was made by the first build: playing it warns.
console play 0
expect-log another build
|