Merge branch 'bugfix/casper-env-4315'

fixes #4315
This commit is contained in:
Marius Hein 2013-06-25 10:24:32 +02:00
commit 88b1779a4b
3 changed files with 17 additions and 4 deletions

View File

@ -7,11 +7,14 @@ i2w = require('./i2w-config');
var casper = i2w.getTestEnv();
casper.start("http://build.icinga.org/jenkins");
casper.start("http://localhost:12999/empty.html");
casper.then(function() {
this.test.assertTitle("icinga-web test [Jenkins]", "The jenkins page");
casper.log(this.test);
this.test.assertTitle("Just an empty page");
});
casper.run(function() {
this.test.done();

View File

@ -108,8 +108,11 @@ if [ "$EXCLUDE" != "" ];then
fi
FILELIST=`echo $FILELIST | grep -v "$NAME"`
fi;
cd $DIR/static
python -m SimpleHTTPServer 12999&
PID=$!
cd $DIR
echo $EXEC $FILELIST
$EXEC $FILELIST
kill $PID
exit 0

View File

@ -0,0 +1,7 @@
<html>
<head>
<title>Just an empty page</title>
</head>
<body>
</body>
</html>