Skip to main content

Crate smix_fixture

Crate smix_fixture 

Source
Expand description

smix-fixture — fixture chip registry.

§Purpose

The - fixture: <id> yaml verb (in smix-adapter-maestro) looks up <id> in a JSON registry to find:

  • testID — the a11y id of the chip in the QA overlay to tap
  • signal — the log line regex the chip emits when its seed operation completes
  • timeoutMs — how long to wait for the signal

smix reads the registry once per run from a path resolved via .smix/config.json fixturesRegistry field.

§Format

JSON:

{
  "version": 1,
  "fixtures": {
    "prime-search-history": {
      "testID": "qa-chip-prime-search-history",
      "signal": {
        "regex": "\\[fixture\\] prime-search-history: seeded (\\d+) rows",
        "level": "log"
      },
      "timeoutMs": 8000
    }
  }
}

Structs§

FixtureDecl
One fixture chip declaration.
FixtureRegistry
Loaded registry.
SignalMatcher
Signal matcher (mirrors smix_metro_log::SignalMatcher at the wire level).

Enums§

RegistryError