brewlog/tests/e2e/helpers/mod.rs
Jon Seager 73976cbe51
feat(test): add e2e browser test helpers
BrowserSession wraps headless Chrome via thirtyfour. Auth helper injects
session cookies to bypass WebAuthn. Wait helpers handle Datastar's async
DOM updates (visibility, text, URL). Form helpers find visible elements
to avoid hidden duplicates on tabbed pages. Chromedriver is auto-spawned
on first use via a dedicated parked thread with PR_SET_PDEATHSIG so the
kernel kills it when the test binary exits.
2026-02-10 10:44:47 +00:00

9 lines
163 B
Rust

#[allow(dead_code)]
#[path = "../../server/helpers.rs"]
pub mod server_helpers;
pub mod auth;
pub mod browser;
pub mod chromedriver;
pub mod forms;
pub mod wait;