Skip to content
Snippets Groups Projects
Unverified Commit d3acfa4c authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #11850 from daminebenq/fix-and-update-virtualized-userslist-test-suite

Fix and update virtualized list test suite
parents 44cc5ab1 ec03be9e
No related merge requests found
......@@ -34,7 +34,7 @@ class VirtualizeList {
const USER_LIST_VLIST_VISIBLE_USERS = await this.page1.page.evaluate(async () => await document.querySelectorAll('[data-test^="userListItem"]').length);
const totalNumberOfUsersMongo = await this.page1.page.evaluate(() => {
const collection = require('/imports/api/users/index.js');
const users = collection.default._collection.find({ connectionStatus: 'online' }).count();
const users = collection.default._collection.find().count();
return users;
});
if (USER_LIST_VLIST_VISIBLE_USERS === totalNumberOfUsersMongo) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment