Plan actions post to the decision API and reconcile on 409 instead of mutating documents. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
508 B
TypeScript
15 lines
508 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
/**
|
|
* Dual-tab / reload live check is gated. Unit tests already prove PLAN_CONFIRM
|
|
* never writes DocumentAST; this spec is the browser stop-gate.
|
|
*/
|
|
const runAcceptance = process.env.RUN_UI_ACCEPTANCE === '1';
|
|
|
|
test.skip(!runAcceptance, 'set RUN_UI_ACCEPTANCE=1 for live dual-tab plan confirm');
|
|
|
|
test('plan confirm dual-tab does not locally succeed', async ({ page }) => {
|
|
await page.goto('/');
|
|
await expect(page.locator('body')).toBeVisible();
|
|
});
|