test(chrome): compare both selector matchers over one live page

Selector matching is written once per runtime: internal/hierarchy over the
dump, web-runtime.ts over the DOM. Nothing made the two agree, and a
selector that resolves on one and not the other is silent, since an empty
match yields no action and the run still passes.
This commit is contained in:
pj committed 2026-08-13 00:28:16 +05:30
1 parent bf3f230b1b
commit c77b78d63b
4 files changed
+173

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<!doctype html>
<html id="page" lang="en">
<head id="page-head">
<meta id="page-charset" charset="utf-8" />
<title id="page-title">selector parity</title>
</head>
<body id="page-body">
<div id="summary_card" aria-label="summary_card, 3 customers">summary</div>
<div id="customer_list" aria-label="customer_list">
<div id="customer_row_a1" aria-label="customer_row_a1, Alice">Alice</div>
<div id="customer_row_b2" aria-label="customer_row_b2, Bob">Bob</div>
<div id="supplier_row_c3" aria-label="supplier_row_c3, Carol">Carol</div>
</div>
</body>
</html>