Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from abayer/revert-jenkins-34411
Revert JENKINS-34411
- Loading branch information
Showing
4 changed files
with
12 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
src/main/resources/org/jenkinsci/test/acceptance/selenium/overflow.js
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
src/main/resources/org/jenkinsci/test/acceptance/selenium/scroller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Visually navigate to the element in order to interact with it. | ||
|
||
var eYCoord = arguments[0]; | ||
|
||
// Scroll to the element. It will appear at the top edge of the screen. | ||
// We subtract a bit so as to accommodate fixed position banners at the top | ||
// (e.g. breadcrumbs, tabbars etc), making sure they are not hiding the element. | ||
window.scrollTo(0, eYCoord - 200); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters