victauri-test
Playwright-style testing for Tauri apps via Victauri.
What It Does
Typed HTTP client for the Victauri MCP server with high-level convenience methods:
- Playwright-style API —
click_by_text,fill_by_id,expect_text,select_by_id - IPC verification — call logs, checkpoints, ghost command detection, coverage tracking
- Visual regression — pixel-level screenshot comparison with baseline snapshots
- Fluent assertions — chain DOM, IPC, network, and coverage checks in one report
- State comparison — cross-boundary frontend/backend verification
- Accessibility audits — WCAG violation assertions
- Performance budgets — load time and heap size guards
Quick Start
[]
= "0.1"
= { = "1", = ["rt-multi-thread", "macros"] }
use ;
e2e_test!;
Fluent Verification
let report = client.verify
.has_text
.ipc_was_called
.no_console_errors
.coverage_above
.run.await?;
report.assert_all_passed;
Visual Regression
use VisualOptions;
let opts = VisualOptions ;
let diff = client.screenshot_visual.await?;
assert!;
IPC Coverage
use coverage_report;
let report = coverage_report.await?;
assert!;
License
Apache-2.0