mirror of https://github.com/zulip/zulip.git
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:
parent
33dc3a2fb7
commit
9920dcd22a
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue