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
2276b8d6
...
2276b8d648629d7f333f45c9e97004c1e0af12d3
authored
2012-11-18 18:44:40 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added supplementary test to check for a valid __utils__ instance in child frames
1 parent
2c0090b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
tests/suites/casper/frames.js
tests/suites/casper/frames.js
View file @
2276b8d
...
...
@@ -11,6 +11,9 @@ casper.start('tests/site/frames.html', function() {
this
.
test
.
assertTitle
(
'CasperJS frame 2'
);
this
.
test
.
assertExists
(
"#f2"
);
this
.
test
.
assertDoesntExist
(
"#f1"
);
this
.
test
.
assertEval
(
function
()
{
return
'__utils__'
in
window
&&
'getBinary'
in
__utils__
;
},
'__utils__ object is available in child frame'
);
});
casper
.
run
(
function
()
{
...
...
Please
register
or
sign in
to post a comment