Pause Google one-click connect pending CASA verification

Gmail/Calendar/Drive show a disabled Coming-soon button; the server refuses the flow too.
Manual token connect and already-connected accounts are untouched.
This commit is contained in:
Rohit C Prasad
2026-07-23 07:43:24 -07:00
committed by Rohit P
parent 71b0df8ea2
commit 2a2fffd280
11 changed files with 159 additions and 13 deletions
+4
View File
@@ -399,6 +399,10 @@ export async function mockApi(page: import("@playwright/test").Page) {
});
// Gmail — PER-TEST multi-account state (starts disconnected; managed connects add
// mailboxes instantly, mirroring the backend's gmail:account:<email> profiles).
// NOTE: the real server currently sends managed_paused: true for the Google trio
// (CASA pending). The fixture keeps gmail UNPAUSED because the cloud-machinery specs
// use its one-click as their subject; the paused UI is covered by google-paused.spec.ts
// via a per-test connectors override.
const gmailState = {
accounts: [] as {
email: string; default: boolean; managed: boolean; scopes: string; needs_reauth: boolean;