=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [14:15] elopio, hey, it's me again ;) any idea what's wrong with class Foo in this case http://pastebin.ubuntu.com/11909425/ ? [14:16] rhuddie, i've run into another problem with autopilot tests and the OSK, https://bugs.launchpad.net/autopilot/+bug/1476248 [14:16] Ubuntu bug 1476248 in Autopilot "Tests with dialogs fail when using the OSK " [Undecided,New] [14:16] rhuddie, any test i run that uses a dialog hangs forever [14:17] kenvandine, oh, interesting. I'll try and reproduce it [14:17] rhuddie, thx [14:17] feels like we're getting closer to CI passing again :) [14:17] but not there yet [14:18] rhuddie, it hangs forever, and if i kill the test i see this [14:18] autopilot.exceptions.StateNotFoundError: Object not found with name 'Button' and properties {'id': 214}. [14:19] 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] yeah [14:19] text is entered fine [14:20] just never clicks the button, because it doesn't get the object [14:21] 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] it happens for every test we have that uses a dialog [14:22] which there are quite a few [14:22] it was never an issue with the fake keyboard === chihchun is now known as chihchun_afk [14:32] kenvandine, it looks to me the problem is that the osk is obscuring the connect button [14:32] right [14:32] common issue with dialogs [14:33] kenvandine, so how is the user supposed to press the connect button? [14:33] swipe it away [14:33] so i would say the test needs to do the same thing [14:34] ugh... how do we do that? [14:34] we have a ton of tests with dialogs [14:35] kenvandine, well i think this is why many projects kill maliit-server, so the osk does not get in the way [14:35] i guess [14:35] let me check, i'm sure there is a method to do that [14:35] thx === meetingology` is now known as meetingology === JoseeAntonioR is now known as jose [14:42] 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] thx [14:44] 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] 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] AttributeError: 'Keyboard' object has no attribute 'dismiss' [15:06] rhuddie, ^^ [15:06] * kenvandine scratches head [15:10] i guess i need more than ubuntuuitoolkit.get_keyboard() [15:11] rhuddie, do you know of any other projects that do something like that? [15:13] kenvandine, the ubuntu_keyboard tests call dismiss directly on the keyboard object [15:13] kenvandine, let me have a try [15:14] i'm guessing my real problem is getting the keyboard object [15:28] rhuddie, http://paste.ubuntu.com/11909733/ [15:28] whatever Keyboard object i'm getting, must not be the right one [15:31] kenvandine, yes, I only managed to call dismiss this way: http://pastebin.ubuntu.com/11909754/ [15:32] ok [15:32] kenvandine, i think the autopilot method returns a generic keyboard instance, which doesn't have the osk dismiss method [15:34] cool [15:34] that worked [15:34] now i need to add that to dozens of tests :/ [15:40] 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/ === timp is now known as t1mp === enhydra` is now known as enhydra === alai` is now known as alai1 === elopio_ is now known as elopio [19:12] 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] balloons: all day every day. I forget what -p is, though [19:13] nuclearbob_, to send the password. It's a bit odd and confusing why ot's not working [19:13] balloons: oh. can you send me your command line? [19:14] adt-run --click com.ubuntu.calculator --- ssh -s adb -p 0000 [19:14] really simple example [19:14] I think maybe you need another -- before the -p, but I'll check mine [19:14] muhahahah all balloons passwords are belong to us [19:15] it's the same as the combination on my luggage! [19:15] davmor2, you know I was sneaky and changed it? right? right? [19:15] mind games! [19:15] balloons: yeah, you want another -- before the -p 12345 [19:15] nuclearbob_, indeed that got me farther [19:16] balloons: I see through your double bluff, and raise you a counter of meh [19:16] thanks nuclearbob_ ! [19:19] * balloons pops up the pressure and rushes to change his passwords to keep his devices from evil Dave [19:22] 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] davmor2, lol, you know my phone won't let you connect via usb anyway. It's useless to you! [19:45] balloons: not unless I steal your stubby usb lead at the same time then all your data is mine muhahahahahahahaha [19:45] noes! not my cable. I had to bribe elopio for that! [19:47] I have plenty of usb cables but no blueberries. Whenever you want we can make more business. === alai1 is now known as alai1-afk === alai1-afk is now known as alai1 [22:04] balloons, the extra -- before the -p works \o/ "autopilot PASS", sweet bring on weather-app-reboot AP tests :-) === alai1 is now known as alai1-afk [23:43] ahayzen, :-)