#7959 Upgrade to Selenium 4 (from 3.x)#8145
Conversation
|
First look what´s breaking after upgrading Selenium to 4.x |
|
On my dev-machine all tests pass. |
|
With |
|
Great stuff! |
|
I also wonder in our check for JavaScript errors if I remmeber it only worked for Chrome and we might have disabled it for Firefox but I thought Firefox had fixed its console errors check for 4.0 |
There´s some kind of activity at Mozilla. But does not work yet. (Just tested it.) |
|
then we have to check parallel issues - thats a no go for me currently if this doesnt work |
|
Same thoughts. We have to see what the selenium-guys say. No need to hurry. |
c60023b to
57a6d4d
Compare
|
The selenium-team provides a work-around. (implementing a custom JUnit5-strategy) |
|
Selenium 4.1.1 released. |
|
Summary of further research and conversation with the selenium-team:
--> We need a) wait for JUnit 5.9 and b) disable parallel test execution for Java 8. |
|
thanks for your effort @christophs78 and your communication with the selenium team! |
|
…f since Selenium 4.1.2?
…e.owasp-java-html-sanitizer
eaa8065 to
bbaea6f
Compare
|
Up and running on Java 11 and Java 17. |
|
Can we just disable the tests on Java8? I mean running Integration tests on 11 and 17 should be good enough, unit tests and compilation on Java8 should be good enough. |
|
Good enough for now and ready to be merged. :-) |
|
so, java11 and later runs paralell and as fast as with selenium 3? |
yes Did you close this PR intentionally? We have the same matrix than before; Java 8 serial, everthing else parallel; there´s a new maven profile (''integration-tests-enable-parallel-execution") to explizit enable parallel execution. Side-note: <activation>
<jdk>[9,)</jdk>
</activation>causes compile errors. So we have a new if as part of build.yml which adds 'integration-tests-enable-parallel-execution' for java != 8. |
|
oh, wrong button, sorry :D |
|
cant we just split into 2 profiles? |
it´s already splitted <profile>
<id>integration-tests-enable-parallel-execution</id>
<properties>
<junit.jupiter.execution.parallel.enabled>true</junit.jupiter.execution.parallel.enabled>
</properties>
</profile>should i remove the "integration-tests-" - prefix from the profile-name? |
...ntegration-tests/src/test/java/org/primefaces/integrationtests/schedule/Schedule001Test.java
Outdated
Show resolved
Hide resolved
|
@tandraschko i think this is safe to merge. |
|
will review and merge this week |
No description provided.