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
755477ed
...
755477edf7dd23cc63076acae836a9442233d4b0
authored
2013-02-25 00:00:16 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed upload file paths, again
1 parent
55b648e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
tests/suites/casper/formfill.js
tests/suites/casper/formfill.js
View file @
755477e
...
...
@@ -3,6 +3,8 @@
var
fs
=
require
(
'fs'
);
casper
.
test
.
begin
(
'fill() tests'
,
15
,
function
(
test
)
{
var
fpath
=
fs
.
pathJoin
(
phantom
.
casperPath
,
'README.md'
);
casper
.
start
(
'tests/site/form.html'
,
function
()
{
this
.
fill
(
'form[action="result.html"]'
,
{
email
:
'chuck@norris.com'
,
...
...
@@ -11,7 +13,7 @@ casper.test.begin('fill() tests', 15, function(test) {
check
:
true
,
choice
:
'no'
,
topic
:
'bar'
,
file
:
phantom
.
casperPath
+
'/README.md'
,
file
:
fpath
,
'checklist[]'
:
[
'1'
,
'3'
]
});
test
.
assertEvalEquals
(
function
()
{
...
...
Please
register
or
sign in
to post a comment