Do you want to work on this issue?
You can request for a bounty in order to promote it!
SupprtedWebdriver fails - BeforeAWebdriverScenario does not match the bytecode #3412
gsevtlana posted onGitHub
What happened?
<img width="896" alt="image" src="https://github.com/serenity-bdd/serenity-core/assets/22656279/c238deb4-0c4a-422e-988a-338b267d985e">
<img width="1327" alt="image" src="https://github.com/serenity-bdd/serenity-core/assets/22656279/19b16963-3a55-4c69-8b3d-adffea156533">
issue may be similar to https://github.com/serenity-bdd/serenity-core/issues/3333
What did you expect to happen?
BeforeAWebdriverScenario sorce should match and import net.thucydides.core.webdriver.SupportedWebDriver; resolved
Serenity BDD version
4.1.0 (issue started since 4.0.14)
JDK version
17
Execution environment
OS: Windows 10 ent, macOS Ventura Browsers: Edge, Chrome No other dependencies. <img width="1321" alt="image" src="https://github.com/serenity-bdd/serenity-core/assets/22656279/37c55ff4-810a-46fb-8296-6013e7acca53">
How to reproduce the bug.
I noticed issue on my other project - when creating MobileConnection that implements BeforeAWebdriverScenario, but issue can be observed in any project. I tried:
- invalidate cache
- manually remove gradle dependencies and re-download
- manually attach serenity-core source
- windows and macOS on different networks
- Create a new gradle project
- add dependency dependencies { // https://mvnrepository.com/artifact/net.serenity-bdd/serenity-core implementation group: 'net.serenity-bdd', name: 'serenity-core', version: '4.0.14' }
- Navigate to external libraries -> net.serenitybdd.core.webdriver.enhancers.BeforeAWebdriverScenario
- See the error
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up