Commit Graph

74 Commits

Author SHA1 Message Date
Yanzhen Yu
17751e528d fix character data test snapshot with latest puppeteer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
ebaa318d54 update typescript and fix test cases 2026-04-01 12:00:00 +08:00
Yanzhen Yu
931f71e738 update mutation observer handler
1. deep delete from adds set when node was dropped
2. remove node from dropped set when node was added again
2026-04-01 12:00:00 +08:00
yz-yu
329de4e9f7 update dependencies and generate typings (#44) 2026-04-01 12:00:00 +08:00
yz-yu
ca61d6b19e fix remove node observer and check on the result of getNode (#43)
* check removed node and its parent before collect

* add more more checks on the result of getNode
2026-04-01 12:00:00 +08:00
yz-yu
081781d1ca add checkout config to recorder (#36)
* add checkout config to recorder

* add test cases for checkout feature and extract assertSnapshot method
2026-04-01 12:00:00 +08:00
Yanzhen Yu
e4cb91e1e6 fix block strategy
If an element was blocked, its child nodes should also be blocked.
The interactions and mutations on the element and its child nodes
also need to be blocked.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
97f1c30a37 add some unit tests to replayer 2026-04-01 12:00:00 +08:00
Yanzhen Yu
9a4640fa98 update puppeteer to use setContent with wait and housekeeping the declaration files 2026-04-01 12:00:00 +08:00
Yanzhen Yu
86beabd2bb resolve #1 add ignore and block strategy for privacy purpose 2026-04-01 12:00:00 +08:00
Yanzhen Yu
b065b22f09 refactor the repl tool to support multipage apps and better dev 2026-04-01 12:00:00 +08:00
Yanzhen Yu
92faf502d0 add bundle watch 2026-04-01 12:00:00 +08:00
Yanzhen Yu
3cfe0c56b8 ignore href in integration test to avoid fail when code changed 2026-04-01 12:00:00 +08:00
Yanzhen Yu
c30cc04548 fix repl rollup config 2026-04-01 12:00:00 +08:00
Yanzhen Yu
632c6de677 update test command 2026-04-01 12:00:00 +08:00
Yanzhen Yu
500f89b1d0 add a repl mode for quick test 2026-04-01 12:00:00 +08:00
Yanzhen Yu
cbe80dbd2e also resolve missing previous node 2026-04-01 12:00:00 +08:00
Yanzhen Yu
d3948d982e temp hack the integration test cases 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7c04836709 add travis build 2026-04-01 12:00:00 +08:00
Yanzhen Yu
4e0c401583 add select2.html snapshot test 2026-04-01 12:00:00 +08:00
Yanzhen Yu
6ce32f7994 filter text and attributes mutations which target tot a removed node 2026-04-01 12:00:00 +08:00
Yanzhen Yu
7c35cb2f49 check added nodes from removed nodes and dropped nodes 2026-04-01 12:00:00 +08:00
Yanzhen Yu
f75748674f impl dynamic config and pause. Bump 0.3.0 2026-04-01 12:00:00 +08:00
Yanzhen Yu
5bbc29ef1a add test infra and a basic record integration test 2026-04-01 12:00:00 +08:00