This Playwright plugin allows you to push your Playwright Test results into QATouch.
Pushes test results into QA Touch system.
npm init playwright@latest
npx playwright test
npx playwright --version
Node.js 18+
npm i playwright-qatouch-reporter
To use QA Touch Reporter, you will need to set up the following environment variables:
Ensure that your QA Touch API is enabled and generate your API keys. See https://doc.qatouch.com/#qa-touch-api
Add .env file to playwright project root folder with the following keys:
QATOUCH_DOMAIN=your-domain
QATOUCH_API_TOKEN=your-api-token
QATOUCH_PROJECT_KEY=Project-Key
QATOUCH_TESTRUN_ID=Test-Run-Id
Please open playwright.config.js file, replace below code
reporter: [["html"],["playwright-qatouch-reporter"]],
In order to use reporter, you should add meta information to your tests. Meta key should be TRXXX ID (TestRun Code in qatouch), e.g.:
test.only('TR0035 hastitle', async ({ page }) => {
await page.goto('https://qatouch.com/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/End to End Test Management Tool | Software Test Management tool | QA Touch/);
});
- https://www.npmjs.com/package/playwright-qatouch-reporter
- https://qatouch.com/
- https://help.qatouch.com/
- https://doc.qatouch.com/
This project is licensed under the MIT License