Skip to content

Commit 3399958

Browse files
committed
set dafult value of waitForPageRender config
1 parent c5dc388 commit 3399958

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/smartui-cli",
3-
"version": "4.1.25",
3+
"version": "4.1.26",
44
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
55
"files": [
66
"dist/**/*"

src/lib/ctx.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ export default (options: Record<string, string>): Context => {
101101
useLambdaInternal = true;
102102
}
103103

104+
//if config.waitForPageRender has value and if its less than 30000 then make it to 30000 default
105+
if (config.waitForPageRender && config.waitForPageRender < 30000) {
106+
config.waitForPageRender = 30000;
107+
}
108+
104109
return {
105110
env: env,
106111
log: logger,

0 commit comments

Comments
 (0)