Merge lp:~elopio/ubuntuone-testing/crazyselenium into lp:ubuntuone-testing

Proposed by Leo Arias
Status: Merged
Approved by: Rick McBride
Approved revision: 56
Merged at revision: 55
Proposed branch: lp:~elopio/ubuntuone-testing/crazyselenium
Merge into: lp:ubuntuone-testing
Diff against target: 42 lines (+4/-0)
4 files modified
ubuntuone/web/tests/sst/services/u1webse004_choosestorageamount.py (+1/-0)
ubuntuone/web/tests/sst/shared/actions/contacts.py (+1/-0)
ubuntuone/web/tests/sst/shared/actions/files.py (+1/-0)
ubuntuone/web/tests/sst/shared/actions/loading.py (+1/-0)
To merge this branch: bzr merge lp:~elopio/ubuntuone-testing/crazyselenium
Reviewer Review Type Date Requested Status
Rick McBride (community) Approve
Review via email: mp+82304@code.launchpad.net

Commit message

Switch to the default window after selecting a tab.
Added a sleep to make the choose storage amount test more stable.

Description of the change

Fix the errors in jenkins.

To post a comment you must log in.
Revision history for this message
Rick McBride (rmcbride) wrote :

makes sense

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntuone/web/tests/sst/services/u1webse004_choosestorageamount.py'
2--- ubuntuone/web/tests/sst/services/u1webse004_choosestorageamount.py 2011-10-20 05:44:03 +0000
3+++ ubuntuone/web/tests/sst/services/u1webse004_choosestorageamount.py 2011-11-15 19:24:22 +0000
4@@ -39,4 +39,5 @@
5 services_actions.set_storage_quantity('25')
6 # Move the focus out of the textfield.
7 element_click('storage-gb')
8+sleep(1)
9 services_actions.assert_storage(25)
10
11=== modified file 'ubuntuone/web/tests/sst/shared/actions/contacts.py'
12--- ubuntuone/web/tests/sst/shared/actions/contacts.py 2011-11-15 06:58:55 +0000
13+++ ubuntuone/web/tests/sst/shared/actions/contacts.py 2011-11-15 19:24:22 +0000
14@@ -23,6 +23,7 @@
15 def open():
16 """Open the Contacts page and assert it's title."""
17 link_click(_get_contacts_link())
18+ switch_to_window()
19 assert_title()
20
21 def _get_contacts_link():
22
23=== modified file 'ubuntuone/web/tests/sst/shared/actions/files.py'
24--- ubuntuone/web/tests/sst/shared/actions/files.py 2011-11-15 06:58:55 +0000
25+++ ubuntuone/web/tests/sst/shared/actions/files.py 2011-11-15 19:24:22 +0000
26@@ -27,6 +27,7 @@
27 def open():
28 """Open the files page and assert it's title."""
29 link_click(_get_files_link())
30+ switch_to_window()
31 assert_title()
32
33 def _get_files_link():
34
35=== modified file 'ubuntuone/web/tests/sst/shared/actions/loading.py'
36--- ubuntuone/web/tests/sst/shared/actions/loading.py 2011-10-19 06:52:00 +0000
37+++ ubuntuone/web/tests/sst/shared/actions/loading.py 2011-11-15 19:24:22 +0000
38@@ -29,3 +29,4 @@
39 sleep(3)
40 waiting_bar = get_element(css_class='yui3-busy-waiting')
41 waitfor(fails, is_displayed, waiting_bar)
42+

Subscribers

People subscribed via source and target branches