Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(cli): remove duplicate browser discovery case

morlutodcb036292e97
diff --git a/tests/boundary/cli/browserCli.test.ts b/tests/boundary/cli/browserCli.test.ts
index 7a92bbebb..9a3ec3acb 100644
--- a/tests/boundary/cli/browserCli.test.ts
+++ b/tests/boundary/cli/browserCli.test.ts
@@ -236,34 +236,6 @@ describe("browser CLI capture parity", () => {
);
});
-describe("browser CLI configured access", () => {
- it(
- "uses the configured endpoint without a redundant request approval flag",
- async () => {
- const browser = await startFakeCdpBrowser();
- browsers.push(browser);
- const result = await runCli(
- ["list-browser-targets", browser.endpoint, "--json"],
- {
- ...process.env,
- REA_BROWSER_OBSERVE_ENABLED: "true",
- REA_BROWSER_CDP_ENDPOINTS_JSON: JSON.stringify([browser.endpoint]),
- REA_BROWSER_ALLOWED_ORIGINS_JSON: JSON.stringify([
- browser.allowedOrigin,
- ]),
- },
- );
- expect(result).toMatchObject({
- operation: "list_browser_targets",
- normalized_result: {
- targets: [{ target_id: "allowed-page" }],
- },
- });
- },
- INTEGRATION_TEST_TIMEOUT_MS,
- );
-});
-
const runCli = async (
arguments_: readonly string[],
environment: NodeJS.ProcessEnv,