Skip to content

Commit 925c7f2

Browse files
committed
Increase allowed resource size to 10MB
1 parent 2b4a32d commit 925c7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/processSnapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { scrollToBottomAndBackToTop, getRenderViewports } from "./utils.js"
33
import { chromium, Locator } from "@playwright/test"
44
import constants from "./constants.js";
55

6-
const MAX_RESOURCE_SIZE = 5 * (1024 ** 2); // 5MB
6+
const MAX_RESOURCE_SIZE = 10 * (1024 ** 2); // 10MB
77
var ALLOWED_RESOURCES = ['document', 'stylesheet', 'image', 'media', 'font', 'other'];
88
const ALLOWED_STATUSES = [200, 201];
99
const REQUEST_TIMEOUT = 10000;

0 commit comments

Comments
 (0)