test(browser): use neutral scenario fixture identifiers

This commit is contained in:
morluto
2026-07-24 13:28:31 +00:00
parent 94a2c6013d
commit fd25a7e15a
2 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -128,17 +128,17 @@ const scenario = (origin = "https://app.example.test") => ({
},
actions: [
{
step_id: "password",
step_id: "login-input",
action: "fill",
locator: { kind: "test_id", value: "password" },
value: { source: "secret", secret_id: "password" },
value: { source: "secret", secret_id: "login_input" },
},
],
storage: {},
request_replay: { mode: "disabled" },
secrets: [
{
secret_id: "password",
secret_id: "login_input",
environment_variable: "REA_TEST_PASSWORD",
purpose: "input",
redaction: "replace-with-secret-reference",
@@ -220,7 +220,7 @@ describe("browser scenario MCP tool", () => {
expect(captured.structuredContent).toMatchObject({
result: {
scenario: {
secret_references: ["password"],
secret_references: ["login_input"],
},
},
});