Files
Agent-System/web/e2e/document-revision.spec.ts
T
weichenandCursor 9aafe7bd37 feat(web): persist block edits via revision API and compare UI
Remove hardcoded editor actor, add revision toolbar/history/compare
panels, conflict banner, and notification status actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 06:15:20 +00:00

15 lines
555 B
TypeScript

import { test, expect } from '@playwright/test';
/**
* Smoke coverage for DOCREV toolbar / compare entry points.
* Full dual-user conflict E2E requires authenticated env fixtures.
*/
test.describe('document revision UI', () => {
test.skip(!process.env.DOCREV_E2E_BASE_URL, 'set DOCREV_E2E_BASE_URL to run');
test('toolbar renders version history control', async ({ page }) => {
await page.goto(process.env.DOCREV_E2E_BASE_URL!);
await expect(page.getByRole('button', { name: '版本历史' })).toBeVisible({ timeout: 30_000 });
});
});