mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user