Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4227)

Issue 7064068: Implemented Selenium tests and login-help.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by frankban
Modified:
11 years, 3 months ago
Reviewers:
mp+142787
Visibility:
Public.

Description

Implemented Selenium tests and login-help. This branch introduces integration tests based on Selenium. This way it is possible to check that the GUI actually works, is connected to the API backend, etc. Firefox is the webdriver used here, it is installed by default in Ubuntu. All the graphical operations are executed in memory thanks to xvfbwrapper. This branch also includes the changes Gary made to add a charm option for the login help text. https://code.launchpad.net/~frankban/charms/precise/juju-gui/bug-1097191-selenium/+merge/142787 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Implemented Selenium tests and login-help. #

Total comments: 4

Patch Set 3 : Implemented Selenium tests and login-help. #

Patch Set 4 : Implemented Selenium tests and login-help. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -47 lines) Patch
M HACKING.md View 1 chunk +6 lines, -0 lines 0 comments Download
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M config.yaml View 1 chunk +7 lines, -0 lines 0 comments Download
M config/config.js.template View 1 chunk +2 lines, -1 line 0 comments Download
M hooks/config-changed View 1 chunk +4 lines, -2 lines 0 comments Download
M hooks/start View 1 chunk +2 lines, -2 lines 0 comments Download
M hooks/utils.py View 2 chunks +3 lines, -1 line 0 comments Download
M tests/deploy.test View 1 2 6 chunks +76 lines, -40 lines 0 comments Download
M tests/test_utils.py View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 9
frankban
Please take a look.
11 years, 3 months ago (2013-01-10 21:44:39 UTC) #1
gary.poster
land as is, or maybe with changes, see the discussion of bug 1090716 below. :-) ...
11 years, 3 months ago (2013-01-10 22:26:11 UTC) #2
frankban
On 2013/01/10 22:26:11, gary.poster wrote: > land as is, or maybe with changes, see the ...
11 years, 3 months ago (2013-01-11 09:23:20 UTC) #3
frankban
Please take a look.
11 years, 3 months ago (2013-01-11 09:25:13 UTC) #4
teknico
Land with possible changes. Very nice, significant improvement to tests. Please find one doubt and ...
11 years, 3 months ago (2013-01-11 10:49:18 UTC) #5
frankban
Please take a look.
11 years, 3 months ago (2013-01-11 11:00:06 UTC) #6
frankban
Thanks for the review Nicola! https://codereview.appspot.com/7064068/diff/8001/tests/deploy.test File tests/deploy.test (right): https://codereview.appspot.com/7064068/diff/8001/tests/deploy.test#newcode67 tests/deploy.test:67: password.send_keys('admin') On 2013/01/11 10:49:19, ...
11 years, 3 months ago (2013-01-11 11:00:54 UTC) #7
teknico
frankban wrote: > Thanks for the review Nicola! Perfect, land it! :-)
11 years, 3 months ago (2013-01-11 11:03:41 UTC) #8
frankban
11 years, 3 months ago (2013-01-11 11:40:36 UTC) #9
*** Submitted:

Implemented Selenium tests and login-help.

This branch introduces integration tests based 
on Selenium. This way it is possible to check that
the GUI actually works, is connected to the API 
backend, etc.

Firefox is the webdriver used here, it is installed 
by default in Ubuntu. All the graphical operations 
are executed in memory thanks to xvfbwrapper.

This branch also includes the changes Gary made to 
add a charm option for the login help text.

R=gary.poster, teknico
CC=
https://codereview.appspot.com/7064068
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b