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
1=== modified file 'ubuntuone/web/tests/sst/shared/actions/services.py'
2--- ubuntuone/web/tests/sst/shared/actions/services.py 2012-02-02 01:23:26 +0000
3+++ ubuntuone/web/tests/sst/shared/actions/services.py 2012-06-01 16:14:20 +0000
4@@ -53,13 +53,17 @@
5 the expected.
6
7 """
8- get_element(tag='h2', text='Music Streaming')
9+ _assert_music_streaming_heading_text()
10 get_element(css_class='try-free', text='Try for FREE')
11 get_element(tag='li', text='Music streaming on your mobile')
12 get_element(tag='li', text='20 GB of Storage for all your data')
13 get_element(tag='li', text='Listen offline')
14 get_element(tag='li', text='$3.99 / month or $39.99 / year')
15
16+def _assert_music_streaming_heading_text():
17+ music_streaming_heading = get_element_by_css('section.music-streaming > h2')
18+ assert_text(music_streaming_heading, 'Music Streaming')
19+
20 def assert_storage_service_information():
21 """Assert that the information about the storage service is the
22 expected.

Subscribers

People subscribed via source and target branches