Remove hardcoded editor actor, add revision toolbar/history/compare panels, conflict banner, and notification status actions. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
555 B
TypeScript
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 });
|
|
});
|
|
});
|