Developers need the option to test out their feature branch before merging it into main. In the last section, we set up a GitLab CI/CD Pipeline in our bun-create-playwright project to check every GitLab Merge Request.
Now, we will be giving developers option to create a new pipeline where they can choose:
- Which feature branch to test against.
- Which test suite to execute (LoginPage tests? Secure Area? Or all of them?)
- Which Playwright browser to use: Chromium, Firefox, WebKit, or all.
All these features can be set up using our .gitlab-ci.yaml file!
Go to to bun-create-playwright, view the Pipelines section, and select the New Pipeline button.