Skip to content

Bump net.serenity-bdd.maven.plugins:serenity-maven-plugin from 3.1.10 to 4.2.34 in /api-tests #808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 16, 2025

Bumps net.serenity-bdd.maven.plugins:serenity-maven-plugin from 3.1.10 to 4.2.34.

Release notes

Sourced from net.serenity-bdd.maven.plugins:serenity-maven-plugin's releases.

v4.0.1

Serenity 4 Release Notes

Serenity 4.0.1 is a major upgrade. The most significant change is updating the library to support Java 11, in line with other popular testing libraries such as Selenium and Mockito. However, the migration to Java 11 requires changes in the module structure, which requires some breaking changes to the package structure.

These release notes will explain how to update your project to work with Serenity BDD 4.x.

The biggest change is the main Serenity annotations, such as @Step, which are now in the net.serenitybdd.annotations package, rather than the net.thucydides.core.annotations package as was previously the case.

If you are using Serenity internal classes, some of these may have moved as well.

The following table indicates the main changes:

Package changes

Module Old packages New Packages
serenity-screenplay-webdriver net.serenity.screenplay.* net.serenity.screenplay.webdriver.*
net.serenitybdd.screenplay.webtest.actions.* net.serenitybdd.screenplay.webdriver.actions.*
serenity-model net.serenitybdd.core.* net.serenitybdd.model.*
net.thucydides.core.annotations.* net.serenitybdd.annotations.*
Other net.thucydides.core.* net.thucydides.model.*

For example:

  • Replace any annotations previously in net.thucydides.core.annotations (e.g. @​Step) in net.serenitybdd.annotations
  • Replace net.thucydides.core.util.EnvironmentVariables with net.thucydides.model.util.EnvironmentVariables

This release also includes support for Selenium 4.11.0, a number of bug fixes, and improved support of reporting step durations for parallel tests.

Guice is no longer used

Serenity stopped using Guice in version 3.9.8. This has no impact on most test scripts, but if you are using internal classes such as net.thucydides.core.guice.Injectors classes to retrieve objects such as EnvironmentVariables, this will no longer work. In Serenity 4.0.0 or higher, to retrieve the current environment variables, use the net.serenitybdd.core.di.SerenityInfrastructure class as shown here:

EnvironmentVariables environmentVariables = SerenityInfrastructure.getEnvironmentVariables();

Report Generation Changes

In Serenity 4.0.x, test execution generates JSON test output files, but not HTML files. To generate the full HTML reports, invoke the aggregate task, e.g. mvn aggregate or gradle aggregate.

Release v3.6.7

parallel test execution in both Cucumber and JUnit 5

3.2.0

Serenity 3.2.0 contains a number of bug fixes and enhancements, including:

  • Improved performance in report generation
  • Updated the Page Elements API (https://serenity-bdd.github.io/documentation/docs/guide/page_elements)
  • Improved requirements reporting to include more comprehensive requirements tables and better support for deep requirements hierarchies
  • Collections of elements retrieved with findAll() methods and then processed (e.g. findAll(".myelements").texts()) will now automatically requery if a stale element exception occurs. You can disable this behaviour by setting the webdriver.retry.on.stable.element.exception property to false.

... (truncated)

Commits
  • b5ee350 [ci skip] prepare release 4.2.34
  • 335c044 Updated JQuery
  • 1d074bc Updated JQuery
  • f7fa2de fix/#3658 make report "Overview" list scenarios filtered by cucumber.filter.t...
  • 73b0f42 [ci skip] prepare for next development iteration
  • 503bf29 [ci skip] prepare release 4.2.33
  • f6778ff Removed deprecated version of shutterbug
  • af27d88 Removed deprecated version of shutterbug
  • 46cd7a8 [ci skip] prepare for next development iteration
  • a802bb4 [ci skip] prepare release 4.2.32
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [net.serenity-bdd.maven.plugins:serenity-maven-plugin](https://github.com/serenity-bdd/serenity-core) from 3.1.10 to 4.2.34.
- [Release notes](https://github.com/serenity-bdd/serenity-core/releases)
- [Changelog](https://github.com/serenity-bdd/serenity-core/blob/main/CHANGELOG.md)
- [Commits](serenity-bdd/serenity-core@3.1.10...4.2.34)

---
updated-dependencies:
- dependency-name: net.serenity-bdd.maven.plugins:serenity-maven-plugin
  dependency-version: 4.2.34
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant