Merge lp:~elopio/ubuntuone-testing/fix-1007492 into lp:ubuntuone-testing

Proposed by Leo Arias
Status: Merged
Approved by: Rick McBride
Approved revision: 92
Merged at revision: 93
Proposed branch: lp:~elopio/ubuntuone-testing/fix-1007492
Merge into: lp:ubuntuone-testing
Diff against target: 22 lines (+5/-1)
1 file modified
ubuntuone/web/tests/sst/shared/actions/services.py (+5/-1)
To merge this branch: bzr merge lp:~elopio/ubuntuone-testing/fix-1007492
Reviewer Review Type Date Requested Status
Rick McBride (community) Approve
Review via email: mp+108374@code.launchpad.net

Commit message

Updated the music streaming heading locator to be unique. Fixes bug #1007492.

Description of the change

Updated the music streaming heading locator to be unique. Fixes bug #1007492.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntuone/web/tests/sst/shared/actions/services.py'
--- ubuntuone/web/tests/sst/shared/actions/services.py 2012-02-02 01:23:26 +0000
+++ ubuntuone/web/tests/sst/shared/actions/services.py 2012-06-01 16:14:20 +0000
@@ -53,13 +53,17 @@
53 the expected.53 the expected.
5454
55 """55 """
56 get_element(tag='h2', text='Music Streaming')56 _assert_music_streaming_heading_text()
57 get_element(css_class='try-free', text='Try for FREE')57 get_element(css_class='try-free', text='Try for FREE')
58 get_element(tag='li', text='Music streaming on your mobile')58 get_element(tag='li', text='Music streaming on your mobile')
59 get_element(tag='li', text='20 GB of Storage for all your data')59 get_element(tag='li', text='20 GB of Storage for all your data')
60 get_element(tag='li', text='Listen offline')60 get_element(tag='li', text='Listen offline')
61 get_element(tag='li', text='$3.99 / month or $39.99 / year')61 get_element(tag='li', text='$3.99 / month or $39.99 / year')
6262
63def _assert_music_streaming_heading_text():
64 music_streaming_heading = get_element_by_css('section.music-streaming > h2')
65 assert_text(music_streaming_heading, 'Music Streaming')
66
63def assert_storage_service_information():67def assert_storage_service_information():
64 """Assert that the information about the storage service is the 68 """Assert that the information about the storage service is the
65 expected.69 expected.

Subscribers

People subscribed via source and target branches