Don't Miss This: Setting Up Playwright in GitLab CI
Playwright Integration with GitLab CI/CD | Automate Test Execution Writing Playwright automation is only the first step. The real value comes when your tests can execute automatically as part of your CI/CD pipeline whenever new code is pushed. In this video, we will integrate a Playwright TypeScript automation framework with GitLab CI/CD and execute the tests using a GitLab Runner. In this video, you’ll learn: Why integrate Playwright with CI/CD? What is GitLab CI/CD? What is a GitLab Runner? How GitLab Runner picks up a CI job Runner vs Executor vs Execution Environment How `tags` are used to select compatible runners Creating a `.gitlab-ci.yml` file Defining stages and jobs Using the official Playwright Docker image Understanding the `script` section `npm ci` vs `npm install` Installing Playwright browsers in the CI environment Executing Playwright tests in GitLab Publishing Playwright test results as CI artifacts Running the complete pipeline and analyzing the results We’ll also look at what happens when a Playwright test fails and why simply executing tests may not be enough for a mature CI/CD pipeline. Quality Gates and defining rules for deciding whether a build should proceed will be covered in the next video. #Playwright #GitLabCI #GitLabCICD #PlaywrightTypeScript #TestAutomation #AutomationTesting #ContinuousIntegration #SDET #QA




Join the discussion
Sign in to join the discussion
Sign in