Skip to content

Commit 72a8baf

Browse files
committed
RTC: Fix collaboration presence E2E test
1 parent ac53900 commit 72a8baf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/e2e/specs/editor/collaboration/collaboration-presence.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ test.describe( 'Collaboration - Presence', () => {
4343
await presenceButton.click();
4444

4545
// The popover should list the second collaborator by name.
46-
await expect( page.getByText( 'Test Collaborator' ) ).toBeVisible();
46+
await expect(
47+
page.locator( '.editor-collaborators-presence__list-item-name', {
48+
hasText: 'Test Collaborator',
49+
} )
50+
).toBeVisible();
4751
} );
4852
} );

0 commit comments

Comments
 (0)