AIO Tests supports importing Playwright test results through its support for 3 options, using the AIO Tests Playwright reporter, or using JUnit reports/Cucumber reports generated via Playwright or via the AIO Tests REST APIs, which can be invoked from the hooks available in Playwright.
Playwright is an open-source NodeJS-based framework by Microsoft used for web testing and automation. It supports end-to-end cross-browser testing through its high-level API, allowing the tester to control a wide variety of browsers and also headless browsers.
The choice of whether to use the reporter or results file or REST APIs depends on the level of customization that a team needs to achieve. Playwright reporter can report results to existing cases and provides features like cycle creation options. While with Playwright JUnit/Cucumber reports or REST APIs, custom flows can be developed as per team’s needs.
This document provides an overview ondetails on using Playwright reports or hooks to report results:
Generating the Junit report from Playwright tests and uploading it to AIO Tests.
Generating Cucumber reports with Playwright + Cucumber and uploading it in AIO Tests
Using AIO Tests REST APIs to report results and much more, using the Playwright framework hooks.
For details on the native reporter, please refer to AIO Tests Playwright reporter.
In this documentation, you’ll understand:
...
Post execution of a suite, the cucumber.json file can be uploaded either via
AIO Tests REST API calls using multipart form data to upload file
...