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

Smaller improvements in the Selenium Framework - Improvement of Selenium based Spec 1423 Test #1793

Merged

Conversation

werpu
Copy link
Contributor

@werpu werpu commented Feb 15, 2023

This introduces smaller improvements in the test framework coming from my upstream project.
By setting -Dchromedriver.headless=false you can enforce a browser window opening during test run.

Improved the end of script detection slightly (or eased an unfixable race condition inherent to Seleniums Webdriver system)
Improved the Spec 1423 Test by replacing one end of script execution wait condition in favor of a "Dom Change" wait condition!
(which should be applied wherever possible)

Fixing and improving the internal comments!

Fixed also a small issue with Issue2906IT, where due to Chrome a hidden NBSP broke the test on some test configurations (difference between Chrome and HTML Unit how to treat the sourcecode was the cause)

…wait timeout in favor

of a dom wait until condition in Spec 1423
@werpu werpu changed the title https://github.com/jakartaee/faces/issues/1722: smaller improvements Smaller improvements in the Selenium Framework - Improvement of Selenium based Spec 1423 Test Feb 15, 2023
…ndows.

Add added reduced page patterns on the 2906IT Tests
@brideck
Copy link
Contributor

brideck commented Feb 16, 2023

I've tested out these new changes, and they work well for Open Liberty. We would appreciate this being included in the upcoming version of the TCK, assuming the review by @BalusC is resolved.

@BalusC BalusC merged commit 2fdff9d into jakartaee:master Feb 17, 2023
@pnicolucci pnicolucci added this to the 4.0.1-TCK milestone Feb 26, 2023
@arjantijms arjantijms modified the milestones: 4.0.1-TCK, 4.0.2-TCK Mar 10, 2023
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

Successfully merging this pull request may close these issues.

None yet

5 participants