I have seen many autopilot tests (across many projects) that, when needing to click a toolbar button, emulate the physical swipe up to open the toolbar, and then click on the button. Will that code break?
On Wed, Sep 11, 2013 at 7:47 AM, Leo Arias <leo.ar...@canonical.com> wrote: > Hello! > > On Wed, Sep 11, 2013 at 3:11 AM, Tim Peeters <tim.peet...@canonical.com>wrote > >> Also please check your app's autopilot tests for assumptions on whether >> the toolbar/panel is opened/closed by default and how it responds >> (opens/closes) to user interaction, because this behavior will be changed >> and then the tests will break. I will also check the apps autopilot tests >> myself, but if you do have tests that assume certain behavior and you do >> not know how to get rid of these assumptions please contact me and we will >> ensure the tests do not break when the toolbar behavior is updated. >> > > The autopilot tests should almost never assume that the toolbar is opened. > If you are using the emulator, before accessing a button on the toolbar you > should always call the open method. If the toolbar is already opened, it > just won't do anything. That way, no changes from the toolbar behaviour > should make the tests fail, everything will just need to be updated on the > emulator. > > pura vida. > > -- > Mailing list: https://launchpad.net/~ubuntu-touch-coreapps > Post to : ubuntu-touch-corea...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps > More help : https://help.launchpad.net/ListHelp > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp