Disable the tutorial as part of the test suite.

It's causing unexpected messages to appear.

(imported from commit e80a8cd43a771c4d06a7147e06b21246f47de316)
This commit is contained in:
Waseem Daher 2013-02-28 12:01:08 -05:00
parent e4eb917c37
commit 6743d0e4fa

View File

@ -170,13 +170,19 @@ casper.then(function () {
'Body is well-formed');
});
casper.test.info('Sending messages');
send_message('stream', {
stream: 'Verona',
subject: 'frontend test',
content: 'test message A'
casper.test.info('Disabling tutorial, if present');
send_message('private', {
recipient: 'humbug+tutorial@humbughq.com',
content: 'exit'
});
casper.test.info('Sending messages');
});
wait_and_send('stream', {
stream: 'Verona',
subject: 'frontend test',
content: 'test message A'
});
wait_and_send('stream', {