mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-30 17:25:58 -04:00
Merge pull request #2845 from lightpanda-io/slience_test_log
minor: silence log in test that intentionally generates an error
This commit is contained in:
@@ -1396,6 +1396,9 @@ test "cdp.frame: navigate does not follow Location on a non-redirect 3xx" {
|
||||
}
|
||||
|
||||
test "cdp.frame: navigate answers with errorText when the navigation fails" {
|
||||
const filter: testing.LogFilter = .init(&.{.frame});
|
||||
defer filter.deinit();
|
||||
|
||||
// A root navigation that fails before commit (here: connection refused —
|
||||
// nothing listens on port 1) must still answer the Page.navigate command.
|
||||
// Chrome resolves it with an errorText field ("present if and only if
|
||||
|
||||
Reference in New Issue
Block a user