playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] Disable pause() when running playwright tests on remote browsers

Open vvs11 opened this issue 1 year ago • 2 comments

Let us know what functionality you'd like to see in Playwright and what your use case is.

Sometimes 'pause()' is left unintentionally in the code. When the tests are run on remote browser, they don't get executed. If tests are run on remote browser, automatically disable pause()

Do you think others might benefit from this as well? Yes

vvs11 avatar May 16 '23 14:05 vvs11

I consider it a good stuff. There could be an additional parameter in the config, similar to forbidOnly to handle this.

gskierk avatar May 17 '23 16:05 gskierk

Looking forward to forbidPause. This will save us a lot of time in the CI.

amalsgit avatar May 25 '23 10:05 amalsgit

i use 1.37.1 version but mi azure ci stop when reach pause()

daniavander avatar Aug 24 '23 10:08 daniavander

sorry i ised in a pge fil await this.page.pause() command and my ci stopped due to this

daniavander avatar Aug 24 '23 13:08 daniavander