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
15b191c3
...
15b191c361e7920ca765ba3887d9be9a1f9abfc5
authored
2012-11-02 11:06:01 -0400
by
Victor Yap
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed declaration of Tester.assertSelectorExists()
1 parent
b77648b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/tester.js
modules/tester.js
View file @
15b191c
...
...
@@ -267,7 +267,7 @@ Tester.prototype.assertField = function assertField(inputName, expected, messag
* @param String message Test description
* @return Object An assertion result object
*/
Tester
.
prototype
.
assertExists
=
Tester
.
prototype
.
assertExist
=
this
.
assertSelectorExists
=
Tester
.
prototype
.
assertSelectorExist
=
function
assertExists
(
selector
,
message
)
{
Tester
.
prototype
.
assertExists
=
Tester
.
prototype
.
assertExist
=
Tester
.
prototype
.
assertSelectorExists
=
Tester
.
prototype
.
assertSelectorExist
=
function
assertExists
(
selector
,
message
)
{
"use strict"
;
return
this
.
assert
(
this
.
casper
.
exists
(
selector
),
message
,
{
type
:
"assertExists"
,
...
...
Please
register
or
sign in
to post a comment