feat(native): add inspection primitives, dispatch traces and approved UI observation (#500)
* fix(hopper): normalize string-backed addresses and update verification * feat(native): add inspection primitives, dispatch traces and approved UI observation * test: prioritize real artifact E2E and captured golden regressions * fix(process): queue observed output before reactive rendering actions * test: prune redundant cases and strengthen boundary assertions * fix(cli): route native value tracing through shared workflows * test: replace synthetic success with real workflows and captured data * fix(catalog): separate portable metadata from native host availability
This commit is contained in:
@@ -48,7 +48,19 @@ describe("stable web inventory", () => {
|
||||
};
|
||||
|
||||
it("excludes transient CDP and target identity from script keys", () => {
|
||||
expect(stableWebScriptKey(script)).toBe(stableWebScriptKey({ ...script }));
|
||||
const first = {
|
||||
...script,
|
||||
script_id: "session-one-script",
|
||||
target_id: "tab-one",
|
||||
capture_id: "capture-one",
|
||||
};
|
||||
const second = {
|
||||
...script,
|
||||
script_id: "session-two-script",
|
||||
target_id: "tab-two",
|
||||
capture_id: "capture-two",
|
||||
};
|
||||
expect(stableWebScriptKey(first)).toBe(stableWebScriptKey(second));
|
||||
expect(stableWebScriptKey({ ...script, length: 1_025 })).not.toBe(
|
||||
stableWebScriptKey(script),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user