Not able to see the browser tab when run tests from jenkins

Hi,

We have an QA Automation done using playwright and we run it from Jenkins by below command

npm run test test-failing – --tags @SQLScript --SITE=%SITE% || node reporters/Email-report.js

So in this test basically we are using QA Automation which open new browser tab automatically and do testing of our application, When we run from the VSCode it opend Chromer tab properly and testing happens,

But when we run this from Jenkins, The test runs but we are not able to new browser tab (However it is opened in backend and we can see from task manager)

I tried below things:

  • In jenkins service properties set “Allow service to interact with desktop” but it did not helped.

Can you please help me on it.

Hi,

Can anyone please give some hint on this issue?