On Wed, Nov 6, 2013 at 11:52 AM, Tim Peeters <[email protected]>wrote:
> If the toolbar stays in place after open_toolbar(), then we would be
> testing a toolbar with modified behavior, not the toolbar that you see in
> the apps.
>
> Would the problem be solved if click_button() is changed so that it
> ensures that the toolbar is opened before clicking?
>
I don’t think so. What most tests already do is something like that:
self.main_view.open_toolbar().click_button("…")
The problem happens when the toolbar is already initially open,
open_toolbar() will then do nothing, and in the time it takes for the
cursor to move to the button, it may have automatically hidden.
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp