feat(w2): ship v1.3.0 project pack UI, preload, and E2E
Wire .novel/.novel-all export-import through modals, settings backup, and home bulk export with progress IPC. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -62,6 +62,16 @@ export async function openExportModal(page: Page): Promise<void> {
|
||||
await expect(modal).toBeVisible({ timeout: 10_000 })
|
||||
}
|
||||
|
||||
export async function openExportAllModal(page: Page): Promise<void> {
|
||||
await page.getByTestId('home-export-all').click()
|
||||
await expect(page.getByTestId('export-all-modal')).toBeVisible({ timeout: 10_000 })
|
||||
}
|
||||
|
||||
export async function openImportBookModal(page: Page): Promise<void> {
|
||||
await page.getByTestId('home-import-book').click()
|
||||
await expect(page.getByTestId('import-book-modal')).toBeVisible({ timeout: 10_000 })
|
||||
}
|
||||
|
||||
export async function openBookSettings(page: Page): Promise<void> {
|
||||
await page.getByTestId('panel-tab-book-settings').click()
|
||||
await expect(page.getByTestId('book-settings-tab')).toBeVisible({ timeout: 10_000 })
|
||||
|
||||
Reference in New Issue
Block a user