casper: Use waitUntilVisible in mention tests.

This commit is contained in:
Tim Abbott 2017-02-09 22:58:51 -08:00
parent 8ef3e7cde8
commit 5b56fffc3c

View File

@ -2,7 +2,7 @@ var common = require('../casper_lib/common.js').common;
common.start_and_log_in();
casper.waitForSelector('#new_message_content', function () {
casper.waitUntilVisible('#new_message_content', function () {
casper.test.info('compose box visible');
casper.page.sendEvent('keypress', "c"); // brings up the compose box
});