=== LordOfTime is now known as LordOfTime|EC2 === _salem is now known as salem_ [03:20] balloons, ping [03:20] Noskcaj, pong [03:21] can you merge elfy's manual test, it would help speed things up since david is having issues [03:22] or do you want me to merge it? [03:23] also, can you review https://code.launchpad.net/~noskcaj/ubuntu-manual-tests/parole/+merge/172212 [03:33] it's bedtime for me here, but I can try tomorrow.. If your able to merge, or howard that would be great [03:33] it's really busy for me atm :-( === salem_ is now known as _salem [04:46] Good morning === forestpi1kie is now known as forestpiskie === forestpiskie is now known as Guest36249 === Guest36249 is now known as forestpiskie [07:07] good morning [08:06] balloons: not sure what's going on but manual tests 1565/1566/1568/1571 have all disappeared [08:13] balloons: no - it's more than that - in fact it seems to be all the ones knome and I added to the xfce testsuite - all missing now if you bzr branch lp:ubuntu-manual-tests [08:15] elfy, are u sure? [08:15] * smartboyhw can find it [08:16] elfy, http://bazaar.launchpad.net/~ubuntu-testcase/ubuntu-manual-tests/trunk/revision/143 [08:16] I just pulled the branch here - they are all missing [08:16] elfy, really? Not in testcases/packages/Xfce ? [08:16] My branch's new [08:17] And I can find these there [08:17] aaah - yea - didn't see that [08:17] :) [08:19] I really do wish that there was some sort of wiki for all this stuff [08:21] Good Morning :-) [08:21] elfy, make one yourself:) [08:21] hi DanChapman [08:21] Hello DanChapman, why is yesterday's session abruptly cancelled? [08:21] I mean, "emergency" isn't a proper explanation:P [08:22] smartboyhw: that'll be really good wouldn't it - let's make a wiki about things that are missing from documentation - oh wait - how would I know it's missing ;) [08:22] elfy, find it yourself? [08:22] sigh [08:23] People who requested a feature is recommended to add the feature themselves:P [08:23] smartboyhw, Hey, my eldest boy fell down the stairs and broke his arm :-S so had to go hospital. We keep telling him not to play with toys on the stairs. But 6 year olds tend not to listen....... [08:23] DanChapman, :S [08:23] DanChapman: oh dear :( [08:23] DanChapman: don't expect it to change as they get older ... it doesn't [08:23] DanChapman, well at least your eldest son now learnt a lesson... [08:24] DanChapman, for child caring, ask elfy:P [08:24] smartboyhw: quite simply something as important as QA quite frankly should have documentation written by Canonical [08:25] elfy, :-S thats kinda worrying .... :-D [08:25] DanChapman: lol - don't worry - it'll just happen :) [08:28] DanChapman: as long as he's ok - got a day of school and plenty of TLC - he'll be fine :) [08:29] my son snapped his wrist in about 5 places skateboarding on a kerb ... fell in the road - lucky [08:30] elfy, he trying to get as much sympathy as he can get.... has asked if he can have a day of watching power rangers... got to be one of the worst childrens programmes in history. [08:31] :) [08:32] elfy, what's TLC? [08:32] I think we call it ECA here.. [08:33] My worst disease was H3N2 when I was 10... [08:42] brb === yofel_ is now known as yofel [08:59] Is there a adt-run-lxc? [08:59] Sorry I mean an adt-virt-lxc [08:59] I can't find any sign of one [10:40] elfy: sorry for boring you elfy, but I would like to ask something related to the manual testcases [10:41] !ask | slickymaster [10:41] slickymaster: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [10:41] :) [10:42] all right, my question is how do I go about to have 1 branch per file in bzr? [10:44] slickymaster: [10:44] whoops [10:45] slickymaster, for each new test you do branch a copy of the 'master' branch. Then when you push create a branch with the name of your test or however elfy likes naming branches :-P [10:45] what I do is create a folder - say for instance gnumeric - then I grab the branch - then inside there I create the new file [10:45] slickymaster: the path to my gnumeric one is home/hob/manualtests/gnumeric/ubuntu-manual-tests/testcases/packages/gnumeric_adv [10:46] /home/hob/manualtests/greeter/ubuntu-manual-tests/testcases/packages/greeter_Xubuntu [10:46] slickymaster, seriously, wait, you mean 1 BZR branch for 1 single file? Who does that? [10:46] Is it that simple?! I'm really stupid [10:46] * elfy does smartboyhw [10:47] elfy, .................. [10:47] slickymaster: at the end of the day it doesn't matter how as long as the end result is you only pushing the one you want to push [10:47] smartboyhw: what does ......................... mean exactly? [10:47] smartboyhw, each manual test is only one file anyway [10:47] elfy, "so amazed that I can't speak anything: [10:48] DanChapman, now, sure, but one bzr branch for one file? [10:48] oh well - I could go on at what I get amazed at smartboyhw [10:48] elfy, yeah sure, please spam the channel:P [10:48] slickymaster: at the end of the day - do it how you find it best for you [10:49] well I'm facing a situation where my branches diverged, so probably all I have to do is to have as many branches/folders as the number of tests I'm working on. Is that right? [10:49] I'm not sure tbh - I don't get them doing that :) [10:50] slickymaster, well, you may just branch a new lp:ubuntu-manual-tests, then copy the file to a local location and work on it, and replace it back [10:50] You don't necessarily have to make many branches [10:50] smartboyhw: that's what I was doing and what led me into where I am [10:51] slickymaster, why you can't put all the files you ARE working into a single directory? [10:52] smartboyhw: I can do that, problem is in the last few days, every time I push a testcase to my branch it gets diverged [10:53] slickymaster, what you should do is: [10:53] 1. branch the code from LP [10:53] 2. Copy the files you want to work on to a new directory [10:53] 3. If you want to put it back, make sure you bzr pull first [10:53] 4. Check if no changes was done upstream in LP [10:54] 5. Copy the file back [10:54] 6. bzr commit -m "*" [10:54] 7. push [10:55] I think I'll try elfy's approach [10:56] smartboyhw: thanks for those tips, If anything goes wrong with elf's approach, I'll do it like you say [10:56] The way i see it is one branch solves one problem/bug, wether its 100 files or 1 file that solves that problem. THis way the intent of the branch is clear and doesn't need much explanation [10:57] DanChapman: that certainly works for me [10:59] elfy: according to this Jackson post - https://code.launchpad.net/~slickymaster/ubuntu-manual-tests/xfce4panel/+merge/172445/comments/385872 - I have to wait for you to merge your changes to the main branch [10:59] do you think that it could be related? [11:00] possibly - if your's is linked to anything else that's going on - but I'm new to bzr as well [11:01] elfy: I'll mail him asking it [11:01] but that's something I've not come across - I did have an issue once - but it was different [11:02] slickymaster: I'd ask balloons when he's about [11:02] which is usually in about 4 or 5 hours in here [11:03] elfy: I'll try to show up here. I'm assuming you're referring to 4 to 5 hours from now, right? [11:03] yea [11:04] OK. Thank you all, guys, for the help [11:05] welcome :) [11:05] see you then [11:05] cya === _salem is now known as salem_ [14:09] balloons hey :-) sorry for short notice last night [14:13] DanChapman, no worries mate. Is everyone a-ok today? [14:13] I mean as a-ok as possible considering everything [14:14] DanChapman, when do you suppose can run the session back? [14:14] Hey balloons [14:17] balloons, yeah lil man is ok. He is having a power ranger marathon today while drawing animals on his cast :-D yeah all is as good as can be. [14:22] good morning balloons [14:22] DanChapman, I'm glad to hear. Kids usually bounce, but sometimes even they are human :-) [14:23] hello elfy I know slickymaster and you and jackson are working on the xfce stuff [14:23] I hope it's been sorted? [14:24] not a clue - I think there's some merges holding something else up - not really had time to look at it [14:24] I'm not sure why something I put up for review/merge would hold anything else up really [14:24] hi balloons, I think my branch is completly messed up [14:25] slickymaster, :*-( [14:26] balloons: according to Jackson I have to wait for elfy to merge his changes to the main branch, then re-do my version of the settings test. that will remove the issue of conflicts [14:27] but what is strange is that everything happens when I was pushing my xfce panel testcase [14:27] hmm.. We're still blaming jackson for this right? :-p If elfy hasn't changed your test we shouldn't have to wait on his merges [14:27] but anyways, which branch did you redo the changes in? [14:27] not really sure why he said that - I might have rights but I'm not likely to merge my own [14:27] let's just get you merged [14:27] so you don't have to keep updating your branch :-) [14:27] balloons: see this: https://code.launchpad.net/~slickymaster/ubuntu-manual-tests/xfce4panel/+merge/172445/comments/385872 [14:28] Guys, don't blame Noskcaj [14:28] smartboyhw: it's just to be on the safe side :) [14:28] smartboyhw, I'm just teasing him a little.. he's been great [14:29] yes, he has. he has helped me a lot [14:32] so, what do you think my next step should be, balloons? [14:32] balloons: at a basic level here - if there is a testcase that's been reviewed and is good to go - and I've looked and it looks good to me too - does just clicking the "Merge into:lp:ubuntu-manual-tests" do the job completely? [14:33] elfy, you use bzr merge... [14:33] ^^ [14:34] slickymaster, I'm pulling your branch a moment [14:34] In a fresh lp:ubuntu-manual-tests, do bzr merge [14:34] bzr commit -m " balloons, thanks for taking the time [14:34] bzr push :parent [14:34] sorry - that means nothing to me at all - not really in the right frame of mind to decipher cryptic comments [14:34] hmm looks like Jackson has the proper comments :-) [14:35] * smartboyhw does not understand why Noskcaj is called by first name rather than IRC nickname in here. [14:35] the only file with an issue is 1562_xfce4panel tests [14:35] solve the conflict and we can merge it [14:35] balloons, that's the one [14:36] balloons, how can I solve the conflict? [14:36] the 001 or 01 testcase has different versions [14:36] it looks like yours is just an expansion or whatever.. regardless we can just go with your version [14:39] balloons, yes. either one or the other. They're basically the same file. The only difference lies in the formation. One complies with the proper format and the other doesn't [14:41] shoot [14:42] balloons ?! [14:42] my local repo is messed up [14:43] i have to fix that first [14:43] balloons, could it be a curse, hoovering over us? ;) [14:44] lol, I think not [14:50] ok sorted me [14:51] now your branch [14:52] ballons, I'm keeping my fingers crossed [14:53] slickymaster, ok so your version has 5 tests, while the version in the archive has 21 [14:54] and they don't directly matchup [14:54] balloons, I'm a bit like elfy, now. you're being a little cryptic to me [14:54] so with your help, let's just go through them [14:54] balloons, ok [14:54] consider this as the problem [14:55] you wrote test 1, elfy wrote test 2.. You both wrote a version of test 3, and elfy wrote 10 additonal tests [14:55] you have to merge that all together into something that makes sense :-) Since you both wrote a version of test 3 that's where we have to decipher which one to take, or if we need to combine them [14:55] balloons, we're just speaking about xfce4 panel tests, right? [14:55] yes [14:56] and how do we do that? [14:56] that's an example of what's gone on with the file. there's several versions [14:56] we do that manually by looking at the 2 and comparing them [14:56] I use a "diff" tool called meld [14:56] it colors the text that is different and displays them side by side [14:57] I've not done a panel test ? [14:57] or is this all rhetorical ? [14:58] elfy, that's what I always thought [14:58] ok - I'll go back to nursing a headache [14:58] rhetorical elfy [14:59] as elfy, I was also under the impression that I was the only one working on the panel tests [14:59] SOMEONE changed something.. insert whatever name you wish.. it was just to help understand what's happened [15:00] balloons, private message? [15:02] balloons, can't you just remove all those versions, clean my branch, and after that I would just resubmit it? [15:04] slickymaster, if you grab trunk and redit the file from scratch that fixes it [15:05] that's essentially what i'm trying to do by looking through the diff [15:07] ok slickymaster so this is partially looking like one version is a consolidation of the other [15:07] balloons, yes, I think you are correct [15:15] slickymaster, I think we have something [15:15] I want you to look at the files ok [15:15] ? [15:16] http://bazaar.launchpad.net/~nskaggs/ubuntu-manual-tests/davidmerge/view/head:/testcases/packages/xfce4panel%20tests [15:16] http://bazaar.launchpad.net/~nskaggs/ubuntu-manual-tests/davidmerge/view/head:/testcases/packages/xfce4settings%20tests [15:17] if those both look correct to you, I will merge [15:17] the settings one is part of the same thing as one I've done [15:19] balloons: if you merge that one let me know - then I will stop mine and then edit slickymaster's when it's merged to include my bits as well [15:20] slickymaster, can you have a look? [15:20] no rush, just wanted to make sure you saw the links :-) [15:22] balloons, sorry for the delay, I was fixing a problem with a server over here at work [15:23] slickymaster, it's a morning of problems eh? :-) [15:23] yes they're correct. Just one thing your first link is the finished panel test, and you can merge that one [15:23] balloons, yes, it's been a hell of a day ;) === Ursinha is now known as Ursinha-afk [15:24] slickymaster, ok so both links are good and can merge? if so, I'm pushing now [15:24] continuing, the second link it's from my xfce settings, which I haven't finished yet [15:25] slickymaster: that second one is the same as one I was working on [15:25] slickymaster, ohh you don't want to merge xfce4settings tests? it's in your branch, but I can remove merging it [15:26] balloons, I'm still working on that one, If you merge it, will I be able to continue working on it, without any problems [15:26] slickymaster: http://bazaar.launchpad.net/~elfy/ubuntu-manual-tests/XFCESettings/view/head:/testcases/packages/XFCESettings [15:27] ok, so I'll merge both.. elfy that ok with you also/ [15:27] elfy; so, after all it seems we're working on the same test, but I thought we have established that they were different bugs [15:28] I think I marked myself as working on the wrong thing [15:28] balloons: do the merge [15:28] elfy, this is the one i assigned to me: https://bugs.launchpad.net/bugs/1183493 [15:28] Launchpad bug 1183493 in Ubuntu Manual Tests "Test Needed: Xfce Settings Manager" [Undecided,In progress] [15:29] slickymaster: wait until I have pulled it and then pushed my stuff to the test and balloons can then merge that [15:29] then you'll have both what you had done and what I've done [15:29] I think the logic is right there - but I've been suffering all day with a wicked headache [15:30] elfy: it's really just one of those days [15:31] wa-hoo [15:31] pushing now [15:31] balloons: so - I'll pull that later - add my changes and push it back for review [15:32] perfect [15:32] slickymaster: once I've done that you can get the whole thing back with all changes we've both done [15:33] so, can I consider the panel tests as done with and don't think about it again and continue with this one https://bugs.launchpad.net/bugs/1183493? [15:33] Launchpad bug 1183493 in Ubuntu Manual Tests "Test Needed: Xfce Settings Manager" [Undecided,In progress] [15:33] Well, this needs to get to the Packages QA Tracker before I would consider it "Fix Released". It can be called "Fix Committed" though [15:33] slickymaster: I'll PM you on the forum if you like once I have had my changes to it merged - until then leave that one alone [15:34] elfy, ok, I'll do as you say [15:34] done and merged [15:34] thanks guys! [15:34] k [15:35] balloons, can we now get on with the new idea discussion?:P [15:35] smartboyhw, the mind is much freer now :-) [15:35] go for it [15:35] present the idea [15:35] balloons, sorry, just one last question. do I still have to push the panel test or is the all thing finished? [15:36] already saw that it's solved [15:36] do a bzr pull and you'll see the new stuff [15:36] 1573_xfce4panel tests [15:36] sorry guys, for being a pain in the and thanks a lot for all your help [15:36] 1574_xfce4settings tests [15:37] ballons, I saw that, thanks [15:37] balloons: so why do some tests say Test-case name: xfce4 panel/xfce4-settings_manager-002 etc and other ones don't [15:38] this confuses me - I guess it depends which one 'they' took as a model when they started [15:38] slickymaster's do and mine don't :) [15:39] elfy: yes, I think it's a matter of the model taken [15:39] elfy, I would drop the internal naming actually [15:39] jackson and I were chatting about that at one point [15:40] you can leave them in, but it's no longer needed, so I think it's probably saner to stop it [15:40] ok - so like I do then [15:40] * balloons JUST figured out noskcaj's handle [15:40] LOL [15:40] wow.. jackson backwards.. [15:41] LOL [15:41] right - so I'll do this settings one shortly [15:41] balloons: of course - and elfy is forestpiskie or hobgoblin upside down :p [15:42] ok, so I'll change my tests model and leave the internal naming [15:42] smartboyhw is busy laughing at me.. [15:42] balloons, why? [15:42] * smartboyhw is busy typing up his suggestion to ubuntu-quality@lists.u.c [15:42] noskcaj = jackson backwards.. I JUST figured that out [15:42] balloons, elfy slickymaster phillw sent [15:43] balloons: one serious question - I now am going to fiddle with the settings one you've just merged - I can do whatever I want to it ? [15:43] DanChapman, ^ [15:43] one less serious comment - you just made it so I don't have to figure noskcaj's nick out - thanks :) [15:43] balloons, oh, I didn't expect that:O [15:44] Stupid Noskcaj, I shall beat him tmr. [15:44] Probably not, maybe Friday, too damn busy tmr [15:44] Don't expect me on internet before 12:00 UTC tmr [15:44] :P [15:44] smartboyhw, did you not realize it either? [15:44] lolololol [15:44] elfy, you can do whatever you want [15:44] balloons, no. lololololololololololololololololololololololololololololololololo [15:44] right [15:45] slickymaster's stuff is in.. [15:45] x = (-b +/- root((b^2)-4ac))/2a [15:46] yep got that - working on it already [15:46] That's basically my feeling of Noskcaj's cleverness:P [15:46] smartboyhw, so simple, so clever.. and we never noticed [15:46] elfy: I'll wait for your Pm on the forum, before continue to work on the settings test [15:46] balloons, yeah. We idiots:P [15:46] Anyways, guys, do reply to my suggestion on the ml! [15:46] smartboyhw, nice email.. +1 from me as mentioned [15:47] I'll see what others think [15:47] slickymaster: ok - depending on how long it takes to merge it tbh - I'll be done in 30 minutes [15:48] elfy: take your time, i'll probably just will manage to work on it later on. I'll have a work appointment in a few minutes [15:49] well I want to get my bit done now :) [15:49] guys, once again thanks for all the help [15:49] see ya [15:49] see you slickymaster ! [15:49] cya slickymaster [15:53] DanChapman, so the ubuntu-manual-tests is sorted now.. how's the ubuntu-autopilot-tests side? [15:54] you missed the fun of merging David's changes.. ugh, a diff mess but we did it [15:55] balloons, evince is fixed. Now grabs a sample pdf from its source dir. For some wierd reason its fixed the screenshot probs aswell. Wild! [15:58] smartboyhw, just seen your message to the mail list. WOuld be happy to stand in as a testcase pilot but not on Admin team. balloons, how does one go about getting on the team? [16:00] Wooooah!! FIrst time opening a Qt app with vis. Gtk is proper lacking on info compared to this!! [16:01] DanChapman, I can fix you up there easily enough :-) [16:02] DanChapman, well you should [16:02] balloons, add DanChapman to the team, he has done enough autopilot tests;P [16:02] balloons, cool. :-) [16:02] DanChapman is on the team now :-) [16:03] balloons, thx! [16:03] balloons, awesome cheers :-) [16:03] DanChapman, now heh heh [16:03] :P [16:03] DanChapman, yea, isn't QT SO much nicer? with qml you don't even need to use vis to get what your after. I read the qml files more than anything :-) [16:03] DanChapman, ok so I should push the new manual stuff to the prod branch right? [16:04] manual or autopilot? [16:05] oh.. lol, sorry yes autopilot [16:05] balloons, yeah evince branch needs pushing to prod. [16:06] Shall i remove ubiquity as it now over at lp:ubiquity? [16:06] balloons, plz help to get the idea circulated to Letozaf_ and Noskcaj and phillw and SergioMeneses and njin and elfy and every other testcase admin:P [16:06] balloons: ok - so I added in the bits I'd done this morning, ready to review etc - should be ok, checked it with the script thing here https://code.launchpad.net/~elfy/ubuntu-manual-tests/1574_xfce4settings/+merge/172850 [16:06] I'll leave it now - once I see in m/list it's done I'll let slickymaster know he can carry on with it [16:07] thanks for your help :) [16:07] DanChapman, yes I suppose removing ubiquity makes sense. I wonder what the best way to keep track of things that aren't in the branch.. aka ubiquity and core apps [16:07] that's something we'll have to think about [16:14] balloons, ok I will remove it. Yeah how would you keep track of the core apps etc? [16:15] well launchpad doesn't have a good way I know of of doing it [16:15] but it's something to keep in mind going forward [16:15] I'm not losing sleep on it yet, but it's on my mind :-) [16:15] :-) [16:19] I must say i'm mighty impressed with xMIR been running it for 2 days with not an issue :-) [16:20] DanChapman, no bugs? [16:20] ;O [16:21] Nothing so far smartboyhw, the only prob i had was with vmware package on start up, but thats because i borked vmware. Apart from that nothing. [16:23] * smartboyhw tries [16:24] :-) [16:24] there's definitely some holes in xMir, but your right DanChapman :-) === Ursinha-afk is now known as Ursinha [16:48] hello drsaurabhsikka [16:54] hello balloons [16:54] i had a question, on a side note...\ [16:55] sure thing [16:55] wasn't there an Ubuntu Certification course of some kind, some years back? what happened to it [16:55] met some Red Hat chap today, and that got me thinking [16:57] drsaurabhsikka, I believe some third party may have offered it.. I can't remember myself [16:58] http://en.wikipedia.org/wiki/Ubuntu_Certified_Professional [16:58] that's more than I could have answered :-) [17:00] i see , thanks [17:00] hi [17:01] are we having the tutorial sometime soon? [17:04] drsaurabhsikka, 1800 UTC, so 1 hour.. That said, your more than welcome to ask me questions now, I've just got to grab some food while we do it :-) [17:05] no rush, take your time, i'm just installing saucy meanwhile. just wanted to be on time [17:06] ahh.. well whenever your ready, go ahead and ping.. I'm happy to help [17:25] balloons, i merged evince test back into production branch and set my branch to merged do i just leave it at that? or do i manually remove the branch? [17:26] manually remove which branch? If it's in prod, we're good :-) [17:26] hi juggle :-) [17:27] this branch https://code.launchpad.net/~dpniel/ubuntu-autopilot-tests/evince [17:27] thank you balloons , how are ypu [17:28] ahh DanChapman lp updates the status on old branches once merged so you don't see them [17:28] if you really wish you can delete them, but I let them archive out [17:29] cool, will leave lp to do its thing then [17:29] so https://code.launchpad.net/~ should only show your active stuff [17:30] balloons, i'll give it a little while its still saying active [17:31] balloons ahh i se what ive done. I proposed the merge to go into dev branch but merged it into prod branch. Doh! [17:34] :-) [17:57] hi [18:00] it's time ;-) [18:01] drsaurabhsikka, I hope your still about.. Welcome to anyone joining us for the automated testing workshop [18:02] i'm here [18:02] what next [18:03] so what I'd like to do is answer any questions folks have about writing autopilot tests, and go about helping you get started [18:03] we can do that via IRC, or if people are willing, over a g+ hangout [18:04] I know not everyone wants to be on camera, so we'll stick with IRC for the moment. First I'll give a little introduction on what autopilot is, and what we're doing. [18:04] Autopilot itself is a functional testing tool allowing us to interact with an application the same way a user would [18:05] it can click, swipe, touch, and type in an application by simulating a user [18:05] this allows us to test at a functional level to ensure the apps in question work well [18:06] So, we want to bring this tool to the core apps project. The core apps are written by community developers and represent the core applications for the ubuntu touch platform. [18:06] We're talking about things like calculator, calendar, file manager, terminal, etc. Some games too, :-) [18:07] So, in order to help contribute tests there are a couple things you'll need [18:07] the first is an installation of ubuntu saucy. It can be in a VM or installed on physical hardware [18:07] the second is an understanding of how autopilot works, and that's what I'm here to help with :-0 [18:08] For anyone who hasn't yet gone through the tutorial on developer.ubuntu.com, http://developer.ubuntu.com/resources/cookbook/mobile/how-to-write-autopilot-tests/, please do so now [18:08] inside is an example application you can branch and run, then run the autopilot tests for [18:09] For those who have gone through the tutorial, let's talk about what to do next [18:10] If you visit this wiki page on the core apps, you'll find a handy listing of the needed testcases for each of the applications [18:10] https://wiki.ubuntu.com/Touch/CoreApps/Testing [18:10] In addition, there's a lovely guide to help you out. https://wiki.ubuntu.com/Touch/CoreApps/Testing/ContributeAutopilotTestcase [18:10] I won't repeat everything here, but in a nutshell here's how to get started [18:12] first pick an application.. Choose something you like that interests you. If your concerned, I can recommend something that might be easier to start with. An application with pre-existing tests for instance is easier for you to get started since you won't have to create the folder structure and there's already some work done for you to build upon [18:12] apps like clock, calendar, rss reader, weather, file manager all meet this criteria today [18:12] second, get the source code and look at and run any existing tests [18:13] you can do this via bzr; the tutorial has links for each core app, as does the wiki. See the header and click on it for the app your interested in [18:13] for example, for weather, https://wiki.ubuntu.com/Touch/CoreApps/Weather [18:13] it has nice links to the project page, the team, blueprint, etc [18:14] Finally, pick a test to add. You can use the links on this page https://wiki.ubuntu.com/Touch/CoreApps/Testing to pick something. An open bug is something that is needed. [18:15] for example, the list of needed tests for the rss reader; https://bugs.launchpad.net/ubuntu-rssreader-app/+bugs?field.tag=needs-autopilot-test [18:15] trying it out... [18:15] Now the last step.. how in the world do I write a test? Well, I suggest writing your test in english first. Go through the steps yourself in the application and note what happens as you click and interact with things [18:16] the list of actions becomes your action steps for your testcase. [18:16] meanwhile, anything that happens in response to your interactions becomes something you can "assert" about [18:16] Let's look at the tutorial quickly for an example; [18:16] http://developer.ubuntu.com/resources/tutorials/quality/how-to-write-autopilot-tests/ [18:17] Inside the test_clear_button function we do a simple action [18:17] click the clear button. To ensure the action was successful, we as a user would want to see the fields are cleared [18:17] this is how it looks in autopilot: [18:17] #click the clear button [18:17] self.pointing_device.click_object(clearButton) [18:17] [18:17] #confirm fields have been wiped [18:17] self.assertThat(fromField.text, Eventually(Equals('0.0'))) [18:17] self.assertThat(toField.text, Eventually(Equals('0.0'))) [18:18] so you can see us using autopilot to click the clear button, and then have our assertions that the fields have been cleared [18:18] That's the basics of any good test.. interact and then assert [18:19] So, with that I'd like to get to answering any questions you may have or help you get your environment setup, pick an app or test to write, etc [18:20] ok, so I installed python-autopilot, and connected with bzr branch dropping letters [18:20] perfect.. drsaurabhsikka I actually have to add the needed tests for that app.. it was on my todo list from this morning :-) [18:21] Branched 32 revisions it says [18:21] :) [18:21] lovely. so at the moment that application doesn't have any tests.. Let's change that shall we? [18:22] let me file the couple bugs for the needed tests [18:22] first things first, you should run the app and get a feel for how it works :-) [18:22] we'll try writing a test for something basic, like starting a new game [18:23] is this a game? dropping letters? [18:23] yes, in fact it's one of the 2 games in the core apps [18:23] how do i install it? [18:23] sudoku is the other one [18:23] ahh good question [18:23] so you don't need to install it in order to run it. however there is a ppa with all the core apps you can install [18:24] so first, to run the core app do this [18:25] qmlscene dropping-letters.qml [18:25] for the ppa, follow the info here: https://wiki.ubuntu.com/Touch/CoreApps/PPA [18:25] you can add and install all the core apps this way and run them as you would any other application [18:26] after installing from the ppa, it would simply be "dropping-letters" [18:27] added the ppa, now updating [18:27] ... [18:29] ok, this app is a bit different from the other core apps because it's a game.. but games are more fun right? [18:30] should autopilot tests also test how fast the app reacts to an action? eg. check for activity indicators? or should they just focus on the actual reaction? [18:32] Is there a way to pause the autopilot for say 2-3 seconds to let an action run in the background? [18:32] netcurli, interesting question. I would say that depends on the application [18:32] can't install. qtdeclarative5-* are missing dependencies [18:32] specific reaction timing could be useful inside a game for instance I'd guess [18:33] drsaurabhsikka, ahh.. you probably don't have the ubuntu-sdk installed [18:33] nope [18:33] one sec, I'll fix you up [18:34] sudo apt-get install ubuntu-sdk [18:34] you shouldn't need the ppa anymore if you are on saucy [18:34] but the ppas are [18:34] sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper && sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk [18:34] How I should know that after clear field value should be e.g. "0.0" and not e.g. "blank", where I should check how application suppose to work [18:35] how i can create a bug for a specific test-case ? [18:35] ok so netcurli in response to your question again, most of the time we don't care about speed. I've not had to write a test yet that cared about the speed of execution. it would be more difficult to do so [18:36] nik90, what do you mean pause? generally we avoid sleeping, and instead use an assert with the eventually function [18:36] xeranas, the example app I know the clear value should be 0.0 from running the application and pressing the button to check and examining the source [18:37] if your curious, specifically you can open the qml file and see the values are set to 0.0 [18:37] balloons: well I was creating a test to add a world clock which it did, however it takes a fraction of a second to add it to the database. However autopilot immediately closes the app before that task is complete. [18:37] this results in no world clock being added [18:37] so xeranas let me paste where I'm talking about so you can see it [18:37] doing the ppa thing, as I'm still on quantal [18:38] Sorry for interrupting, for the past year I have installed 12.04, 12.10, 13.04 and every time I installed, the AMD Catalyst display drivers were released at the same time as the ubuntu newer releases which then broke my display for months until AMD caught up. Can we do this autopilot stuff in 12.10 without issues? [18:38] drsaurabhsikka, ohh, quantal isn't new enough for this to work sadly.. it really needs to be raring or preferably saucy [18:39] xeranas, http://paste.ubuntu.com/5841225/. [18:39] I meant AMD never releases Catalyst drivers to sync up to Ubuntu's newer releases right away. I do have 13.04. Can we do this autopilot stuff using 13.04? [18:40] omac777: yes you can use 13.04 [18:40] juggle, go to the project page and select the "report a bug" under the bugs tab. It's the same as for any other application [18:41] omac777, yea we don't want you to break your display! That said I am running saucy and usually swap between the open drivers and amd drivers without issue. your mileage has obviously varied, and I understand [18:42] nik90, ahh ok.. what happens after you add the world clock/ [18:42] does anything happen in the UI? [18:43] if not we can still use python to confirm the entry was created in the database outside of the UI. but if the test has no UI elements it might make more sense as a unit test [18:43] nik90, ^^ [18:43] saucy not yet installed...digging it up... [18:43] drsaurabhsikka, :-) things will work much nicer then [18:44] so xeranas, how are you coming along? any other questions I can answer? [18:45] I'm still things setting-up, so far I do not see tests sample yet, so I wonder how much one test should cover functionality [18:47] xeranas, in general tests should be focused and specific. Test one thing per test; I like to just logically group one set of ideas of bit of functionality per test. They also need to be standalone and not require any dependencies as a test should be able to run in any order. That means it needs to do it's own setup if needed. [18:48] make sense [18:50] balloons, which branch has the most recent fixes for ubuntu-autopilot-tests to try during saucy cadence week2? [18:51] Vasudevan, I'm not quite sure what you mean by your question. However, the prod branch always has the most recent stable versions of the ubuntu-autopilot-tests project [18:52] Vasudevan, so lp:ubuntu-autopilot-tests/production [18:52] balloons, you mean bzr branch lp:ubuntu-autopilot-tests [18:52] Vasudevan, yes that will branch trunk. If you want the stable working tests to run for some reason you can branch lp:ubuntu-autopilot-tests/production [18:53] DanChapman, ohh since we got on this sidebar :-) I noticed you pushed evince to prod but not development :-) [18:53] DanChapman, Can you push evince to Development too? :-p [18:54] balloons, yeah mate. Was going to do that next.. just had to have dinner first :-) [18:54] lgp171188, so to answer your question. the clock, rss reader, calendar, weather and file manager all have working autopilot tests [18:55] checkout any of those branches to see some examples of autopilot tests and run/play with them [18:55] be back soon... [18:55] balloons: Thanks, I will do that. [18:56] lgp171188, of course.. You missed the intro pieces as well.. but the quick version is have a look at the tutorial here for an example and explanation: http://developer.ubuntu.com/resources/tutorials/quality/how-to-write-autopilot-tests/ [18:57] balloons: Thank you, I will go through that. I was anyways planning to attend Friday's session that is at a more convenient time for me here in India. [18:57] it walk through the app and the autopilot test, real simple and explains things [18:57] lgp171188, sounds great1 [18:58] lgp171188, make sure you have a saucy installation and go through that. you'll be all set [18:59] any other questions? [18:59] balloons, upgraded the suacy vm for cadence w2, and pulled the latest from lp:ubuntu-autopilot-tests; saw many errors - thats why I asked [18:59] Vasudevan, ahh gotcha. Yea, the prod branch I linked should not error at all [19:00] the development branch might not run 100%, hence the distinction :-) [19:00] xeranas, were you able to get setup? [19:01] balloons, thanks, will try again.. [19:03] thanks to everyone who came out.. feel free to ping or email me at anytime. I'm not running away anywhere, so feel free to keep working and asking questions, I'll be here. [19:03] thanks again, and happy hacking on tests! [19:04] Also remember, we have 3 more scheduled sessions, and your welcome to attend any/all of them as you wish [19:09] am back [19:11] how much of python does one need to know in order to run the autopilot [19:11] drsaurabhsikka, it's not bad, and I can do it :-) [19:12] if you learn the couple little autopilot functions you can skate throught most things [19:13] ok, i've got a saucy edubuntu DVD burned [19:14] be back soon [19:16] nik90, did you get your question answered properly? And more than that can you solve your problem? :-) [19:34] balloons, why can't i upgrade from 12.10 to 13.10 - the option is there but greyed out [19:37] drsaurabhsikka, you can't straight upgrade to saucy from 12.10 [19:37] only one at a time.. [19:37] 12.10 to 13.04 [19:37] etc [19:37] ohh are you in the installer? [19:38] you could simply install saucy over an existing install.. all of your /home will stay intact, but you'll have the default packages again [19:39] yes. so that's a useful bit of info that should be in the installer [19:43] i mean it's rather rude of the installer to detect my fedora and quantal partitions, even suggest i can upgrade, then just grey it out without a beg your pardon [19:45] :) should we file that as a bug>? [19:47] drsaurabhsikka, sorry to hear that :-( [19:47] drsaurabhsikka, sure file it.. It might be as expected, but it sounds like the experience was a bit confusing for you [19:48] I'm not sure why it told you to upgrade [19:48] balloons: sry, I had to go. Yes on adding the world clock you can see the entry in the saved world listview [19:48] nik90, then I would use an assert with an eventually checking that entry. make sense? [19:48] I will just do a UI check to see if it added the entry [19:48] yes [19:48] indeed :-) but you could do a non-UI check.. just in case you ever need to do it [19:49] but I would question why that's an autopilot test then unless only part of it was ui, etc, etc [19:50] I just want to make sure sure that adding a world clock works by checking the saved world clock list [19:50] so I think I could resort to the UI alone [19:51] ;-) sounds like a plan [19:51] balloons: can you give https://code.launchpad.net/~abreu-alexandre/ubuntu-html5-theme/package-autopilot-tests/+merge/172883 a once-over? [19:52] mhall119, sure.. It'll be a bit, but I'll leave some remarks before EOD :-) [19:52] Just run sample test and everything seems work OK. [19:53] xeranas, :-) [19:53] pretty neat eh? [19:56] more impersonal than confusing. We're all about better UX, aren't we? [19:56] most definitely [19:57] getting there...meanwhile [20:00] drsaurabhsikka, the cool part is you can chat with xnox directly here about how it works and give direct feedback [20:00] :-) [20:02] so xeranas just keep in touch if you need anything. Once you pick a core app to go after, you can get help from the development teams themselves.. most of them hang out in #ubuntu-touch [20:02] so autopilot or app help, we've got you covered [20:02] xnox? [20:05] balloons: thanks, I'll keep that in mind. [20:06] thanks balloons [20:07] drsaurabhsikka, yes he's one of the ubiquity devs.. it's nighttime for him so he's not around, but I wanted to mention it [20:13] that's awesome to know. Thanks [20:14] the LTSP project is new in this version...?\ [20:16] nite folks see you all tomorrow [20:18] gnite Dan [20:24] drsaurabhsikka, yes.. it's the big thing :-) [20:51] balloons, i've installed it. quick Q: do i need to update my launchpad keys? [20:52] drsaurabhsikka, excellent. Umm you could if you nuked things [20:52] but if you didn't and kept your home it should continue to work [20:52] even if the user@host doesn't match.. it will in the key :-) [20:53] it's on another partition now, dual booting with quantal [20:54] ahh.. well feel free to add a key then [20:54] you can have more than one :-) [20:55] i admire your patience. [20:56] i'll update things and catch you on friday for the next session? [20:56] that sounds like a plan mate [20:56] you might want to grab a branch of say the clock or calendar, weather, etc that has tests to start with [20:57] it will be easier to see [20:57] i'll do that [21:02] goodnite for now. Thanks balloons [21:02] goodnight! === salem_ is now known as _salem