=== modified file 'lib/lp/bugs/browser/tests/bug-views.txt'
--- lib/lp/bugs/browser/tests/bug-views.txt 2009-12-24 01:41:54 +0000
+++ lib/lp/bugs/browser/tests/bug-views.txt 2010-01-19 21:33:16 +0000
@@ -615,8 +615,8 @@
False
>>> for message in bug_edit.view.notifications:
... print message
- The tag "new-tag" hasn't yet been used by Mozilla Firefox before.
- Is this a new tag?...<input ...Yes, define new tag...>
+ The tag "new-tag" hasn't been used by Mozilla Firefox before.
+ <input ...Create the new tag...>
>>> bug_edit.wasRedirected()
False
@@ -629,7 +629,7 @@
>>> [action.label for action in bug_edit.view.actions]
['Change']
-If we click on the 'Yes, define new tag' button, we'll get redirected to
+If we click on the 'Create the new tag' button, we'll get redirected to
the bug page, and the bug will have the new tag.
Updated tests that referenced changed language.
=== modified file 'lib/lp/ bugs/browser/ tests/bug- views.txt' bugs/browser/ tests/bug- views.txt 2009-12-24 01:41:54 +0000 bugs/browser/ tests/bug- views.txt 2010-01-19 21:33:16 +0000 view.notificati ons:
--- lib/lp/
+++ lib/lp/
@@ -615,8 +615,8 @@
False
>>> for message in bug_edit.
... print message
- The tag "new-tag" hasn't yet been used by Mozilla Firefox before.
- Is this a new tag?...<input ...Yes, define new tag...>
+ The tag "new-tag" hasn't been used by Mozilla Firefox before.
+ <input ...Create the new tag...>
>>> bug_edit. wasRedirected( ) view.actions]
False
@@ -629,7 +629,7 @@
>>> [action.label for action in bug_edit.
['Change']
-If we click on the 'Yes, define new tag' button, we'll get redirected to
+If we click on the 'Create the new tag' button, we'll get redirected to
the bug page, and the bug will have the new tag.
>>> bug_edit. submit( 'confirm_ tag', edit_values)
=== modified file 'lib/lp/ bugs/stories/ bug-tags/ xx-tags- on-bug- page.txt' bugs/stories/ bug-tags/ xx-tags- on-bug- page.txt 2009-06-12 16:36:02 +0000 bugs/stories/ bug-tags/ xx-tags- on-bug- page.txt 2010-01-19 21:33:16 +0000
--- lib/lp/
+++ lib/lp/
@@ -37,7 +37,7 @@
>>> user_browser.url bugs.launchpad. dev/firefox/ +bug/1/ +edit' getControl( 'Yes, define new tag', index=0).click() getControl( 'Create the new tag', index=0).click() bugs.launchpad. dev/firefox/ +bug/1'
'http://
- >>> user_browser.
+ >>> user_browser.
>>> user_browser.url
'http://
@@ -106,9 +106,9 @@ bugs.launchpad. dev/firefox/ +bug/1/ +edit') getControl( 'Tags') .value = 'an-official-tag' getControl( 'Change' ).click( ) getControl( 'Yes, define new tag') getControl( 'Create the new tag') bugs.launchpad. dev/firefox/ +bug/1
>>> user_browser.open('http://
>>> user_browser.
>>> user_browser.
- >>> user_browser.
+ >>> user_browser.
Traceback (most recent call last):
...
- LookupError: label 'Yes, define new tag'
+ LookupError: label 'Create the new tag'
>>> print user_browser.url
http://
=== modified file 'lib/lp/ bugs/stories/ bugs/xx- bug-activity. txt' bugs/stories/ bugs/xx- bug-activity. txt 2009-12-16 21:26:57 +0000 bugs/stories/ bugs/xx- bug-activity. txt 2010-01-19 21:33:16 +0000 bugs.launchpad. dev/redfish/ +bug/15/ +edit') getControl( "Tags") .value = "tag1 tag2 tag3" getControl( "Change" ).click( ) getControl( 'Yes, define new tag', index=0).click() getControl( 'Create the new tag', index=0).click()
--- lib/lp/
+++ lib/lp/
@@ -173,7 +173,7 @@
... 'http://
>>> admin_browser.
>>> admin_browser.
- >>> admin_browser.
+ >>> admin_browser.
>>> admin_browser. open('http:// launchpad. dev/bugs/ 15') admin_browser. contents) bugs.launchpad. dev/redfish/ +bug/15/ +edit') getControl( "Tags") .value = "tag1 tag2 tag4" getControl( "Change" ).click( ) getControl( 'Yes, define new tag', index=0).click() getControl( 'Create the new tag', index=0).click()
>>> print_comments(
@@ -188,7 +188,7 @@
... 'http://
>>> admin_browser.
>>> admin_browser.
- >>> admin_browser.
+ >>> admin_browser.
>>> admin_browser. open('http:// launchpad. dev/bugs/ 15') admin_browser. contents)
>>> print_comments(