# DocumentEditPage

**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#L141)

Document edit page object

**Extends:** `BasePage`

## Methods

| Method | Signature | Returns |
|---|---|---|
| `goto` | `goto(documentId: string)` | `Promise<void>` |
| `setTitle` | `setTitle(title: string)` | `Promise<void>` |
| `getTitle` | `getTitle()` | `Promise<string>` |
| `setContent` | `setContent(content: string)` | `Promise<void>` |
| `getContent` | `getContent()` | `Promise<string>` |
| `waitForSave` | `waitForSave()` | `Promise<void>` |
| `clickDone` | `clickDone()` | `Promise<void>` |
| `setType` | `setType(type: string)` | `Promise<void>` |
| `setSlug` | `setSlug(slug: string)` | `Promise<void>` |
| `toggleAudience` | `toggleAudience(audience: string)` | `Promise<void>` |
| `openSettings` | `openSettings()` | `Promise<void>` |

## Properties

| Property | Type |
|---|---|
| `titleInput` | `Locator` |
| `editor` | `Locator` |
| `saveStatus` | `Locator` |
| `doneButton` | `Locator` |
| `settingsButton` | `Locator` |
| `typeSelect` | `Locator` |
| `slugInput` | `Locator` |
