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 <[email protected]>

> 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‬
>
_______________________________________________
QA mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/qa

Reply via email to