Kind: Class
Source: atloria-monorepo/apps/web-e2e/src/pages/collaboration.page.ts
Collaboration feature page object
Extends: BasePage
Methods
| Method | Signature | Returns |
|---|---|---|
goto | goto() | Promise<void> |
getUserCursors | getUserCursors() | Locator |
getCursorCount | getCursorCount() | Promise<number> |
getPresenceIndicators | getPresenceIndicators() | Locator |
getCollaboratorCount | getCollaboratorCount() | Promise<number> |
getConnectionStatus | getConnectionStatus() | `Promise<'connected' |
waitForConnection | waitForConnection() | Promise<void> |
getUserByName | getUserByName(name: string) | Locator |
isUserPresent | isUserPresent(name: string) | Promise<boolean> |
openShareDialog | openShareDialog() | Promise<void> |
getCursorPosition | getCursorPosition(userName: string) | `Promise<{ x: number; y: number } |
getCollaboratorColor | getCollaboratorColor(userName: string) | `Promise<string |
isStatusBarVisible | isStatusBarVisible() | Promise<boolean> |
getStatusBarText | getStatusBarText() | Promise<string> |
simulateDisconnection | simulateDisconnection() | Promise<void> |
waitForReconnection | waitForReconnection() | Promise<void> |
Properties
| Property | Type |
|---|---|
statusBar | Locator |
userCursors | Locator |
presenceIndicators | Locator |
connectionStatus | Locator |
userList | Locator |
shareButton | Locator |
Where it refuses work
CollaborationPagestops the work with an early return whentext?.toLowerCase().includes('connected').CollaborationPagestops the work with an early return whentext?.toLowerCase().includes('connecting').CollaborationPagestops the work with an early return when!(await cursor.isVisible()).CollaborationPagestops the work with an early return when!box.CollaborationPagestops the work with an early return when!(await indicator.isVisible()).
Was this page helpful?