From e6f08c63190f43417fe1d89c6467df4fe7778cbe Mon Sep 17 00:00:00 2001 From: Aqil Aziz Date: Fri, 22 May 2026 18:13:21 +0700 Subject: [PATCH] docs(e2e): add desktop deep-link smoke (#2389) --- gitbooks/developing/e2e-testing.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gitbooks/developing/e2e-testing.md b/gitbooks/developing/e2e-testing.md index 1a67782b0..d7758d142 100644 --- a/gitbooks/developing/e2e-testing.md +++ b/gitbooks/developing/e2e-testing.md @@ -119,6 +119,19 @@ Use `waitForTestId(testId)` and `clickTestId(testId)` from `element-helpers.ts` - **tauri-driver**: `browser.execute(window.__simulateDeepLink(url))` (primary), `xdg-open` (fallback) - **Appium Mac2**: `macos: deepLink` extension command (primary), `open -a ...` (fallback) +For release candidates, also run one manual secondary-instance smoke on Linux +or macOS when touching CEF preflight, single-instance, or deep-link startup +code: + +1. Launch OpenHuman normally and leave it running. +2. Trigger `openhuman://auth?token=e2e-token&key=auth` through the OS opener. +3. Confirm the already-running window receives the callback and does not start + a second full CEF instance. +4. Confirm the secondary process exits cleanly without a CEF cache-lock error. + +This catches the class of regressions where a secondary process exits during +CEF cache preflight before Tauri's deep-link forwarding path is installed. + ### Writing cross-platform specs 1. **Use helpers** from `element-helpers.ts`, never use raw `XCUIElementType*` selectors in specs