capser: Close the compose box in un_narrow().

This commit is contained in:
Steve Howell 2017-04-16 05:58:42 -07:00 committed by Tim Abbott
parent bdca28a14b
commit 58aedf985f

View File

@ -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
};