/srv/irclogs.ubuntu.com/2015/01/29/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
=== JoseeAntonioR is now known as jose
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
elopioping brendand: you have flake8 errors on your config branch.14:55
elopioI like it a lot that you moved the name to an argument.14:55
brendandelopio, odd. let me check14:58
elopiobrendand: now that you are adding commnad line arguments, I would like to see  a test for that. Maybe if you move the parsing to a different function it will be easier.15:02
elopioalesage: quick review here please, to follow the rule of two: https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/flash_in_readme/+merge/24793515:08
alesageelopio k15:40
paulliualesage: https://code.launchpad.net/~paulliu/unity8/indicator-power-autopilot-test-2015012115:47
paulliualesage: I can get the Notificatiion if I use create_notification.py15:48
paulliualesage: But I get no Notificaiton show when I set the battery low.15:48
brendandelopio, see my reply on https://code.launchpad.net/~brendan-donegan/ubuntu-sanity-tests/fix_wizard_test/+merge/24799515:48
brendandelopio, the continue action is only used for a passphrase15:48
elopiobrendand: ack. Sounds good.15:49
paulliualesage: I think, for http://people.canonical.com/~thomir/ueqa-code-proposals/proposals/indicator-power/index.html UI Helpers part is almost done.15:49
elopioI'll flash and try to run it.15:49
brendandelopio, you're sure that a test for the command line args is necessary in https://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/specific_config/+merge/247841 ? it's a very simple bit of code... i could add something if you really feel strongly about it15:53
alesagepaulliu, I'll test this morning thanks15:58
paulliualesage: When I run test111, from the screen of the phone I saw the power-icon changed. But the Notification dialog doesn't show up.15:59
alesagepaulliu, I'll have time to have a look--when running charles' tests I def saw the notification when the battery gets low16:02
brendandelopio, btw can you offer some feedback on https://bugs.launchpad.net/ubuntu-sanity-tests/+bug/141587716:02
ubot5Error: launchpad bug 1415877 not found16:02
elopiobrendand: yes, I feel strongly about it. I want 100% coverage.16:02
elopiobrendand: wouldn't it be solved by my optional options branch?16:04
elopionow all options are requested, but they can be left blank. If there is a default, it will be used.16:04
brendandelopio, if it does, then great16:05
elopiobrendand: I'm not sure. You still can use passcode and assign letter to the passphrase.16:05
elopioavoiding that would require some validation.16:05
brendandelopio, but the problem is that what the provided passcode/phrase is considered to be is purely dictated by that setting16:08
brendandelopio, e.g. 1234 can be either a passcode or passphrase16:08
brendandelopio, so you can't really validate it16:08
brendandelopio, i think i have a plan for the command line test16:12
=== chihchun is now known as chihchun_afk
elopiobrendand: we would need the validation to happen after all the config has been read.16:13
brendandelopio, what would you validate then? that the password matches with the security method given?16:14
elopiobrendand: cool about the tests. You can look at autopilot for ideas too.16:14
elopiobrendand: that if security is passcode, password has to be four digits integeeer.16:15
brendandelopio, that would be fine with passcode, you can check that it's a 4 digit string16:15
brendandelopio, but for passphrase you can't16:15
elopiobrendand: for passphrase, any value is accepted, what would you validate there?16:15
brendandelopio, right you can't validate anything16:16
elopiobrendand: I think that the welcome wizard card also involved checking it against the test docs in moztrap. Can you please check if we are following all the same steps?16:32
brendandelopio, actually the moztrap test specifies only to use a passcode16:32
brendandelopio, oh you mean in general16:32
brendandelopio, actually there is one thing16:33
elopiobrendand: yes, to make sure we are doing the same thing in each page.16:33
brendandelopio, we don't go through the wifi wizard properly16:33
brendandelopio, since the connection already exists the wpa key is never asked for16:33
brendandelopio, so we need to delete the connection before running the test16:33
brendandelopio, we can simply rm the connection file16:34
elopiobrendand: ok. Should we do it as part of this card, or make another one for that?16:34
brendandelopio, i'll make a bug for that - i was focused on fixing the error16:34
brendandelopio, another card, yes i think so16:35
alesageelopio I'm reviewing optional_options fyi16:35
elopiobrendand: ok, please make the card and put an estimate in ideal hours to it.16:35
elopioalesage: thanks.16:36
brendandelopio, added in TODO. size 516:42
elopiobrendand: thanks.16:50
elopiobrendand: ah, and there's one more thing to annotate about that card. Since we are in developer mode, the security screen is actually doing nothing.17:01
brendandelopio, in that it's not actually changing the password/phrase. yes17:01
brendandelopio, i doubt there's anything we can do about that though17:02
elopiobrendand: yes. Maybe, make an annotation on the moztrap doc saying that it is automated but the security still needs to be manually checked.17:02
elopio?17:03
brendandelopio, well that's not in the sanity tests ;)17:04
elopioYou are right there. It just checks that the screens can be filled and accepted.17:04
elopioso, we are actually automating it all :)17:05
brendandelopio, i'm going offline til the standup17:05
brendandelopio, see you then17:05
elopiobye17:05
elopioenjoy life.17:05
Letozaf_balloons, hi20:15
balloonsLetozaf_, hello20:18
Letozaf_balloons, I had a chat with Roman on that shorts app flaky test, I am trying something to see if I can fix it20:19
balloonsLetozaf_, excellent20:20
Letozaf_balloons, wait... it will be excellent if it works :-P20:20
balloons:p20:20
Letozaf_balloons, looks like it passed, this time, do you want to see if you can break it ?20:24
dobey_is it possible to use the phone emulator as the virt-server for adt-run? balloons ?20:25
balloonsLetozaf_, I will20:25
Letozaf_balloons, :) thanks20:26
balloonsdobey_, I do the opposite. Start the emulator, and use adb20:26
dobey_balloons: ah, was hoping one could do adt-run --- xvfb-run ubuntu-emulator devel-proposed or something20:27
balloonsLetozaf_, I queued up 4 runs20:32
balloonsalso running locally on my desktop20:33
Letozaf_balloons, awesome! thanks.20:33
Letozaf_balloons, I am also running the tests several times in sandbox on my desktop20:33
balloonsfirst glance, I think it's fine ;-)20:34
balloonsLetozaf_, lol, jenkins failed it20:35
balloonsLetozaf_, I too am getting an occasional failure perhaps on test_edit_topic20:36
Letozaf_balloons, :'(20:36
balloonsI guess it might be worth actually looking closer at what is going on20:36
balloonsit's significantly better. I was getting several errors every time, now it usually passes20:37
Letozaf_balloons, yeah, let me take a look :)20:38
balloonsLetozaf_, so it seems it's failing in the assert, which is probably an easy fix. We should see how we actually want to check the edit topic worked or not20:39
Letozaf_balloons, if you look at this video:http://91.189.93.70:8080/job/generic-mediumtests-vivid/873/artifact/shorts_app.tests.test_rssreader.TestMainWindow.test_edit_topic.ogv20:40
Letozaf_balloons, you will se that the topic is not changed, it does not click in the right place20:40
Letozaf_balloons, looks like it's unable to get "LabelVisual", text="Ubuntu"20:40
Letozaf_balloons, in the valueselector...  here def change_feeds_topic(self, name): in __init__.py20:41
balloonsI assume there's a sdk helper we could be using20:41
Letozaf_balloons, hah it passed now :P20:42
Letozaf_balloons, well at least, some times it passes :P20:42
* balloons still playing around locally20:43
balloonsLetozaf_, yes it's very very close20:45
balloonsLetozaf_, I made some simplification tweaks; lp:~nskaggs/ubuntu-rssreader-app/fixing-flaky-test21:03
balloonsstill running locally to play with it21:03
* Letozaf_ is looking at balloons' tweaks21:04
balloonstrying to get a failure with some more debugging output21:04
balloonsLetozaf_, so basically sometimes change_feeds_topic fails21:14
Letozaf_balloons, yeah looks like soemtimes it fails to get the LabelVisual object to click21:14
Letozaf_balloons, it sometimes clicks on the valueselector object instead of the labelvisual one, in the video it looks like that21:15
balloonswell Letozaf_ I think it's simply because the location is wrong.. autopilot has the unexpanded location and clicks it instead21:16
balloonsLetozaf_, care to merge my changes?21:19
Letozaf_balloons, ok I will21:19
Letozaf_balloons, done21:21
balloonsI have an idea for the other timing issue I hope21:21
balloonsgoing to try and add a wait_for on newTopic inside of change_feeds_topic21:22
Letozaf_balloons, ok21:22
balloonshttp://paste.ubuntu.com/9943397/21:22
balloonstrying to break it now21:23
Letozaf_balloons, :)21:23
Letozaf_balloons, hope it works21:24
balloonsno luck breaking it.. fingers crossed21:24
* Letozaf_ crossed fingers21:24
balloonsI say ship it ;-)21:24
Letozaf_balloons, :)21:24
balloonsLetozaf_, so what is happening is a a timing issue21:25
Letozaf_balloons, yeah looks like21:25
balloonsthe list can be expanded but listitem isn't yet visible. As such, autopilot has the coordinates for the parent object, which is the label21:25
balloonsmake sense?21:25
Letozaf_balloons, oooh!!! yes makes sense21:26
balloons10 runs all passed21:26
Letozaf_balloons, yay!21:27
balloonsfile that one into your brain if you see it again. If autopilot is clicking in the wrong place, it's probably clicking the parent object because the object you are trying to click isn't visible or it's coordinates are changing21:27
Letozaf_balloons, yes thanks I definitely will21:27
balloonsyou got most of it, adding the wait_for on expanded21:29
balloonsI wouldn't have thought to have added the visible.wait_for also21:29
Letozaf_balloons, yes but you fixed the last bit :) thanks for your help21:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!