How To Run Playwright With Jenkins | Integrate Playwright With Jenkins

Поделиться
HTML-код
  • Опубликовано: 29 сен 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...
    Playwright CLI Commands - playwright.dev...

Комментарии • 21

  • @aparnausa3619
    @aparnausa3619 3 месяца назад +2

    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

  • @aparnausa3619
    @aparnausa3619 3 месяца назад +2

    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

    • @Mukeshotwani
      @Mukeshotwani  3 месяца назад

      You need to install node js where jenkins is running and make sure u add in tools location in Jenkins.

    • @shrikantk3793
      @shrikantk3793 2 месяца назад

      @@Mukeshotwani please show for that , I get error in node or mvn --v while works on terminal. node , mvn how to configure ??

  • @chandansharma-op9ik
    @chandansharma-op9ik 4 месяца назад +1

    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

    • @Mukeshotwani
      @Mukeshotwani  4 месяца назад

      Min Node version needed is 14+ . I will prefer 18

  • @RahulSharma-sy1eo
    @RahulSharma-sy1eo 2 месяца назад +1

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

    • @Mukeshotwani
      @Mukeshotwani  2 месяца назад +1

      I have added imp video which cover basic+advance both.

  • @samkip2354
    @samkip2354 3 месяца назад +1

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

  • @wilsonfernandes7655
    @wilsonfernandes7655 Месяц назад

    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 ./src/tests/admin/azure_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

  • @aparnausa3619
    @aparnausa3619 3 месяца назад +1

    could you please share the git url of this

    • @Mukeshotwani
      @Mukeshotwani  3 месяца назад

      Here you go github.com/Mukesh-50/PlaywrightDemo

  • @mayankgupta6409
    @mayankgupta6409 4 месяца назад

    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?

  • @sayeednazir7973
    @sayeednazir7973 Месяц назад

    Please provide me the link to part 2

  • @mitchelstarc6104
    @mitchelstarc6104 4 месяца назад

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

  • @gunarachuri1532
    @gunarachuri1532 4 месяца назад

    Great share mukesh!

  • @SuryaVeda
    @SuryaVeda 4 месяца назад

    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