07-stars.js: Remove waitForText.

This commit is contained in:
Umair Khan 2017-06-07 12:55:08 +05:00 committed by Tim Abbott
parent fe8204f1f0
commit 5ae822fc54
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ common.then_send_message('stream', {
content: 'test star', content: 'test star',
}); });
casper.waitForText("test star"); casper.then(function () {
casper.waitForSelectorText("#zhome .message_row", "test star");
});
casper.then(function () { casper.then(function () {
casper.test.info("Checking star counts"); casper.test.info("Checking star counts");