Browse Source

Updates #3128: Fix test and add changelog entry

JC Brand 2 years ago
parent
commit
8c3ce2892b
2 changed files with 1 additions and 1 deletions
  1. 1 0
      CHANGES.md
  2. 0 1
      src/plugins/bookmark-views/tests/bookmarks.js

+ 1 - 0
CHANGES.md

@@ -2,6 +2,7 @@
 
 ## 10.1.1 (Unreleased)
 
+- #3128: Second bookmarked room shows info of the first one
 - Bugfix. Uyghur translations weren't loading
 
 ## 10.1.0 (2023-01-07)

+ 0 - 1
src/plugins/bookmark-views/tests/bookmarks.js

@@ -116,7 +116,6 @@ describe("A chat room", function () {
         _converse.connection._dataRecv(mock.createRequest(stanza));
         await u.waitUntil(() => view.model.get('bookmarked'));
         expect(view.model.get('bookmarked')).toBeTruthy();
-        await u.waitUntil(() => view.querySelector('.toggle-bookmark')?.title === 'Unbookmark this groupchat');
         expect(u.hasClass('on-button', view.querySelector('.toggle-bookmark')), true);
         // We ignore this IQ stanza... (unless it's an error stanza), so
         // nothing to test for here.