readSync mock test: look for visibility of last item
This commit is contained in:
parent
e54648a13f
commit
1c9b09fd7c
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue