File tree Expand file tree Collapse file tree 3 files changed +19
-18
lines changed
Expand file tree Collapse file tree 3 files changed +19
-18
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ test.Step(
1010 function ()
1111 a2d .OpenPath (" A2.DESKTOP" )
1212 a2d .WaitForRepaint ()
13-
14- a2d .OAShortcut (" M" )
15- for i = 1 ,3 do
16- apple2 .RightArrowKey ()
17- apple2 .DownArrowKey ()
18- end
19- apple2 .EscapeKey ()
20- test . Snap ( " should not have moved " )
13+ a2dtest . ExpectNothingHappened ( function ()
14+ a2d .OAShortcut (" M" )
15+ for i = 1 ,5 do
16+ apple2 .RightArrowKey ()
17+ apple2 .DownArrowKey ()
18+ end
19+ apple2 .EscapeKey ()
20+ end )
2121end )
2222
2323test .Step (
@@ -27,7 +27,7 @@ test.Step(
2727 a2d .WaitForRepaint ()
2828
2929 a2d .OAShortcut (" M" )
30- for i = 1 ,3 do
30+ for i = 1 ,5 do
3131 apple2 .RightArrowKey ()
3232 apple2 .DownArrowKey ()
3333 end
@@ -42,13 +42,14 @@ test.Step(
4242 a2d .OpenPath (" A2.DESKTOP" )
4343 a2d .WaitForRepaint ()
4444
45- a2d .OAShortcut (" G" )
46- for i = 1 ,3 do
47- apple2 .RightArrowKey ()
48- apple2 .DownArrowKey ()
49- end
50- apple2 .EscapeKey ()
51- test .Snap (" should not have resized" )
45+ a2dtest .ExpectNothingHappened (function ()
46+ a2d .OAShortcut (" G" )
47+ for i = 1 ,5 do
48+ apple2 .RightArrowKey ()
49+ apple2 .DownArrowKey ()
50+ end
51+ apple2 .EscapeKey ()
52+ end )
5253end )
5354
5455test .Step (
@@ -58,7 +59,7 @@ test.Step(
5859 a2d .WaitForRepaint ()
5960
6061 a2d .OAShortcut (" G" )
61- for i = 1 ,3 do
62+ for i = 1 ,5 do
6263 apple2 .RightArrowKey ()
6364 apple2 .DownArrowKey ()
6465 end
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ test.Step(
5555 test .Snap (" verify right edge of header text is cut off" )
5656 a2d .MoveWindowBy (- 250 , 0 )
5757
58+ -- Get both scrollbars showing
5859 a2d .GrowWindowBy (- 100 ,- 50 )
59- test .Snap (" both scrollbars?" )
6060
6161 a2d .MoveWindowBy (- 150 , 0 )
6262 test .Snap (" verify left edge of header text is cut off" )
You can’t perform that action at this time.
0 commit comments