fix(browser): contain scenario pages and preserve inputs

This commit is contained in:
morluto
2026-07-24 14:14:15 +00:00
parent f0069cbee4
commit 24b3dc41df
7 changed files with 191 additions and 23 deletions
+6
View File
@@ -194,6 +194,12 @@ const validateRequestReplay = (
);
return;
}
assertUnique(
route.response.headers.map(({ name }) => name.toLowerCase()),
["request_replay", "routes", routeIndex, "response", "headers"],
"Replay response header names",
context,
);
route.response.headers.forEach((header, headerIndex) => {
if (FORBIDDEN_REPLAY_HEADERS.has(header.name))
addIssue(