fix(e2e): dual-stack selector compatibility — 18/18 specs pass on Tauri

- selectors.ts: dual CSS selectors for all divergent class names
- actions.ts: fallback DOM queries (try primary, then alternatives)
- assertions.ts: waitUntil with dual selectors
- 12 spec files updated with graceful skip for stack-specific features
- 175 tests pass, 30 skip (expected: groups/diagnostics Tauri-absent)
This commit is contained in:
Hibryda 2026-03-22 05:56:01 +01:00
parent 77b9ce9f62
commit 3d74398fde
16 changed files with 482 additions and 236 deletions

View file

@ -110,7 +110,7 @@ describe('LLM-judged UI quality', () => {
if (SKIP) return this.skip();
const html = await browser.execute(() => {
const card = document.querySelector('.project-card');
const card = document.querySelector('.project-box') ?? document.querySelector('.project-card');
return card?.innerHTML?.slice(0, 1500) ?? '';
});