# DocumentsPage

**Kind:** Class

**Source:** [`atloria-monorepo/apps/web-e2e/src/pages/documents.page.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web-e2e/src/pages/documents.page.ts#L7)

Documents list page object

**Extends:** `BasePage`

## Methods

| Method | Signature | Returns |
|---|---|---|
| `goto` | `goto()` | `Promise<void>` |
| `getDocumentCards` | `getDocumentCards()` | `Locator` |
| `getDocumentByTitle` | `getDocumentByTitle(title: string)` | `Locator` |
| `search` | `search(query: string)` | `Promise<void>` |
| `clearSearch` | `clearSearch()` | `Promise<void>` |
| `clickNewDocument` | `clickNewDocument()` | `Promise<void>` |
| `openDocument` | `openDocument(title: string)` | `Promise<void>` |
| `editDocument` | `editDocument(title: string)` | `Promise<void>` |
| `deleteDocument` | `deleteDocument(title: string)` | `Promise<void>` |
| `getDocumentCount` | `getDocumentCount()` | `Promise<number>` |
| `isEmpty` | `isEmpty()` | `Promise<boolean>` |
| `filterByType` | `filterByType(type: string)` | `Promise<void>` |
| `sortBy` | `sortBy(option: string)` | `Promise<void>` |

## Properties

| Property | Type |
|---|---|
| `newDocumentButton` | `Locator` |
| `searchInput` | `Locator` |
| `documentList` | `Locator` |
| `filterDropdown` | `Locator` |
| `sortDropdown` | `Locator` |
| `emptyState` | `Locator` |
