/srv/irclogs.ubuntu.com/2013/01/07/#juju-gui.txt

=== teknico_away is now known as teknico
frankbanhazmat: IIRC, our websocket server in Juju does not support the old hixie76 protocol, right? I only see references to hybi07. PhantomJS still supports only the former protocol.13:46
frankbangary_poster, hazmat: here is my attempt to integrate selenium and phantom in order to run integration tests. http://pastebin.ubuntu.com/1506674/ It does not work (I think for the reason above). It works replacing phantom with a more conventional driver (i.e. firefox).13:49
gary_posterfrankban, given the lbox approach we have right now, if we could get the tests working in selenium and FF/chrome that would be a huge step forward13:50
gary_posterwe'd want it running locally, of course.13:51
gary_posterI think phantomjs would be fine for running the existing tests even without addressing the websocket issue13:54
benjianother component for implementing browser tests: http://pypi.python.org/pypi/xvfbwrapper14:00
frankbangary_poster: I agree. Especially for the charm, it would be great to actually test that the services and/or websocket connections are there instead of just checking the status of web requests. benji: that's cool, so it allows to run tests without actually having an X server running14:04
benjifrankban: it runs an X that only renders to memory14:05
gary_posterfrankban, +1 on improved charm test, yeah14:06
hazmatfrankban, that's unfortunate hixie76 is rather broken14:12
hazmatgary_poster, phantomjs running mocha tests directly is also a win, but i suspect is more work14:12
frankbanhazmat: yes, they are working on it, AFAICT, they need to integrate a newer version of webkit in phantom14:13
hazmatfrankban, its using qtwebkit..14:16
frankbanhazmat: http://code.google.com/p/phantomjs/issues/detail?id=3114:19
frankbanhazmat: yes, qtwebkit14:19
bacbcsaller: hi ben, will have you time to pair this afternoon on the pan/zoom issue?15:21
bcsallerbac: yeah, I should15:22
bacbcsaller: great15:22
gary_posterbac bcsaller benji frankban goodspud Makyo teknico call in 215:28
gary_poster(hazmat is sick)15:29
frankbangary_poster, benji: it works: http://pastebin.ubuntu.com/1506878/15:29
benjifrankban: very nice!15:29
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
gary_posterhey goodspud.  you available for juju-ui talk?16:24
goodspudYep16:24
benjiI have not done exhaustive testing, but I think our caching story still isn't right.  It appears that I have to clear the browser cache pretty much every time I make any change.17:14
=== gary_poster|away is now known as gary_poster
bachello bcsaller, you free?17:25
bcsallerbac: yes17:26
bacbcsaller: to the bat channel?17:26
bcsallerbac: there17:26
=== teknico_ is now known as teknico
=== teknico_ is now known as teknico
benjiif anyone would like to review the dramatically changed login branch, please see https://codereview.appspot.com/700704720:15
gary_posterI, personally, can barely contain my excitement20:19
benjiAbout an hour ago I could barely contain other extream emotions.20:21
gary_poster:-)20:22
gary_posterbenji, AFAICT the login implementation on the rapi/juju side does not return provider_type and default_series on success, the way it is supposed to according to step 5 of http://paste.ubuntu.com/1397723/20:31
gary_posterTo your knowledge am I right?20:32
gary_posteryeah, pretty sure I am right20:33
gary_poster"{"log": [["info", "Login success"]], "request_id": 1, "user": "admin", "op": "login", "password": "admin", "result": true}"20:33
benjigary_poster: I don't know but I can check.  That paste went out the window after revision 1 that assumed the back-end actually worked the way it describes.20:33
gary_posterbenji right :-/20:33
gary_posterbenji, you available for 10 minute review call?20:45
benjigary_poster: sure20:45
gary_posterbenji, cool.  juju-ui is available20:46

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