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 }); }); });