Properly disable the tutorial in the test suite.

I think my previous commit causes the tutorial to run more regularly
in the test suite, so we,  in turn, need to be more systematic
about disabling it.

(imported from commit c3805438b0564874a358526d3592b86d147547c0)
This commit is contained in:
Waseem Daher 2013-03-12 11:05:46 -04:00
parent 33dc3a2fb7
commit 9920dcd22a
1 changed files with 9 additions and 0 deletions

View File

@ -142,11 +142,20 @@ casper.then(function () {
});
casper.test.info('Disabling tutorial, if present');
});
casper.then(function() {
send_message('private', {
recipient: 'humbug+tutorial@humbughq.com',
content: 'exit'
});
});
casper.then(function() {
casper.waitForText("we'll stop the tutorial here");
});
casper.then(function () {
casper.test.info('Sending messages');
});