Playwright Github Action | Playwright - part 30

preview_player
Показать описание
Playwright Github Action - CI/CD
Set up GitHub Actions to run cross-browser tests on Chromium, WebKit, and Firefox with Playwright.

Usage
------------------------
on:
push:
branches:
- main

jobs:
e2e-tests:
runs-on: ubuntu-latest # or macos-latest, windows-latest

steps:

- name: Install dependencies and run tests
run: npm install && npm test
---------------------------------------------------------------------
Reference link:
--------------------------Thank you---------------------------

Thanks for watching, if you like the video, give it a thumbs up 👆.
Sharing is caring, kindly share the video with your friends and colleagues.
Don't forget to subscribe and hit the bell 🔔 notification.
--------------------------------SOCIAL--------------------------------

Join our WhatsApp group.

#letcode
Рекомендации по теме
Комментарии
Автор

This is absolutely sensational have benefited a lot

I have one request
Playwright + python +pytest

Автор

Thank you for all the educational videos on Playwright.

Could you also show how to use github secrets for the passwords and usernames? (for the application in test)

deepthymahalingam
Автор

Hey Koushik can you show an example where you setup pipelines to run Sanity, Regression test suites. Jenkins or GitHub Actions doesn't matter

abhishektripathi
Автор

HI Koushik, this is very nice video and this help a lot. can you please help me with one more step ahead with this CICD setup. In my project requirement is that once we run job from pipeline with playwright then it will generate report right . but I want to get that report on grafana dashboard to see in chart base as well as to see how test is running for last 30 days kind of thing. can you please help me with tis. I know I am asking something very big concept but if you can help with this. it will be really helpful. Thanks

ekvuuve
Автор

Hi Koushik,

I tried implementing GitHub actions but my application url is private and causing DNS resolve issue while launching in git action. Instead I have one remote machine, could you please guide how can i trigger test execution over remote machine . I dont have any jenkins setup yet.

niranjanpandav
Автор

hi
I added the node update to yml, but i think i took a mistake, pls could you comment the right format?
You are running Node.js 10.24.1.
Playwright requires Node.js 12 or higher.

danielkovacs
Автор

Hey Kaushik.. Thanks for the video.. When i ran my pipeline it gave me a message Error: no test specified. Any idea

abhishektripathi
Автор

Can you please make a video for docker integration with playwright

ravishankark
Автор

Hi Koushik,
Could you please help me to understand how to do logging in playwright.

VishalDeshpande
Автор

Hi can you make video how we run playwright tests in azure build pipe

safdarsohail
Автор

Hii koushik,
Could you please help me below cases
1. I have playwright code with js and need to run it on docker with local host or any other app URL.
2. Created playwright image using docker and need to run that image against local or any other app URL.

prashanthdasmapur
Автор

Hi kaushik sir, i have already deployed playwright test in GitHub and installed Jenkins. Then how I run my playwright test from Jenkins CICD. Kindly suggest.

arijitmohanty
Автор

Hi, what if my website requires a proxy and vpn ?

knowledgebear
Автор

How to migrate Github Action to Gitlab CI/CD?

canaldotiodavid