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
b77648b2
...
b77648b20e2e832c426b824a6b8cafa163f81b57
authored
2012-11-02 11:20:48 -0400
by
Victor Yap
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Added the aliases for Tester.assertExists() to the selftest
1 parent
8c798c7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
tests/suites/tester.js
tests/suites/tester.js
View file @
b77648b
...
...
@@ -58,6 +58,15 @@ casper.then(function() {
t
.
comment
(
'Tester.assertExists()'
);
t
.
assertExists
(
'body'
,
'Tester.assertExists() works as expected'
);
t
.
comment
(
'Tester.assertExist()'
);
t
.
assertExist
(
'body'
,
'Tester.assertExist() [alias of assertExists()] works as expected'
);
t
.
comment
(
'Tester.assertSelectorExists()'
);
t
.
assertSelectorExists
(
'body'
,
'Tester.assertSelectorExists() [alias of assertExists()] works as expected'
);
t
.
comment
(
'Tester.assertSelectorExists()'
);
t
.
assertSelectorExist
(
'body'
,
'Tester.assertSelectorExist() [alias of assertExists()] works as expected'
);
t
.
comment
(
'Tester.assertDoesntExist()'
);
t
.
assertDoesntExist
(
'foobar'
,
'Tester.assertDoesntExist() works as expected'
);
...
...
Please
register
or
sign in
to post a comment