In this article I explain how I replaced six copied test pipelines with one parameterized pipeline, how a shared pool of test users cut most of our password-rotation work, and how a second pipeline now creates our test data and saves the new IDs for the next run. The examples use Azure DevOps and Playwright. The same idea works on any CI system that supports runtime parameters and a shared secret store.
At a Glance
Before After
On-demand test pipelines 6–7 near-identical clones 1 generic pipeline
Where a rotated password is changed Every pipeline file One variable group
Test-data setup per regression cycle About 1.5 days of manual work About 15 minutes, automated
Running a new combination of environment, partition and suites YAML change or DevOps ticket Pick from dropdowns and run
Adoption in the first year — Hundreds of runs across the QA team
If You Want to Save Time
If you are...…