diff --git a/frontend_tests/casper_tests/11-mention.js b/frontend_tests/casper_tests/11-mention.js index 6b4f621ed1..bb5ceb4103 100644 --- a/frontend_tests/casper_tests/11-mention.js +++ b/frontend_tests/casper_tests/11-mention.js @@ -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 });