casper: Fix invalid check in 00-realm-creation.

We shouldn't be checking for #zfilt here, since we haven't done
anything that should cause #zfilt to load.  Instead, we verify whether
messages have loaded into the DOM (the condition we actually want) by
checking whether at least one message row is in the DOM.
This commit is contained in:
Tim Abbott
2020-05-06 10:54:48 -07:00
parent 1c5aa10147
commit 50b74f7101

View File

@@ -68,7 +68,7 @@ casper.then(function () {
casper.then(function () {
// The user is logged in to the newly created realm and the app is loaded
casper.waitUntilVisible('#zfilt', function () {
casper.waitUntilVisible('.message_row', function () {
this.test.assertTitleMatch(/ - Zulip$/, "Successfully logged into Zulip webapp");
}, null, 20000);
});