Rayrun
← Back to Discord Forum

controlling exitcode

Hello all, I have playwright running in k8s pod. But right away when tests are finished, playwright returns exitcode, which kills the pod. Is there a way to delay and control when the exit code will show?

This thread is trying to answer question "Is there a way to delay and control when the exit code will show in a playwright running in a k8s pod?"

4 replies

I think no but you can change the exit code via custom reporter if that helps

Or adding some wait in custom reporter, that would prevent exiting until it resolves

I am interested when actually in the custom reporter the exitcode will return. Is it on onExit?

I think so

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.