Skip to content
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

BeforeAWebdriverScenario not working since serenity 3.3.4 #3009

Open
Xvier opened this issue Jan 10, 2023 · 1 comment
Open

BeforeAWebdriverScenario not working since serenity 3.3.4 #3009

Xvier opened this issue Jan 10, 2023 · 1 comment

Comments

@Xvier
Copy link

Xvier commented Jan 10, 2023

Hi @wakaleo,

We have been using SerenityBDD for a while and when we upgraded to serenity 3.3.4 we noticed that the BeforeAWebdriverScenario did not trigger anymore.

If we downgrade our version to 3.2.4 then the method is reached again.

Steps to recreate:

  • clone serenity-junit-starter
  • set pom to use serenity 3.3.4
  • set in serenity.conf the extension package
  • Create BeforeAWebdriverScenario that only prints out System.out.println("in Before method");
  • Run test and see nothing happens.
  • Revert version back to 3.2.4
  • Run test and see printline in before method.

This issue also happens in 3.3.10

Hope its an easy fix because we want to upgrade our framework to the latest version.

@wakaleo
Copy link
Member

wakaleo commented Jan 11, 2023

Have a look at the PreScenarioFixtures class to see if you can see anything odd - the code looks correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants