top of page

OQVERIN Integrates Allure Reports into Playwright Test Automation Framework

Writer: OQVERIN
OQVERIN
Sep 29
7 min read

Updated: Oct 1

Modern test automation is not only about executing tests. As automation suites grow, teams also need a clear way to understand what was tested, what passed, what failed, and why a test failed.


A simple pass/fail result can tell you that something went wrong, but it often does not provide enough information to investigate the failure quickly.


This is where Allure Reports can add significant value to a Playwright automation framework.


OQVERIN integrates Allure reporting into generated Playwright frameworks, providing teams with a richer view of test execution, including test results, failure information, screenshots, video evidence, execution logs and other test metadata.


Allure test report dashboard showing 6 test cases, 100% pass, suites, environment, and empty Trend/Categories panels.

Why Test Reporting Matters

A test automation framework can execute hundreds or thousands of tests, but the value of automation depends heavily on how easily teams can understand the results.


Imagine a test suite containing 100 automated tests. At the end of execution, you might see:

96 passed 4 failed

That tells you something went wrong, but it does not necessarily tell you:

  • Which step failed?

  • What assertion failed?

  • What was displayed in the browser?

  • Was the failure caused by the application or the test?

  • What happened immediately before the failure?

  • Can the failure be reproduced?

  • What browser or test configuration was being used?


Detailed reporting helps turn raw test execution into information that testers, developers and delivery teams can act on.


What Is Allure Report?


Allure Report is an open-source test reporting framework designed to present automated test results in a structured and visual format.

Rather than looking only at console output, teams can open an HTML-based report and investigate individual test executions. Depending on the framework configuration and available test evidence, an Allure report can provide information such as:


  • Passed and failed tests

  • Test duration

  • Failure messages

  • Assertion details

  • Execution logs

  • Screenshots

  • Video recordings

  • Test steps

  • Browser and project information

  • Error and stack-trace information


This makes Allure particularly useful when automation is running as part of a larger CI/CD or Quality Engineering process.


Why Use Allure with Playwright?


Playwright already provides useful test execution and reporting capabilities. Its built-in HTML reporting can be very effective for many projects.


However, teams may want additional reporting capabilities or a standardised reporting approach across their automation ecosystem.

Allure can provide a more structured reporting experience and can help teams bring together different pieces of test execution evidence.


For example, when a Playwright test fails, a useful report should allow the team to move from:


Test Failed


to:


Test Failed → Assertion → Execution Details → Screenshot → Video → Logs


That additional evidence can reduce the time required to understand a failed test.


Allure Reporting in OQVERIN


OQVERIN is designed to accelerate the foundation of test automation by using AI to generate Playwright frameworks based on a project's requirements.


Allure reporting is available as part of the OQVERIN Pro framework capabilities.


When the appropriate reporting configuration is selected, the generated Playwright framework includes the required Allure configuration and supporting components.


This means teams do not have to start with an empty Playwright project and manually build the reporting foundation from scratch.

Instead, they receive a framework that is already structured for Allure reporting and can then be extended for their application's specific automation requirements.


What Can You See in a Playwright framework integrated with Allure Report?


The exact information available depends on the framework configuration and the evidence generated during test execution.

A generated framework can provide useful information, including:


1. Test Status

The report clearly identifies whether tests have passed or failed.

This provides a quick overview of the overall execution.


2. Failure Details

When a test fails, the report can show the relevant assertion and error information. For example, instead of simply seeing that a login test failed, you can see the specific assertion that caused the failure. This is particularly useful when investigating failures in larger suites.


3. Screenshots

Screenshots can provide visual evidence of the browser state associated with a failure.


This can help answer questions such as:


  • Was the expected element visible?

  • Did the application display an error?

  • Was the page in the expected state?

  • Did the test navigate to the correct location?


Visual evidence can be especially valuable when tests are executed remotely or through CI/CD pipelines.


4. Video Evidence

Video recording can provide another level of visibility into test execution. With video enabled, the generated framework can retain video evidence of test execution, allowing a tester or developer to review what happened during the test. This can be particularly useful for failures that are difficult to reproduce locally.


Allure Report test results page showing passed testSuccessfulEnterpriseLogin() with green status and execution video panel


5. Execution Logs

Logs provide additional context about what the automation framework was doing during execution. For example, a framework may record informational, warning, error and debug messages. Combining logs with screenshots and video gives the team multiple sources of evidence when investigating a failure.


Allure test report in a browser showing Suites, a passed testSuccessfulEnterpriseLogin, execution video, and logs with teardown complete

6. Browser and Project Information

Playwright projects can be configured for different browsers and execution environments. The reporting information can help teams understand the context in which a test was executed, which is particularly useful when investigating browser-specific behaviour.


From Test Failure to Actionable Evidence

One of the main benefits of detailed reporting is the ability to investigate a failure without relying solely on console output.

Consider a simple scenario.


