mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-11 14:50:14 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user