mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
capser: Close the compose box in un_narrow().
This commit is contained in:
parent
bdca28a14b
commit
58aedf985f
@ -329,6 +329,10 @@ exports.expected_messages = function (table, headings, bodies) {
|
||||
|
||||
exports.un_narrow = function () {
|
||||
casper.test.info('Un-narrowing');
|
||||
if (casper.visible('.message_comp')) {
|
||||
// close the compose box
|
||||
common.keypress(27); // Esc
|
||||
}
|
||||
common.keypress(27); // Esc
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user