A login test fails.

A basic report might show:

Login test — Failed

An enhanced report can provide:

Login test — Failed
Name: Login Test

Duration: 3s 128ms
Graphs: charts for Severity, Duration, Status etc
Screenshot
Allure Report showing Screenhot of a failed test Case
Retries
Allure Report Retries
Video
Execution logs
Allure Report Execution Log
History

Expected Result

Stack Trace
Stack Trace Allure Report

This gives the team considerably more information to work with.

It does not automatically determine the root cause, but it provides the evidence needed to investigate it.


Allure and Quality Engineering

Reporting is an important part of a broader Quality Engineering approach.


Quality Engineering is not simply about finding defects. It is also about providing teams with information that supports better software delivery decisions.


Automation reporting contributes to this by making test execution more transparent.


For example, teams can use reporting information to understand:

  • Whether a regression suite completed successfully

  • Which tests are repeatedly failing

  • Where automation is encountering problems

  • Whether failures are isolated to a particular browser

  • How long test suites are taking to execute

  • What evidence is available for failed tests


This information can then contribute to wider quality discussions within development and delivery teams.


OQVERIN's Approach to Framework Generation

OQVERIN focuses on generating the foundation of a Playwright automation framework.


The objective is not to replace the work required to understand an application's business processes or testing requirements. Instead, OQVERIN helps reduce the initial framework setup effort.


A generated framework can provide the structure and configuration that teams can then customise for their own application.

Depending on the selected configuration, this can include capabilities such as:


  • Page Object Model structure

  • Playwright configuration

  • Test organisation

  • API testing

  • Parallel execution

  • Screenshots

  • Video recording

  • Retry configuration

  • Environment configuration

  • Logging

  • Reporting

  • CI/CD-ready configuration


Allure reporting forms part of this broader automation foundation.


Dark-themed IDE showing a Java project tree and README.md with Allure CLI setup commands and allurae-results folder highlighted

Once the test execution is complete, you can execute: mvn allure:serve in the terminal to open the Allure Report.


Allure test report dashboard in browser showing 6 test cases, 100% passed, suite bars, and environment details.

Why This Matters for Automation Teams


Setting up an automation framework from scratch involves more than writing test scripts.


Teams need to consider:

  • Project structure

  • Browser configuration

  • Test organisation

  • Reporting

  • Failure evidence

  • Environment management

  • Logging

  • Reusable components

  • CI/CD integration

  • Maintenance


These decisions can take considerable time before the first meaningful automated test is even running. An AI-Assisted framework generator such as OQVERIN aims to accelerate this initial stage by generating a structured foundation that teams can then review, configure and extend.


Allure Does Not Replace Good Test Design


It is important to remember that reporting is only one part of an effective automation strategy. A detailed report cannot compensate for poorly designed tests.


Teams still need to consider:


  • What should be automated?

  • Which scenarios provide the greatest value?

  • How should test data be managed?

  • How should test environments be configured?

  • How should page objects and reusable components be designed?

  • How should failures be investigated?

  • How should the automation suite be maintained?


Allure provides better visibility into execution; it does not replace sound Quality Engineering practices.


Getting Started with Allure and Playwright


A typical workflow using an OQVERIN-generated framework is straightforward.


Step 1: Generate the framework

Configure the required application type, programming language and framework capabilities in OQVERIN.


Step 2: Download the generated framework

Once generation is complete, download the framework and configure it for your application.


Step 3: Add or customise your tests

Extend the generated Page Object Model and test structure with your application's pages, workflows and test scenarios.


Step 4: Execute the tests

Run the Playwright test suite using the project's configured test commands.


Step 5: Generate the Allure results

The test execution produces the information required for the Allure report.


Step 6: Review the report

Open the generated Allure report and investigate the results.

For failed tests, review the available evidence such as assertions, logs, screenshots and video.


Building a Better Automation Foundation


The goal of test automation is not simply to create more automated tests. A useful automation framework should provide a foundation that teams can maintain and extend as the application evolves.

Reporting is an important part of that foundation.


By integrating Allure into the generated framework, OQVERIN provides teams with an option for richer test execution visibility alongside the other capabilities available in the framework.


The combination of Playwright + structured framework architecture + test evidence + reporting gives teams a stronger starting point for building their automation solution.


Conclusion


Effective test automation requires more than executing test scripts. Teams need to understand the results and have sufficient evidence to investigate failures efficiently.


Allure Reports provide a structured and visual way to analyse automated test execution, bringing together test status, failure information and supporting evidence.


OQVERIN integrates Allure reporting into its Playwright framework generation capabilities, helping teams start with a reporting-ready automation foundation rather than building every framework component from scratch.


As OQVERIN continues to evolve, the focus remains on using AI to accelerate the foundation of Quality Engineering and test automation, while giving teams the flexibility to configure, extend and maintain the generated framework for their own requirements.

Comments


Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page