Open atulguru opened 1 year ago
this is fixed in 3.4.3 version
this is fixed in 3.4.3 version
Facing the same error with 3.4.3 version
[ERROR] Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:3.4.3:aggregate (serenity-reports) on project cucumber-starter: Execution serenity-reports of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:3.4.3:aggregate failed: A required class was missing while executing net.ser enity-bdd.maven.plugins:serenity-maven-plugin:3.4.3:aggregate: org/opentest4j/MultipleFailuresError
OpenTest4j is not directly used by Serenity so it may be a dependency conflict.
tried running dependency analyzer on the pom file (via plugin maven helper), its not showing any dependency conflicts for OpenTest4j, i am using ver OpenTest4j 1.2.0
still facing this issue with 3.6.12
Could you advise pls
Any news on this?
@MarilouK This is a project-specific dependency conflict, not related to Serenity (multiple failures and soft asserts should work fine, even with the opentest dependency). If you need project-specific help, we can do that as part of a commercial support package: https://www.serenity-dojo.com/home1691753380236
Nope, still awaiting
Recently updated to latest serenity 4.0.21, no luck.
We use soft assertion library a lot in different steps, and do finally do assertAll()
When there are multiple failures, serenity aggregate does not work, i.e index.html does not get created.
Are you also facing this issue? @MarilouK
@atulguru, I added opentest4j dependency to build script dependencies block and it works for me:
Recently i upgraded to 3.4.2 and having problems with serenity:aggregate when there are multiple failures in the test run.
When there is only 1 failure it works fine though and serenity report (index.html) get generated.
The jar "org/opentest4j/MultipleFailuresError" is also available in the dependencies.
Error Error Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing net.serenity-bdd.maven.plugins:serenity-maven-plugin:3.4.2:aggregate: org/opentest4j/MultipleFailuresError
pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">