mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
tests: Correctly wait for a message to be visible
I'm not sure how it worked at all before. (imported from commit 608b0574d1a80cd631d9ea8198990d97d72ba64d)
This commit is contained in:
committed by
Steve Howell
parent
c7586a7135
commit
80ca037747
@@ -97,9 +97,14 @@ casper.waitWhileVisible('.message_comp', function () {
|
||||
common.send_many([
|
||||
{ recipient: recipients.join(','),
|
||||
content: 'A huddle to check spaces' }]);
|
||||
|
||||
casper.then(function () {
|
||||
common.keypress(27); // escape to dismiss compose box
|
||||
});
|
||||
casper.then(function () {
|
||||
common.un_narrow();
|
||||
});
|
||||
casper.waitForText('A huddle to check spaces', function () {
|
||||
casper.waitUntilVisible('#zhome', function () {
|
||||
casper.clickLabel('A huddle to check spaces');
|
||||
});
|
||||
casper.waitUntilVisible('#compose', function () {
|
||||
|
||||
Reference in New Issue
Block a user