Fix failing test due to converse-icon being used

This commit is contained in:
JC Brand 2022-02-09 19:59:12 +01:00
parent 46e6cfb0d4
commit 9d250c3cbf

View File

@ -252,7 +252,7 @@ describe("The Contacts Roster", function () {
const rosterview = document.querySelector('converse-roster');
const roster = rosterview.querySelector('.roster-contacts');
const button = rosterview.querySelector('span[data-type="groups"]');
const button = rosterview.querySelector('converse-icon[data-type="groups"]');
button.click();
await u.waitUntil(() => (sizzle('li', roster).filter(u.isVisible).length === 17), 600);