Skip to content

Commit fe5f6b4

Browse files
committed
test: fix tests on example com
1 parent 237363a commit fe5f6b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/tools/launch-browser.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ describe(
139139
},
140140
});
141141

142-
expect(launchResult.isError).toBe(false);
143142
const launchContent = launchResult.content as Array<{ type: string; text: string }>;
144143
expect(launchContent[0].text).toBe("Successfully launched browser session");
145144

test/tools/navigate.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ describe(
5959
expect(responseText).toContain("Title: Example Domain");
6060

6161
expect(responseText).toContain("## Current Tab Snapshot");
62-
expect(responseText).toContain("This domain is for use in illustrative examples in documents.");
62+
expect(responseText).toContain(
63+
"This domain is for use in documentation examples without needing permission. Avoid use in operations.",
64+
);
6365
});
6466
});
6567

0 commit comments

Comments
 (0)