[QA] hover and scroll

Amir E. Aharoni amir.aharoni at mail.huji.ac.il
Fri Sep 27 16:38:07 UTC 2013


You can see the test code here:
https://gerrit.wikimedia.org/r/#/c/86194/1/tests/browser/features/step_definitions/signed_in_and_approved_user_steps.rb

(Notice line 43.)


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬


2013/9/27 Amir E. Aharoni <amir.aharoni at mail.huji.ac.il>

> Hi!
>
> We are writing browser tests for the new translatewiki.net Main Page.
>
> The page is here:
> https://translatewiki.net/wiki/Special:MainPage
> (You'll only see it if you are logged in.)
>
> It has some tests for checking behavior on hover. There is a .hover method
> in WebDriver (or is it PageObject? I'm never sure), but it seems that it
> only works if the element is in the viewport. What's the right way to make
> it work?
>
> Thanks!
>
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> ‪“We're living in pieces,
> I want to live in peace.” – T. Moore‬
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/qa/attachments/20130927/31db6785/attachment.html>


More information about the QA mailing list