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?"
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.
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.