mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
readSync mock test: look for visibility of last item
This commit is contained in:
@@ -67,7 +67,7 @@ describe('readSync', function (this: Mocha.Suite) {
|
||||
.locator(
|
||||
'.module-conversation-list__item--contact-or-conversation__unread-indicator.module-conversation-list__item--contact-or-conversation__unread-indicator--unread-messages >> "3"'
|
||||
)
|
||||
.first()
|
||||
.last()
|
||||
.waitFor({ state: 'visible' });
|
||||
|
||||
debug('incoming out of order messages');
|
||||
@@ -136,7 +136,7 @@ describe('readSync', function (this: Mocha.Suite) {
|
||||
.locator(
|
||||
'.module-conversation-list__item--contact-or-conversation__unread-indicator.module-conversation-list__item--contact-or-conversation__unread-indicator--unread-messages >> "1"'
|
||||
)
|
||||
.first()
|
||||
.last()
|
||||
.waitFor({ state: 'visible' });
|
||||
|
||||
debug('opening conversation');
|
||||
|
||||
Reference in New Issue
Block a user