← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~wallyworld/launchpad/fix-windmill-tests into lp:launchpad

 

Ian Booth has proposed merging lp:~wallyworld/launchpad/fix-windmill-tests into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~wallyworld/launchpad/fix-windmill-tests/+merge/58066

Trivial change to fix a failing windmill test.

Change the xpath expression used to select an element. The expression used the wrong element class name.



-- 
https://code.launchpad.net/~wallyworld/launchpad/fix-windmill-tests/+merge/58066
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wallyworld/launchpad/fix-windmill-tests into lp:launchpad.
=== modified file 'lib/lp/bugs/windmill/tests/test_bug_inline_assignment.py'
--- lib/lp/bugs/windmill/tests/test_bug_inline_assignment.py	2011-04-12 12:16:03 +0000
+++ lib/lp/bugs/windmill/tests/test_bug_inline_assignment.py	2011-04-18 04:19:27 +0000
@@ -50,7 +50,7 @@
         client.waits.forElement(xpath=PICKER_RESULT, timeout=FOR_ELEMENT)
         client.click(xpath=PICKER_RESULT)
 
-        CONFIRMATION = ("//div[@class='important-notice-balloon']")
+        CONFIRMATION = ("//div[contains(@class, 'important-notice-popup')]")
         client.waits.forElement(xpath=CONFIRMATION, timeout=FOR_ELEMENT)
         self.client.asserts.assertTextIn(
             xpath=CONFIRMATION,