From bed0c2d99ee894b5bfd97403081dc14e1fe6ca02 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 9 May 2026 11:23:10 +0000 Subject: [PATCH] Docs: Drop stale tauri-playwright fork references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `apps/desktop/test/CLAUDE.md`: replace the "fork at `vdavid/tauri-playwright`" claim with the actual setup — upstream `tauri-plugin-playwright` (crates.io) and `@srsholmes/tauri-playwright` (npm). - `docs/specs/tauri-playwright-plan.md`: add a status note up top clarifying that the migration shipped on upstream `0.2.2` and no fork was created. Plan details below remain as historical record. --- apps/desktop/test/CLAUDE.md | 6 +++--- docs/specs/tauri-playwright-plan.md | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/apps/desktop/test/CLAUDE.md b/apps/desktop/test/CLAUDE.md index 658d71e8..ba097b02 100644 --- a/apps/desktop/test/CLAUDE.md +++ b/apps/desktop/test/CLAUDE.md @@ -6,9 +6,9 @@ | ---------------------------------- | ------------------------- | --------------------------------- | ---------------------------------------------------------------------- | | **Playwright** (`e2e-playwright/`) | Playwright + tauri-plugin | macOS (native) and Linux (Docker) | Full app: dialogs, keyboard nav, file ops, settings, viewer, a11y, MTP | -**Playwright suite** uses `tauri-plugin-playwright` (fork at `vdavid/tauri-playwright`) which injects JS directly into -the Tauri webview via `webview.eval()` and receives results via Tauri IPC. Same tests work on both macOS and Linux. -Gated behind the `playwright-e2e` Cargo feature. +**Playwright suite** uses upstream `tauri-plugin-playwright` (Rust, crates.io) and `@srsholmes/tauri-playwright` (npm), +which inject JS directly into the Tauri webview via `webview.eval()` and receive results via Tauri IPC. Same tests work +on both macOS and Linux. Gated behind the `playwright-e2e` Cargo feature. **Linux Docker infrastructure** lives in `e2e-linux/docker/` (Dockerfile + entrypoint). The `e2e-linux.sh` script builds the Tauri binary with `--features playwright-e2e,virtual-mtp` inside Docker, launches it, and runs the Playwright tests. diff --git a/docs/specs/tauri-playwright-plan.md b/docs/specs/tauri-playwright-plan.md index 5b748247..508eab04 100644 --- a/docs/specs/tauri-playwright-plan.md +++ b/docs/specs/tauri-playwright-plan.md @@ -1,9 +1,14 @@ # Replace WebDriverIO + CrabNebula with tauri-playwright +> **Status (post-implementation)**: Shipped using upstream `tauri-plugin-playwright` (crates.io) and +> `@srsholmes/tauri-playwright` (npm), both at `0.2.2` — no fork was needed. References below to a `vdavid/tauri-playwright` +> fork describe the original plan; in practice the architectural improvements landed without one. This doc is kept as a +> historical record of the migration. + ## Goal Replace the current dual E2E setup (WebDriverIO + tauri-driver on Linux, WebDriverIO + CrabNebula on macOS) with a -single Playwright-based test suite using a forked and improved `tauri-playwright` plugin. This eliminates the CrabNebula +single Playwright-based test suite using an improved `tauri-playwright` plugin. This eliminates the CrabNebula dependency, removes platform-specific WebDriver quirks, and enables running the same tests on both macOS and Linux. ## Why