Closed HugoImaios closed 5 months ago
it comes from https://github.com/artilleryio/artillery/blob/c8adbb73a431431430a96203b8dac432526390cc/packages/artillery-engine-playwright/index.js#L17 and https://github.com/artilleryio/artillery/blob/c8adbb73a431431430a96203b8dac432526390cc/packages/artillery-engine-playwright/index.js#L22
0
is falsy so ||
will return the right operand, the default 30
falsy values strike again! mind sending a quick PR? :)
Yup ! I did the fork, I'll open one on monday, I need 0 timeout lol
do you prefere a one-liner style or a cleaner const one ? lets discuss this in the PR, sorry
When setting a
0
value for defaultNavigationTimeout, defaultPageTimeout or defaultTimeout, artillery fallback on 30s.Version info:
Using this config:
I expected to see this happen:
having a 0 timeout (no timeout)
Instead, this happened:
30s timeout is used