How To Run Playwright With Jenkins | Integrate Playwright With Jenkins
Вставка
- Опубліковано 6 тра 2024
- In this tutorial, we will discuss integration of Playwright with Jenkins. I will explain the process of setting up and configuring Playwright with Jenkins.
This video is divided into 2 parts.
Part 1 - Running local playwright test using Jenkins
Part 2 - Running playwright test from github using Jenkins
Imp links:
Jenkins - • How To Install Jenkins...
Playwright With Jenkins - playwright.dev/docs/ci
Playwright CLI Commands - playwright.dev/docs/test-cli - Наука та технологія
Hey Mukesh
Please make a video for web scraping by using playwright
line 2: npm: command not found
Build step 'Execute shell' marked build as failure is the error i get as i am doing it on mac
You need to install node js where jenkins is running and make sure u add in tools location in Jenkins.
am running on mac , so when i gave the command node --version and build the project as you did, it failed for me , yes i have node installed on my mac
Set node path in Jenkins
Hello Mukesh Sir, i have installed Jenkins on EC2 and download all the dependencies , but while running the job ,I always gets the error that node version is lower, even if its more than required, have u ever encounter such error
Min Node version needed is 14+ . I will prefer 18
Hi Mukesh, If we are running on linux jenkins, do we need to install chromium or it will execute in backed? or do we need docker to execute the testcases?
Great share mukesh!
Thanks Guna
hello sir which jenkins version you used in this video.?
latest one
could you please share the git url of this
Here you go github.com/Mukesh-50/PlaywrightDemo
Hi mukesh sir,
Very helpful video
I m facing below issue, could you please help me
Facing below issue, even after install and update playwright and chromium
Error: browserType.launch: Executable doesn't exist at /home/jenkins/.cache/ms-playwright/chromium-1117/chrome-linux/chrome