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
b9340ff9
...
b9340ff9ef886c34df7cd7ac469971ee87e48de4
authored
2013-06-24 11:32:12 +0200
by
Laurent Jouanneau
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixes jshint issues
1 parent
998da82a
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 @
b9340ff
...
...
@@ -21,7 +21,7 @@ casper.test.begin('onclick variants tests', 8, function(test) {
test
.
assert
(
this
.
click
(
'#test3'
),
'Casper.click() can click an `onclick=".*; return false"` link'
);
test
.
assert
(
this
.
click
(
'#test4'
),
'Casper.click() can click an unobstrusive js handled link'
);
var
results
=
this
.
getGlobal
(
'results'
);
if
(
phantom
.
casperEngine
==
'slimerjs'
)
{
if
(
phantom
.
casperEngine
==
=
'slimerjs'
)
{
// "javascript:" link in Gecko are executed asynchronously, so we don't have result at this time
test
.
skip
(
1
)
}
...
...
@@ -46,7 +46,7 @@ casper.test.begin('clickLabel tests tests', 8, function(test) {
test
.
assert
(
this
.
clickLabel
(
'test4'
),
'Casper.clickLabel() can click an unobstrusive js handled link'
);
var
results
=
this
.
getGlobal
(
'results'
);
if
(
phantom
.
casperEngine
==
'slimerjs'
)
{
if
(
phantom
.
casperEngine
==
=
'slimerjs'
)
{
// "javascript:" link in Gecko are executed asynchronously, so we don't have result at this time
test
.
skip
(
1
)
}
...
...
Please
register
or
sign in
to post a comment