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
  • Наука та технологія

КОМЕНТАРІ • 15

  • @samkip2354
    @samkip2354 8 днів тому

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

  • @aparnausa3619
    @aparnausa3619 12 днів тому +1

    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  10 днів тому

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

  • @aparnausa3619
    @aparnausa3619 12 днів тому +1

    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

  • @chandansharma-op9ik
    @chandansharma-op9ik Місяць тому +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  Місяць тому

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

  • @mayankgupta6409
    @mayankgupta6409 Місяць тому

    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?

  • @gunarachuri1532
    @gunarachuri1532 Місяць тому

    Great share mukesh!

  • @mitchelstarc6104
    @mitchelstarc6104 Місяць тому

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

  • @aparnausa3619
    @aparnausa3619 12 днів тому +1

    could you please share the git url of this

    • @Mukeshotwani
      @Mukeshotwani  10 днів тому

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

  • @SuryaVeda
    @SuryaVeda Місяць тому

    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