=== chihchun_afk is now known as chihchun | ||
DanChapman | good morning all | 07:50 |
---|---|---|
Noskcaj | hey DanChapman | 07:50 |
DanChapman | Noskcaj, Hey. How are you? | 07:51 |
elfy | good morning DanChapman | 07:51 |
Noskcaj | Pretty good, still waiting for the post office to open again. You? | 07:51 |
elfy | DanChapman: ll went well I assume, and they didn't recognise you in the big red coat :) | 07:52 |
DanChapman | Noskcaj, yeah really good myself. Had a nice few days off | 07:52 |
Noskcaj | How do i actually test for things in autopilot-gtk with 1.4? I can't find any tests based on the app_proxy thing i can copy off. | 07:53 |
DanChapman | elfy, they sure didn't, and it wasn't overly early either 6.30 I was well chuffed :-) | 07:54 |
elfy | oh that's not too bad at all :) | 07:55 |
DanChapman | Noskcaj, the only difference between 1.3 and 1.4 is that property values that were either 0 or 1 are now bools 'True/False' the rest pretty much works the same way apart from a few methods like 'get_state_by_path' but you generally won't use them | 07:56 |
DanChapman | Noskcaj, the only Gtk tests I have seen tests using 1.4 are ubiquity and gnome-online-accounts | 07:58 |
DanChapman | the ubuntu-autopilot-tests need updating to use bools instead of ints and they will be compliant aswell | 07:59 |
DanChapman | elfy, :-) how was your christmas? | 08:05 |
elfy | DanChapman: relaxed - mine are more or less grown up, just one 14 year old - others are adult | 08:06 |
elfy | wb TheLordOfTime | 08:09 |
Noskcaj | DanChapman, Where can i find the code for those tests? And i'm just meaning any gtk test that uses app_proxy | 08:31 |
DanChapman | Noskcaj, the ubiquity tests are here http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/files/head:/autopilot/ and the online accounts are here http://bazaar.launchpad.net/~online-accounts/gnome-control-center-signon/trunk/files/head:/tests/autopilot/ | 08:35 |
elfy | DanChapman: did you speak to nick about the splitting xubuntu tests etc conversation we had ? | 08:37 |
DanChapman | Noskcaj, the ubiquity tests are highly customised and there is ALOT of code there to try and understand but the online-accounts is a good one, or even evince or gedit tests and just as useful | 08:38 |
DanChapman | elfy, not yet I havn't seen him about, so i will send him an email maybe today or even a message to the mailing list | 08:40 |
elfy | okey doke - I think he's in florida | 08:45 |
Noskcaj | DanChapman, Issue is, the control center test still uses self.app over app_proxy. I might just swap to that so i can copy stuff | 08:50 |
DanChapman | Noskcaj, self.app holds the app_proxy, the app_proxy is what is returned from launch_test_application() | 08:51 |
DanChapman | so you can use self.app or self.app_proxy or self.proxy as long as you get a returned object from launch_test_application it doesn't make a difference :-) | 08:52 |
Noskcaj | ok. I'm just saying that the example tests are different to the ones actually made, but i'll work that out tomorrow. | 08:52 |
DanChapman | Noskcaj, yes self.app_proxy does make more sense of what it contains. So if that makes it easier for you then use it :-) as long as it's clear that it contains the returned object from launch_test_app you can't go wrong :-) | 08:57 |
Noskcaj | DanChapman, thanks for making me feel dumber ;) | 09:04 |
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
elfy | stgraber: assuming you to be the goto guy(gal) for tracker stuff - this one I assume would be a simple thing | 14:36 |
elfy | https://bugs.launchpad.net/ubuntu-qa-website/+bug/1210728 | 14:36 |
ubot5 | Ubuntu bug 1210728 in Ubuntu QA Website "Report a testcase bug missing from package tracker" [Undecided,Confirmed] | 14:36 |
stgraber | elfy: that's a config option, so balloons should be able to enable it | 15:58 |
elfy | stgraber: aah okey doke, thanks I'll hassle him as soon as I see him about then, thanks | 16:05 |
senan | DanChapman,balloons : Good Eve!!! | 16:28 |
DanChapman | senan howdy how are you? I see you left a message the other day about an email? I couldn't find one in my inbox, maybe i missed it and deleted it :-S | 16:30 |
senan | DanChapman, I pushed my new changes | 16:32 |
DanChapman | senan ahh ok ill take a look | 16:33 |
senan | DanChapman, Thanks :) | 16:33 |
senan | DanChapman, I'm sure that is not the correct way to do it.. but I couldn't find anything else | 16:44 |
senan | DanChapman, please mail me your comments.. I'm going to sleep :) | 16:55 |
DanChapman | senan, the "Shift+Tab's" aren't working correctly for me. I think i have something that will work better, ok i will mail it to you :-) | 16:56 |
DanChapman | goodnight senan | 16:56 |
senan | DanChapman, ohh is it..:( ..still struggling with vis :( | 16:58 |
senan | DanChapman, Good Night!!! | 16:59 |
Noskcaj | DanChapman, PING | 19:17 |
Noskcaj | How do i find what properties to pass to self.THING = self.app.select_single | 19:18 |
DanChapman | Noskcaj, Howdy, so do you mean like button properties etc? | 19:22 |
Noskcaj | Think so | 19:22 |
DanChapman | Noskcaj, use autopilot vis. Do you know how to launch it? | 19:23 |
Noskcaj | It says it's waiting for first valid dbus connection | 19:24 |
DanChapman | did you launch the app first with autopilot launch -i Gtk <app_name> | 19:24 |
DanChapman | you should get a message saying 'Interface loaded and wire protocol is 1.4' then you should be able to launch vis and see the launched app | 19:26 |
Noskcaj | Yep, thanks | 19:28 |
Noskcaj | Although i don't understand what it is i'm seeing | 19:29 |
DanChapman | Noskcaj, ok so initially you are lloking at the applications tree from the root/app_proxy point of view. So one of the GtkWindow or a name similar like GthWindow for gthumb is the main app window, so thats the tree you are mainly going to drop in to. All the other GtkWindow's are basically white noise and of little use. Also the GtkWindowAccessible directly under your main window tree is the ATK objects of the same window which can come in h | 19:32 |
DanChapman | andy | 19:32 |
DanChapman | If you open a dialog window you won't be able to see it in vis unless it's open as it usually doesn't exist before its launched | 19:34 |
Noskcaj | ok | 19:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!