Skip to content

Add unit/integration tests #4

@kiyeonjeon21

Description

@kiyeonjeon21

Zero tests across all three crates. cargo test runs 0 tests.

High-value targets

  • element_map.rs — round-trip serialization (save → load → verify refs match)
  • snap/compressor.rs — element grouping under section headings
  • snap/extractor.rs — DOM node filtering, AX tree merging
  • record/workflow.rs — save/load/list/delete across project and user scope
  • record/recorder.rs — step recording, state persistence
  • record/replay.rs — replay engine with all command types

Nice to have

  • action/ — CDP command execution (needs mock transport or integration test with Chrome)
  • session/ — save/load cookie/localStorage round-trip
  • read/ — markdown output formatting

Integration tests that launch Chrome are expensive but would catch real regressions. Could gate behind a feature flag or --ignored tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions