You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a @SpringBootTest in your app and update to platform 24.2-SNAPSHOT or testbench 9.0-SNAPSHOT it fails because some class is missed
[ERROR] com.example.application.it.LoginE2ETest.loginAsInvalidUserFails Time elapsed: 0.945 s <<< ERROR!
java.lang.NoClassDefFoundError: org/openqa/selenium/manager/SeleniumManagerOutput$Result
at org.openqa.selenium.remote.service.DriverFinder.getPath(DriverFinder.java:18)
at org.openqa.selenium.remote.service.DriverFinder.getPath(DriverFinder.java:13)
...
Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.manager.SeleniumManagerOutput$Result
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
## clone the project
git clone https://github.com/vaadin/flow-crm-tutorial.git
cd flow-crm-tutorial
## change version to 24.2-SNAPSHOT
perl -0777 -pi -e 's|(<vaadin.version>)([^\s]+)(</vaadin.version>)|${1}24.2-SNAPSHOT${3}|g' pom.xml
## run the tests
./mvnw clean test
See the error
Versions
Vaadin / Flow version: 24.2-SNAPSHOT
TB version: 9.0-SNAPSHOT
The text was updated successfully, but these errors were encountered:
Description of the bug
If you have a
@SpringBootTest
in your app and update to platform 24.2-SNAPSHOT or testbench 9.0-SNAPSHOT it fails because some class is missedExample test class with this problem is in the flow-crm-tutorial
Culprit commit seems: #1656
Expected behavior
test passes
Minimal reproducible example
See the error
Versions
The text was updated successfully, but these errors were encountered: