How To Run Playwright With Jenkins | Integrate Playwright With Jenkins

preview_player
Показать описание
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:
Рекомендации по теме
Комментарии
Автор

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

aparnausa
Автор

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

chandansharma-opik
Автор

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

aparnausa
Автор

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?

mayankgupta
Автор

Will this playlist be enough to help me succeed in a Playwright Automation interview?

RahulSharma-syeo
Автор

Hey Mukesh
Please make a video for web scraping by using playwright

samkip
Автор

Hi Mukesh,

How can I run 2 tests in codeceptjs playwright having files with unique names? Ex : I have multiple files having *_test.js files, But i need to run 2 test files only [aws_test.js AND azure_test.js]
I tried running below command, but it picks only 1 test file which is aws_test.js
npx codeceptjs run ./src/tests/admin/aws_test.js

I cant run using --grep with tags, Since same tags are present in other test files as well. And when i run it with grep it runs other test files which matches with that tag.
Is there any other way where I can specify multiple test files by file name? Similar to TestNG where we specify multiple class names in testng.xml file

wilsonfernandes
Автор

could you please share the git url of this

aparnausa
Автор

hello sir which jenkins version you used in this video.?

mitchelstarc
Автор

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

SuryaVeda