Preparing for local demo

This commit is contained in:
Thomas FORGIONE
2015-10-13 16:29:41 +02:00
parent 72e76cc0a1
commit 0f4521e3de
3 changed files with 12 additions and 5 deletions

View File

@@ -44,9 +44,15 @@ function addLevel(i) {
// }, true);
this.thenOpen(baseUrl + 'prototype/tutorial');
this.thenOpen(baseUrl + 'prototype/play');
this.thenOpen(baseUrl + 'prototype/play');
this.thenOpen(baseUrl + 'prototype/play');
this.wait(1000, function() {
this.thenOpen(baseUrl + 'prototype/play');
this.wait(1000, function() {
this.thenOpen(baseUrl + 'prototype/play');
this.wait(1000, function() {
this.thenOpen(baseUrl + 'prototype/play');
});
});
});
this.thenOpen(baseUrl + 'logout');

View File

@@ -1,5 +1,5 @@
#!/usr/bin/bash
rm -f cookies*
for i in `seq 1 8`; do
for i in `seq 1 30`; do
casperjs load.js --cookies-file=cookies"$i".txt&
done