Rayrun
← Back to Discord Forum

azure pipeline job error - Test failed

I have run my testcases in azure pipeline but its not working and bash exited with code '1' error received. PFA

image.png

This thread is trying to answer question "Why am I receiving a 'bash exited with code 1' error when running test cases in Azure pipeline?"

5 replies
refactoreric

Hi, there should be more information about the precise error in Azure pipelines/Azure DevOps/GitHub actions. The information you posted here is not sufficient to troubleshoot the issue.

@refactoreric: This is my log file

This is my log file

PFA

refactoreric

These two messages from logs_4/Job/4_npm install and build.txt provide important clues: npm WARN notsup Unsupported engine for playwright@1.39.0: wanted: {"node":">=16"} (current: {"node":"12.22.12","npm":"6.14.16"})

npm ERR! missing script: build

You seem to have a too old version of NodeJS (Playwright requires at least version 16).

And you seem to be calling a package.json script which does not exist.

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.