fixed broken click.js test suite
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -33,12 +33,12 @@ | ... | @@ -33,12 +33,12 @@ |
33 | this.test.assertEquals(results.testdown, [200, 100], 'Mouse.down() has pressed button to the specified position'); | 33 | this.test.assertEquals(results.testdown, [200, 100], 'Mouse.down() has pressed button to the specified position'); |
34 | 34 | ||
35 | t.comment('Mouse.up()'); | 35 | t.comment('Mouse.up()'); |
36 | this.mouse.up(200, 200); | 36 | this.mouse.up(200, 100); |
37 | results = this.getGlobal('results'); | 37 | results = this.getGlobal('results'); |
38 | this.test.assertEquals(results.testup, [200, 100], 'Mouse.up() has released button to the specified position'); | 38 | this.test.assertEquals(results.testup, [200, 100], 'Mouse.up() has released button to the specified position'); |
39 | 39 | ||
40 | t.comment('Mouse.move()'); | 40 | t.comment('Mouse.move()'); |
41 | this.mouse.move(200); | 41 | this.mouse.move(200, 100); |
42 | results = this.getGlobal('results'); | 42 | results = this.getGlobal('results'); |
43 | this.test.assertEquals(results.testmove, [200, 100], 'Mouse.move() has moved to the specified position'); | 43 | this.test.assertEquals(results.testmove, [200, 100], 'Mouse.move() has moved to the specified position'); |
44 | }); | 44 | }); | ... | ... |
-
Please register or sign in to post a comment