[14:15] <Saviq> elopio, hey, it's me again ;) any idea what's wrong with class Foo in this case http://pastebin.ubuntu.com/11909425/ ?
[14:16] <kenvandine> rhuddie, i've run into another problem with autopilot tests and the OSK, https://bugs.launchpad.net/autopilot/+bug/1476248
[14:16] <kenvandine> rhuddie, any test i run that uses a dialog hangs forever
[14:17] <rhuddie> kenvandine, oh, interesting. I'll try and reproduce it
[14:17] <kenvandine> rhuddie, thx
[14:17] <kenvandine> feels like we're getting closer to CI passing again :)
[14:17] <kenvandine> but not there yet
[14:18] <kenvandine> rhuddie, it hangs forever, and if i kill the test i see this
[14:18] <kenvandine> autopilot.exceptions.StateNotFoundError: Object not found with name 'Button' and properties {'id': 214}.
[14:19] <rhuddie> kenvandine, ok, i'll give it a go. does the text get entered into the dialog? seems like its failing at the point of trying to find the button object
[14:19] <kenvandine> yeah
[14:19] <kenvandine> text is entered fine
[14:20] <kenvandine> just never clicks the button, because it doesn't get the object
[14:21] <rhuddie> kenvandine, thats very strange. I'll look at the test, the fact the text is entered ok suggests this could be some un-related problem
[14:21] <kenvandine> it happens for every test we have that uses a dialog
[14:22] <kenvandine> which there are quite a few
[14:22] <kenvandine> it was never an issue with the fake keyboard
[14:32] <rhuddie> kenvandine, it looks to me the problem is that the osk is obscuring the connect button
[14:32] <kenvandine> right
[14:32] <kenvandine> common issue with dialogs
[14:33] <rhuddie> kenvandine, so how is the user supposed to press the connect button?
[14:33] <kenvandine> swipe it away
[14:33] <rhuddie> so i would say the test needs to do the same thing
[14:34] <kenvandine> ugh... how do we do that?
[14:34] <kenvandine> we have a ton of tests with dialogs
[14:35] <rhuddie> kenvandine, well i think this is why many projects kill maliit-server, so the osk does not get in the way
[14:35] <kenvandine> i guess
[14:35] <rhuddie> let me check, i'm sure there is a method to do that
[14:35] <kenvandine> thx
[14:42] <rhuddie> kenvandine, there is a dismiss() method in the osk Keyboard class, http://bazaar.launchpad.net/~phablet-team/ubuntu-keyboard/trunk/view/head:/tests/autopilot/ubuntu_keyboard/emulators/keyboard.py#L119
[14:43] <kenvandine> thx
[14:44] <rhuddie> kenvandine, this is obviously specific to the osk instance though. so you would need to create your own instance of the OSK Keyboard and call it on that.
[14:44] <rhuddie> kenvandine, this is where its done in the toolkit: http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_common.py#L56
[15:06] <kenvandine> AttributeError: 'Keyboard' object has no attribute 'dismiss'
[15:06] <kenvandine> rhuddie, ^^
[15:06]  * kenvandine scratches head
[15:10] <kenvandine> i guess i need more than ubuntuuitoolkit.get_keyboard()
[15:11] <kenvandine> rhuddie, do you know of any other projects that do something like that?
[15:13] <rhuddie> kenvandine, the ubuntu_keyboard tests call dismiss directly on the keyboard object
[15:13] <rhuddie> kenvandine, let me have a try
[15:14] <kenvandine> i'm guessing my real problem is getting the keyboard object
[15:28] <kenvandine> rhuddie, http://paste.ubuntu.com/11909733/
[15:28] <kenvandine> whatever Keyboard object i'm getting, must not be the right one
[15:31] <rhuddie> kenvandine, yes, I only managed to call dismiss this way: http://pastebin.ubuntu.com/11909754/
[15:32] <kenvandine> ok
[15:32] <rhuddie> kenvandine, i think the autopilot method returns a generic keyboard instance, which doesn't have the osk dismiss method
[15:34] <kenvandine> cool
[15:34] <kenvandine> that worked
[15:34] <kenvandine> now i need to add that to dozens of tests :/
[15:40] <rhuddie> kenvandine, a helper like this would be good that checks if maliit-server is running, so it will only do anything if the osk is being used: http://pastebin.ubuntu.com/11909779/
[19:12] <balloons> ubuntu-qa, is anyone using adt-run successfully to test on phones atm? I'm seeing issues trying to use it with -p
[19:13] <nuclearbob_> balloons: all day every day. I forget what -p is, though
[19:13] <balloons> nuclearbob_, to send the password. It's a bit odd and confusing why ot's not working
[19:13] <nuclearbob_> balloons: oh. can you send me your command line?
[19:14] <balloons> adt-run --click com.ubuntu.calculator --- ssh -s adb -p 0000
[19:14] <balloons> really simple example
[19:14] <nuclearbob_> I think maybe you need another -- before the -p, but I'll check mine
[19:14] <davmor2> muhahahah all balloons passwords are belong to us
[19:15] <nuclearbob_> it's the same as the combination on my luggage!
[19:15] <balloons> davmor2, you know I was sneaky and changed it? right? right?
[19:15] <balloons> mind games!
[19:15] <nuclearbob_> balloons: yeah, you want another -- before the -p 12345
[19:15] <balloons> nuclearbob_, indeed that got me farther
[19:16] <davmor2> balloons: I see through your double bluff, and raise you a counter of meh
[19:16] <balloons> thanks nuclearbob_ !
[19:19]  * balloons pops up the pressure and rushes to change his passwords to keep his devices from evil Dave
[19:22] <davmor2> pff please  like I could be bother to go where it's hot to tat on a phone when I have 4 here
[19:44] <balloons> davmor2, lol, you know my phone won't let you connect via usb anyway. It's useless to you!
[19:45] <davmor2> balloons: not unless I steal your stubby usb lead at the same time then all your data is mine muhahahahahahahaha
[19:45] <balloons> noes! not my cable. I had to bribe elopio for that!
[19:47] <elopio> I have plenty of usb cables but no blueberries. Whenever you want we can make more business.
[22:04] <ahayzen> balloons, the extra -- before the -p works \o/ "autopilot            PASS", sweet bring on weather-app-reboot AP tests :-)
[23:43] <balloons> ahayzen, :-)