Tags: SeleniumHQ/selenium
Tags
Avoid sleep in tests (#16713) * remove useless sleeps from SessionHandlingTest This change decrease execution time of `SessionHandlingTest` from ~28s to 7s. * Avoid `sleep(2000)` in hover tests Instead of wasting 2 second (which doesn't guarantee the result), just wait for the needed element that should appear as a result of hovering. * use much shorter polling interval to speed up the tests if the first try failed, wasting the whole 0.5 second is a huge waste of time. Let's try sooner! * Avoid `sleep` in drag'n'drop tests fix the test page usability: make the elements visible only after they are fully initialized. To force revealing potential flaky tests in the future, I've added a small pause for the initialization code. So the tests should wait until the element appears on the screen - then it's ready for manipulations. * Open a blank page before every test It's a good practice to avoid tests affecting each other: 1. Open "about:blank" page - this stops any current activity / background requests / animations on the previous page 2. Open an empty page which clears sessionStorage, localStorage and cookies. This technique allows reusing the browser between tests, while keeping the tests independent. * tiny cleanup in ExpectedConditions.java * fix potential NPE in tearDown methods Also, reset the link to static field after test run - to avoid holding heavy objects in memory till the end of all tests.
[build] Prepare for release of Selenium 4.39.0 (#16672) * update devtools versions * update selenium manager versions * update maven dependency versions * update authors file * bump versions in preparation for release * WIP - rough auto-update of changelog, please edit * Update selenium-manager-windows.exe SHA after signing with EV token * [rust] Update lock files * Removing offending string * Fixing changelogs [skip ci] --------- Co-authored-by: Selenium CI Bot <[email protected]> Co-authored-by: Boni Garcia <[email protected]> Co-authored-by: Diego Molina <[email protected]> Co-authored-by: Viet Nguyen Duc <[email protected]> Co-authored-by: Nikolay Borisenko <[email protected]> Co-authored-by: Diego Molina <[email protected]>
[build] Prepare for release of Selenium 4.37.0 (#16451) * update pinned browser versions * update devtools versions * update selenium manager versions * update maven dependency versions * update authors file * bump versions in preparation for release * WIP - rough auto-update of changelog, please edit * Formatting file for build * Updating changelogs * Updating changelogs * Update CHANGELOG one point was missing in last release Signed-off-by: Viet Nguyen Duc <[email protected]> * Update SHA for signed Selenium Manager binary in Windows * Update CHANGELOG * Update CHANGES file for Selenium 4.37.0 --------- Signed-off-by: Viet Nguyen Duc <[email protected]> Co-authored-by: Selenium CI Bot <[email protected]> Co-authored-by: Diego Molina <[email protected]> Co-authored-by: Diego Molina <[email protected]> Co-authored-by: Nikolay Borisenko <[email protected]> Co-authored-by: Corey Goldberg <[email protected]> Co-authored-by: Viet Nguyen Duc <[email protected]> Co-authored-by: Boni Garcia <[email protected]>
[build] Prepare for release of Selenium 4.36.0 (#16332) * update devtools versions * update selenium manager versions * update maven dependency versions * update authors file * bump versions in preparation for release * WIP - rough auto-update of changelog, please edit * Update sha256 for signed selenium-manager-windows.exe artifact * Updating tests and linting readme. * Updating Gemfile.lock * Rolling back json upgrade * Pinning rust lock * Pinning rust lock * Removing guards and switching to macOS [skip ci] * Removing guards --------- Co-authored-by: Selenium CI Bot <[email protected]> Co-authored-by: Diego Molina <[email protected]> Co-authored-by: Boni Garcia <[email protected]> Co-authored-by: Diego Molina <[email protected]>
[build] Prepare for release of Selenium 4.35.0 (#16160) * update devtools versions * update selenium manager versions * update maven dependency versions * update authors file * bump versions in preparation for release * WIP - rough auto-update of changelog, please edit * Fixing changelogs and downgrading Netty to 4.1.121 --------- Co-authored-by: Selenium CI Bot <[email protected]> Co-authored-by: Diego Molina <[email protected]>
PreviousNext