Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
e3bbe81d
...
e3bbe81da5e168d840ad207b06cdc2b31612ccb9
authored
2012-01-10 09:23:28 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed broken click.js test suite
1 parent
5f908d1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
tests/suites/casper/click.js
tests/suites/casper/click.js
View file @
e3bbe81
...
...
@@ -33,12 +33,12 @@
this
.
test
.
assertEquals
(
results
.
testdown
,
[
200
,
100
],
'Mouse.down() has pressed button to the specified position'
);
t
.
comment
(
'Mouse.up()'
);
this
.
mouse
.
up
(
200
,
2
00
);
this
.
mouse
.
up
(
200
,
1
00
);
results
=
this
.
getGlobal
(
'results'
);
this
.
test
.
assertEquals
(
results
.
testup
,
[
200
,
100
],
'Mouse.up() has released button to the specified position'
);
t
.
comment
(
'Mouse.move()'
);
this
.
mouse
.
move
(
200
);
this
.
mouse
.
move
(
200
,
100
);
results
=
this
.
getGlobal
(
'results'
);
this
.
test
.
assertEquals
(
results
.
testmove
,
[
200
,
100
],
'Mouse.move() has moved to the specified position'
);
});
...
...
Please
register
or
sign in
to post a comment