Skip to content

Commit

Permalink
Merge pull request #81 from pinanks/increase-allowed-resource-size
Browse files Browse the repository at this point in the history
Release v3.0.6
  • Loading branch information
arushsaxena1998 authored May 14, 2024
2 parents 2b4a32d + fe96f67 commit a9fa6e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lambdatest/smartui-cli",
"version": "3.0.5",
"version": "3.0.6",
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
"files": [
"dist/**/*"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/processSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { scrollToBottomAndBackToTop, getRenderViewports } from "./utils.js"
import { chromium, Locator } from "@playwright/test"
import constants from "./constants.js";

const MAX_RESOURCE_SIZE = 5 * (1024 ** 2); // 5MB
const MAX_RESOURCE_SIZE = 10 * (1024 ** 2); // 10MB
var ALLOWED_RESOURCES = ['document', 'stylesheet', 'image', 'media', 'font', 'other'];
const ALLOWED_STATUSES = [200, 201];
const REQUEST_TIMEOUT = 10000;
Expand Down

0 comments on commit a9fa6e3

Please sign in to comment.