mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-30 16:34:56 -04:00
Merge pull request #2776 from lightpanda-io/remove_external_connection_from_unit_test
tests: remove external connection from unit tests
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -1287,10 +1287,10 @@ test "MCP - press Enter on form input triggers submit (lowercase alias)" {
|
||||
test "MCP - getCookies: defaults to current page, url filter, all flag" {
|
||||
defer testing.reset();
|
||||
var out: std.io.Writer.Allocating = .init(testing.arena_allocator);
|
||||
const server = try testLoadPage("http://example.com/", &out.writer);
|
||||
const server = try testLoadPage("http://localhost:9582/src/browser/tests/mcp_press_form.htm", &out.writer);
|
||||
defer server.deinit();
|
||||
|
||||
try server.session.cookie_jar.populateFromResponse("http://example.com/", "session=abc; Path=/");
|
||||
try server.session.cookie_jar.populateFromResponse("http://localhost:9582", "session=abc; Path=/");
|
||||
try server.session.cookie_jar.populateFromResponse("http://other.test/", "tracking=xyz; Path=/");
|
||||
|
||||
const default_msg =
|
||||
|
||||
Reference in new issue
Block a user