*** th1a has quit IRC | 00:15 | |
*** replaceafill has quit IRC | 00:44 | |
*** ignas has quit IRC | 01:33 | |
*** th1a has joined #schooltool | 03:11 | |
*** alga has quit IRC | 03:11 | |
*** ignas has joined #schooltool | 03:34 | |
*** th1a has quit IRC | 03:37 | |
*** ignas has quit IRC | 03:44 | |
*** aks has joined #schooltool | 06:25 | |
*** aks has joined #schooltool | 06:25 | |
*** yvl has joined #schooltool | 10:09 | |
*** alga has joined #schooltool | 12:47 | |
*** menesis has joined #schooltool | 12:52 | |
*** menesis has quit IRC | 12:56 | |
*** menesis has joined #schooltool | 13:11 | |
*** menesis has quit IRC | 13:27 | |
*** menesis has joined #schooltool | 13:32 | |
*** menesis has quit IRC | 14:07 | |
*** aks has quit IRC | 14:19 | |
*** menesis has joined #schooltool | 15:01 | |
*** yvl has quit IRC | 15:35 | |
*** yvl has joined #schooltool | 16:19 | |
*** replaceafill has joined #schooltool | 16:19 | |
replaceafill | thanks for your reply yvl | 16:28 |
---|---|---|
replaceafill | (good afternoon btw) | 16:29 |
replaceafill | this is what i get when i change to firefox 6.0.2 | 16:29 |
replaceafill | http://pastebin.com/tEpWDQeW | 16:29 |
yvl | hey replaceafill | 16:30 |
yvl | looking... | 16:30 |
replaceafill | i like the idea of adding methods for getting attributes and text for query_all | 16:30 |
replaceafill | i'd call it get_attribute though | 16:31 |
replaceafill | to keep consistency | 16:31 |
yvl | did you try link("School", partial=True) ? | 16:31 |
replaceafill | no | 16:32 |
yvl | that was just a wild guess | 16:32 |
yvl | as for get_attribute - sure | 16:32 |
replaceafill | what does 'partial' do? | 16:32 |
replaceafill | what testbrowser does by default? | 16:32 |
yvl | yes | 16:33 |
replaceafill | ah ok, let me try | 16:33 |
yvl | and what selenium does with get_element_by_partial_link_text | 16:33 |
replaceafill | now i understand why type(...) receives *value :) | 16:34 |
replaceafill | you can send keys like ENTER | 16:34 |
replaceafill | :| | 16:35 |
replaceafill | now, the test fails on query.name | 16:35 |
replaceafill | same kind of error | 16:35 |
replaceafill | Unable to locate element... | 16:35 |
yvl | ok, so FFox 6.0.2 does something even more different | 16:36 |
replaceafill | very weird, it seems to write the password, but no username :/ | 16:36 |
yvl | wow | 16:36 |
yvl | you could try... selecting those elements some other way | 16:37 |
replaceafill | ah | 16:37 |
yvl | then checking what actual text/attrs are | 16:37 |
yvl | both with | 16:37 |
yvl | print el | 16:37 |
yvl | and print el.text; print el.get_attribute(...) | 16:37 |
yvl | my rough guess is that there might be whitespace somewhere | 16:38 |
yvl | I'll upgrade my home machine over the weekend to test | 16:38 |
replaceafill | maybe using ActionChains? | 16:39 |
replaceafill | to fill the form | 16:39 |
yvl | actionchains are just a helper | 16:39 |
yvl | they push the commands as lamdba: ... to a list | 16:40 |
replaceafill | ah | 16:40 |
yvl | and then just execute them all | 16:40 |
yvl | nothing fancy :) | 16:40 |
yvl | but they do have modifier key support | 16:40 |
yvl | though I didn't get it working | 16:40 |
yvl | btw, how's the tests' speed? | 16:41 |
yvl | your test ran in ~40s with chromium on my machine | 16:42 |
replaceafill | i decided not to comment on that because i'm running natty in virtualbox (emulated) | 16:42 |
* yvl is still interested | 16:42 | |
replaceafill | it takes a looot of time :) | 16:42 |
yvl | buildbots might or might not do that one day | 16:42 |
yvl | and by lot... ? :) | 16:43 |
replaceafill | i got the same locator issue in iceweasel, that's why i had to move to natty :( | 16:43 |
replaceafill | hold on, let me try to get the name attribute first | 16:43 |
yvl | sure | 16:43 |
replaceafill | then i'll change to chrome to give you a exact time | 16:43 |
yvl | btw, running tests in -D mode might help | 16:52 |
yvl | or hinder ;) | 16:52 |
replaceafill | yvl i tried to get the elements the same way you do in app.txt | 16:52 |
replaceafill | and got http://pastebin.com/Y2dqXyDN | 16:52 |
yvl | it kind of stops in different places, so you'll need to go up and down to find the right frame | 16:52 |
replaceafill | changing back to chrome | 16:54 |
yvl | okay... will play with it on Monday | 16:54 |
yvl | it should not do this :) | 16:54 |
replaceafill | 07:55:10 - started test | 16:55 |
replaceafill | ah come on!!! now chrome is failing?!?!? :( | 16:56 |
yvl | welcome to the wonderful world of Selenium :) | 16:57 |
replaceafill | ah no no no | 16:57 |
replaceafill | i'm so dumb | 16:57 |
yvl | oh, and you should really set you selenium.implicit_wait to some low value | 16:57 |
replaceafill | changed buildout.cfg | 16:57 |
replaceafill | but forgot to run bin/buildout :D | 16:57 |
yvl | whatever works for you, 5, 3, 1 | 16:57 |
yvl | :D | 16:57 |
yvl | btw | 16:57 |
yvl | I didnt have time to add a testrunner option | 16:57 |
yvl | configure several testrunners | 16:58 |
yvl | and just edit bin/test | 16:58 |
yvl | a line with default="" | 16:58 |
replaceafill | ah | 16:58 |
replaceafill | that would help :) | 16:58 |
yvl | or maybe I can add something like default=ENV | 16:59 |
yvl | such option, I mean | 16:59 |
replaceafill | 07:59:20 - starting again | 16:59 |
yvl | oh, by the way | 16:59 |
yvl | what are you going to do next? | 17:00 |
yvl | or rather, what would you like to do next? ;) | 17:00 |
replaceafill | hhmm not sure | 17:00 |
replaceafill | do you want me to test something? | 17:00 |
replaceafill | i was thinking of going back to translations | 17:00 |
replaceafill | but this is funnier ;) | 17:01 |
yvl | yeah, it does have appeal to it ;) | 17:01 |
yvl | if you want to port one more test, that would be cool | 17:02 |
yvl | oh, and if you do, just make it work on chromium | 17:02 |
replaceafill | sure, will pick another from the gradebook | 17:02 |
yvl | also - did you try running chromium tests on Debian? | 17:02 |
replaceafill | not sure if gradebook_management.txt though :D | 17:02 |
replaceafill | no | 17:02 |
replaceafill | i have squeeze | 17:02 |
replaceafill | which has chrome 6.0 | 17:03 |
replaceafill | and the driver is only compatible with 12+ | 17:03 |
replaceafill | iirc | 17:03 |
replaceafill | or 11+ | 17:03 |
yvl | oh | 17:03 |
replaceafill | i was thinking of moving to wheezy (testing) over the weekend too :) | 17:04 |
replaceafill | i think i will | 17:04 |
yvl | :) | 17:04 |
yvl | internets say you can install chromium 14 on squeeze ;) | 17:04 |
yvl | sorry, chrome | 17:04 |
replaceafill | really? url? | 17:05 |
replaceafill | http://packages.debian.org/search?keywords=chromium-browser | 17:05 |
replaceafill | 13.0.782.220~r99552-1: all on wheezy | 17:05 |
yvl | http://gamblis.com/2011/08/12/install-google-chrome-14-beta-on-debian-6-squeeze/ ? | 17:05 |
yvl | dunno if that works, obviously ;) | 17:06 |
replaceafill | ah cool, i'll try that | 17:06 |
replaceafill | btw, test finished, according to the testrunner: | 17:06 |
replaceafill | 3 minuts 58 seconds | 17:06 |
replaceafill | 9.9 in setting up the layer i think | 17:07 |
replaceafill | again, virtualbox | 17:07 |
yvl | bad, but not horribly bad | 17:08 |
yvl | for a virtualbox | 17:08 |
yvl | and I'm assuming a laptop ;) | 17:08 |
replaceafill | yes | 17:08 |
replaceafill | Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz | 17:08 |
replaceafill | maybe i'll go with gradebook_management.txt after all | 17:09 |
replaceafill | i know how to set up the whole year anyway | 17:09 |
replaceafill | i can copy/paste :) | 17:09 |
yvl | yep ;) | 17:09 |
yvl | I'll work on setting up in tests at some point | 17:10 |
yvl | the way we've been doing it is cumbersome | 17:10 |
yvl | (func tests) | 17:10 |
replaceafill | you mean like doing it in test_functional.py | 17:11 |
yvl | something like that | 17:11 |
replaceafill | ah yes, i like that too, and it's faster | 17:11 |
replaceafill | (i think) | 17:11 |
yvl | and I plan to do setting up directly in the database | 17:12 |
yvl | you don't need to func test that you can add a person 500 times, thank you. | 17:12 |
replaceafill | :)) | 17:12 |
yvl | okay then | 17:13 |
replaceafill | ok yvl thanks for the help | 17:13 |
yvl | sure | 17:13 |
replaceafill | i'll ping you or email if i get stuck | 17:13 |
yvl | I wish I was more helpful ;) | 17:13 |
yvl | of course | 17:13 |
replaceafill | see you on monday | 17:13 |
yvl | and, you know, just drop it if you reach a point where it is annoying for some reason | 17:13 |
replaceafill | no, not at all | 17:14 |
replaceafill | i think it's easy to get used to it | 17:14 |
yvl | cool :) | 17:14 |
yvl | ok, so I'm waiting for your mail ;) | 17:14 |
replaceafill | kk :) | 17:14 |
yvl | see you Monday :) | 17:14 |
replaceafill | take care yvl | 17:14 |
yvl | and happy testing! ;) | 17:14 |
*** yvl has quit IRC | 17:15 | |
*** th1a has joined #schooltool | 17:16 | |
*** jelkner has joined #schooltool | 18:01 | |
jelkner | th1a, mr. hoffman, are you around? | 18:12 |
jelkner | i tried calling your home, but no answer | 18:12 |
th1a | I am here, jelkner. | 18:14 |
jelkner | can i call now? | 18:15 |
th1a | Sure. | 18:15 |
* replaceafill just updated his chromium to 13.0.782 | 18:18 | |
*** th1a has quit IRC | 18:53 | |
replaceafill | yvl the test took 6s + 35s in native chromium :) | 18:53 |
*** jelkner has quit IRC | 18:55 | |
*** th1a has joined #schooltool | 18:56 | |
replaceafill | interesting, the old ftest takes 12 seconds total | 19:16 |
replaceafill | the new stest takes 40 | 19:16 |
th1a | Using Chromium? | 19:16 |
replaceafill | yes | 19:16 |
th1a | It isn't surprising that a real browser session takes longer. | 19:18 |
th1a | Also, do you have to explicitly add wait time? | 19:18 |
th1a | Was yvl talking about that yesterday? | 19:18 |
replaceafill | yes, but i havent tried it yet | 19:19 |
th1a | OK, so this is without needing wait time then? | 19:19 |
th1a | Is that displaying the browser? Can you run it faster without actually opening a browser window? | 19:20 |
replaceafill | yes, it opens the browser | 19:21 |
* replaceafill looks how not to display the window | 19:21 | |
replaceafill | but it goes so fast that i have a problem with the calendar widget | 19:22 |
replaceafill | it puts on the Submit button | 19:22 |
replaceafill | and doesn't dissappear fast enough | 19:22 |
replaceafill | so the test cant click the button | 19:22 |
th1a | So you need a wait there? | 19:22 |
replaceafill | i set the two dates first and then the title :D | 19:23 |
replaceafill | i'll also look how to fix that | 19:23 |
th1a | Smart. ;-) | 19:23 |
*** menesis has quit IRC | 19:41 | |
th1a | replaceafill: ayt? | 20:50 |
*** menesis has joined #schooltool | 20:54 | |
th1a | hi menesis. | 20:54 |
th1a | replaceafill: ayt? | 22:19 |
replaceafill | th1a yes | 22:19 |
th1a | I'm moving on to the "figuring out the systems" part of procrastinating over documentation. | 22:19 |
th1a | Do you think I should keep the 1.0 and 2.0 documentation as one Sphinx tree or two? | 22:20 |
replaceafill | hhmm i'm not very familiar with Sphinx | 22:21 |
th1a | OK, never mind. | 22:21 |
*** menesis has quit IRC | 22:30 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!