← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~deryck/launchpad/remove-hopeless-windmill-tests-1 into lp:launchpad

 

Deryck Hodge has proposed merging lp:~deryck/launchpad/remove-hopeless-windmill-tests-1 into lp:launchpad with lp:~deryck/launchpad/convert-dead-windmill-to-yui as a prerequisite.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~deryck/launchpad/remove-hopeless-windmill-tests-1/+merge/66356

I've got a large branch going to refactor Windmill tests into YUI+App-server tests.  So I broke this branch off into it's own thing because these tests represent JS code that is not well factored, and therefore, impossible to test in YUI test without a refactor.  We've made the choice to delete these, based on how much work would be required.

(The "we" above is me, Curtis, and Gary.  I think Francis agreed, but can't confirm.)

I will file LOW bugs noting which js files are poorly factored for testing in case someone interested in JS hacking comes along and wants to help.  I assume this won't really be fixed, short of this kind of community help, until someone touches this code again and needs to refactor to test it.
-- 
https://code.launchpad.net/~deryck/launchpad/remove-hopeless-windmill-tests-1/+merge/66356
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~deryck/launchpad/remove-hopeless-windmill-tests-1 into lp:launchpad.
=== removed file 'lib/lp/registry/windmill/tests/test_datetime_picker.py'
--- lib/lp/registry/windmill/tests/test_datetime_picker.py	2011-06-27 13:39:25 +0000
+++ lib/lp/registry/windmill/tests/test_datetime_picker.py	1970-01-01 00:00:00 +0000
@@ -1,72 +0,0 @@
-# Copyright 2009 Canonical Ltd.  This software is licensed under the
-# GNU Affero General Public License version 3 (see the file LICENSE).
-
-"""Test for using a DateTime Calendar widget."""
-
-__metaclass__ = type
-__all__ = []
-
-from lp.registry.windmill.testing import RegistryWindmillLayer
-from lp.testing import WindmillTestCase
-from lp.testing.windmill import lpuser
-from lp.testing.windmill.constants import FOR_ELEMENT
-
-
-class TestDateTimeCalendarWidget(WindmillTestCase):
-    """Test datetime calendar widget.
-
-    XXX: This entire test should move to YUI test.
-    It asserts widget state, but has no XHR component.
-    """
-
-    layer = RegistryWindmillLayer
-    suite_name = 'DateTimeCalendarWidget'
-
-    def test_datetime_calendar_widget(self):
-        """Test the calendar widget's general functionality.
-
-        This test ensures that, with Javascript enabled, an input field
-        with the 'yui3-calendar' class will get an extra 'choose...' link
-        which opens up a calendar widget. The extra class 'withtime' is
-        used to optionally include time fields.
-        """
-        # Open a new sprint page and wait for it to finish loading.
-        client, start_url = self.getClientFor(
-            '/sprints/+new', user=lpuser.SAMPLE_PERSON,
-            base_url=self.layer.appserver_root_url('blueprints'))
-        self.client.waits.forElement(link=u'Choose...', timeout=FOR_ELEMENT)
-
-        # Enter a date directly in the field first (which will ensure
-        # the calendar widget opens with this date.)
-        self.client.click(id=u'field.time_starts')
-        self.client.type(text=u'2009-05-08 10:04', id=u'field.time_starts')
-
-        # Open the calendar widget
-        self.client.click(link=u'Choose...')
-
-        # Initially choose the 21st of May 2009 and verify that the input
-        # field's value has changed.
-        self.client.click(link=u'21')
-        self.client.asserts.assertValue(
-            validator=u'2009-05-21 10:04', id=u'field.time_starts')
-
-        # Navigate to the next month, select the 9th, enter a time of 10:30
-        # and click the close/confirm button, then verify the correct value
-        # is in the field.
-        self.client.click(link=u'Next Month (June 2009)')
-        self.client.click(link=u'9')
-        self.client.type(
-            xpath=(u"//div[@id='calendar_container-field.time_starts']"
-                   u"/div[2]/input"),
-            text=u'10')
-
-        self.client.type(
-            xpath=(u"//div[@id='calendar_container-field.time_starts']"
-                   u"/div[2]/input[2]"),
-            text=u'30')
-
-        self.client.click(
-            xpath=(u"//div[@id='calendar_container-field.time_starts']"
-                   u"/div[2]/button"))
-        self.client.asserts.assertValue(
-            validator=u'2009-06-09 10:30', id=u'field.time_starts')

=== removed file 'lib/lp/registry/windmill/tests/test_plusnew_step1.py'
--- lib/lp/registry/windmill/tests/test_plusnew_step1.py	2011-06-27 13:39:25 +0000
+++ lib/lp/registry/windmill/tests/test_plusnew_step1.py	1970-01-01 00:00:00 +0000
@@ -1,61 +0,0 @@
-# Copyright 2009 Canonical Ltd.  This software is licensed under the
-# GNU Affero General Public License version 3 (see the file LICENSE).
-
-"""Test form for creating a new project."""
-
-__metaclass__ = type
-__all__ = []
-
-from lp.registry.windmill.testing import RegistryWindmillLayer
-from lp.testing import WindmillTestCase
-from lp.testing.windmill import lpuser
-
-
-BACKSPACE = u'\x08'
-
-
-class TestNewProjectStep1(WindmillTestCase):
-    """Test form for creating a new project."""
-
-    layer = RegistryWindmillLayer
-    suite_name = 'TestNewProjectStep1'
-
-    def test_projects_plusnew_text_fields(self):
-        """Test the text fields on step 1 of projects/+new page.
-
-        On step 1 of the wizard, the URL field gets autofilled from the Name
-        field.  Also, the URL field will not accept invalid characters.
-        XXX: Move entire test to YUI test.
-        """
-        # Perform step 1 of the project registration, using information
-        # that will yield search results.
-        client, start_url = self.getClientFor(
-            '/projects/+new', user=lpuser.SAMPLE_PERSON)
-        self.client.waits.forElement(id='field.displayname')
-        self.client.type(text=u'dolphin', id='field.displayname')
-
-        # The field is forced to lower case by a CSS text-transform, but
-        # that's presentation and not testable.  However, the field /is/
-        # autofilled from the displayname field, and this we can test.
-        self.client.asserts.assertValue(
-            id=u'field.name',
-            validator=u'dolphin')
-        # If we type into the Name field something that contains some trailing
-        # invalid characters, they don't end up in the URL field.
-        self.client.type(text=u'dol@phin', id='field.displayname')
-        self.client.asserts.assertValue(
-            id=u'field.name',
-            validator=u'dol')
-        # Typing directly into the URL field prevents the autofilling.
-        self.client.type(text=u'mongoose', id='field.name')
-        self.client.type(text=u'dingo', id='field.displayname')
-        self.client.asserts.assertValue(
-            id=u'field.name',
-            validator=u'mongoose')
-        # But once we clear the URL field, autofilling is re-enabled.  Type a
-        # backspace character to trigger this.
-        self.client.type(text=BACKSPACE, id='field.name')
-        self.client.type(text='hyena', id='field.displayname')
-        self.client.asserts.assertValue(
-            id=u'field.name',
-            validator=u'hyena')

=== removed file 'lib/lp/registry/windmill/tests/test_project_licenses.py'
--- lib/lp/registry/windmill/tests/test_project_licenses.py	2011-06-27 13:39:25 +0000
+++ lib/lp/registry/windmill/tests/test_project_licenses.py	1970-01-01 00:00:00 +0000
@@ -1,143 +0,0 @@
-# Copyright 2009 Canonical Ltd.  This software is licensed under the
-# GNU Affero General Public License version 3 (see the file LICENSE).
-
-"""Test project licenses picker."""
-
-__metaclass__ = type
-__all__ = []
-
-from lp.registry.windmill.testing import RegistryWindmillLayer
-from lp.testing import WindmillTestCase
-from lp.testing.windmill import lpuser
-from lp.testing.windmill.constants import PAGE_LOAD
-
-
-class TestProjectLicenses(WindmillTestCase):
-    """Test project licenses picker.
-
-    XXX: This needs to be YUI test.
-    """
-
-    layer = RegistryWindmillLayer
-    suite_name = 'TestProjectLicenses'
-
-    def test_project_licenses(self):
-        """Test the dynamic aspects of the project license picker."""
-        # The firefox project is as good as any.
-        client, start_url = self.getClientFor(
-            '/firefox/+edit', lpuser.SAMPLE_PERSON)
-
-        # The Recommended table is visible.
-        client.waits.forElementProperty(
-            id=u'recommended',
-            option='className|lazr-opened')
-        # But the More table is not.
-        client.asserts.assertProperty(
-            id=u'more',
-            validator='className|lazr-closed')
-        # Neither is the Other choices.
-        client.asserts.assertProperty(
-            id=u'special',
-            validator='className|lazr-closed')
-
-        # Clicking on the link exposes the More section though.
-        client.click(id='more-expand')
-        client.waits.forElementProperty(
-            id=u'more',
-            option='className|lazr-opened')
-
-        # As does clicking on the Other choices section.
-        client.click(id='special-expand')
-        client.waits.forElementProperty(
-            id=u'special',
-            option='className|lazr-opened')
-
-        # Clicking on any opened link closes the section.
-        client.click(id='recommended-expand')
-        client.waits.forElementProperty(
-            id=u'recommended',
-            option='className|lazr-closed')
-
-        # The license details box starts out hidden.
-        client.waits.forElementProperty(
-            id=u'license-details',
-            option='className|lazr-closed')
-
-        # But clicking on one of the Other/* licenses exposes it.
-        client.click(xpath='//input[@value = "OTHER_OPEN_SOURCE"]')
-        client.waits.forElementProperty(
-            id=u'license-details',
-            option='className|lazr-opened')
-
-        # Clicking on Other/Proprietary exposes the additional commercial
-        # licensing details.
-        client.waits.forElementProperty(
-            id=u'proprietary',
-            option='className|lazr-closed')
-
-        client.click(xpath='//input[@value = "OTHER_PROPRIETARY"]')
-        client.waits.forElementProperty(
-            id=u'license-details',
-            option='className|lazr-opened')
-        client.waits.forElementProperty(
-            id=u'proprietary',
-            option='className|lazr-opened')
-
-        # Only when all Other/* items are unchecked does the details box get
-        # hidden.
-        client.click(xpath='//input[@value = "OTHER_OPEN_SOURCE"]')
-        client.waits.forElementProperty(
-            id=u'license-details',
-            option='className|lazr-opened')
-
-        client.click(xpath='//input[@value = "OTHER_PROPRIETARY"]')
-        client.waits.forElementProperty(
-            id=u'license-details',
-            option='className|lazr-closed')
-        client.waits.forElementProperty(
-            id=u'proprietary',
-            option='className|lazr-closed')
-
-        # Clicking on "I haven't specified..." unchecks everything and
-        # closes the details box, but leaves the sections opened.
-
-        client.click(xpath='//input[@value = "OTHER_PROPRIETARY"]')
-        client.waits.forElementProperty(
-            id=u'license-details',
-            option='className|lazr-opened')
-
-        client.asserts.assertChecked(
-            xpath='//input[@value = "OTHER_PROPRIETARY"]')
-
-        client.click(id='license_pending')
-        client.asserts.assertNotChecked(
-            xpath='//input[@value = "OTHER_PROPRIETARY"]')
-
-        client.asserts.assertProperty(
-            id=u'license-details',
-            validator='className|lazr-closed')
-
-        # Submitting the form with items checked ensures that the next
-        # time the page is visited, those sections will be open.  The
-        # Recommended section is always open.
-
-        client.click(xpath='//input[@value = "OTHER_PROPRIETARY"]')
-        client.type(id='field.license_info', text='Foo bar')
-        client.click(id='field.licenses.3')
-        client.click(id='field.actions.change')
-        client.waits.forPageLoad(timeout=PAGE_LOAD)
-
-        client.open(url=u'%s/firefox/+edit'
-                        % RegistryWindmillLayer.base_url)
-        client.waits.forPageLoad(timeout=PAGE_LOAD)
-
-        client.asserts.assertProperty(
-            id=u'more',
-            validator='className|lazr-opened')
-        # Neither is the Other choices.
-        client.asserts.assertProperty(
-            id=u'special',
-            validator='className|lazr-opened')
-        client.asserts.assertProperty(
-            id=u'license-details',
-            validator='className|lazr-opened')

=== removed file 'lib/lp/translations/windmill/tests/test_pofile_translate.py'
--- lib/lp/translations/windmill/tests/test_pofile_translate.py	2011-06-27 14:10:30 +0000
+++ lib/lp/translations/windmill/tests/test_pofile_translate.py	1970-01-01 00:00:00 +0000
@@ -1,325 +0,0 @@
-# Copyright 2010 Canonical Ltd.  This software is licensed under the
-# GNU Affero General Public License version 3 (see the file LICENSE).
-
-"""Tests for pofile translate pages."""
-
-__metaclass__ = type
-__all__ = []
-
-import transaction
-
-from lp.testing import (
-    login,
-    logout,
-    WindmillTestCase,
-    )
-from lp.testing.windmill import (
-    constants,
-    lpuser,
-    )
-from lp.translations.windmill.testing import TranslationsWindmillLayer
-
-
-class POFileTranslationActions(WindmillTestCase):
-    """Tests for actions that can be done on a translation message.
-
-    XXX: Move to YUI test.
-    """
-
-    layer = TranslationsWindmillLayer
-    suite_name = 'POFile Translation Actions'
-
-    def test_dismiss_uncheck_force_suggestion(self):
-        """Test the unchecking of force suggestion on dismissal.
-
-        Checking the dismiss all suggestions checkbox will uncheck a
-        previously ticked checkbox that forces submitting the current
-        translation as a suggestion.
-        """
-
-        self.test_user = lpuser.TRANSLATIONS_ADMIN
-        # Test the zoom out view for Evolution trunk Spanish (es).
-        url = '/evolution/trunk/+pots/evolution-2.2/es/5/+translate'
-        dismiss_id = u'msgset_5_dismiss'
-        force_suggestion_id = u'msgset_5_force_suggestion'
-
-        # Go to the translation page.
-        client, start_url = self.getClientFor(url, user=self.test_user)
-        client.waits.forElement(
-            id=dismiss_id, timeout=constants.FOR_ELEMENT)
-        client.waits.forElement(
-            id=force_suggestion_id, timeout=constants.FOR_ELEMENT)
-
-        # Check that initially the checkboxes are not selected.
-        client.asserts.assertNotChecked(id=dismiss_id)
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-
-        # Click the force suggestion checkbox and verify that it is checked.
-        client.click(id=force_suggestion_id)
-        client.asserts.assertChecked(id=force_suggestion_id)
-
-        client.click(id=dismiss_id)
-        client.asserts.assertChecked(id=dismiss_id)
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-
-    def test_diverge_and_force_suggestion_mutual_exclusion(self):
-        """Test the mutual exclusion of diverge and force suggestion.
-
-        Diverge current translation and force suggestion checkbox can not
-        be enabled at the same time. Checking one option will disable the
-        other.
-
-        If suggestions are dismissed, unchecking the diverge checkbox will
-        keep the force suggesion disabled.
-        """
-
-        self.test_user = lpuser.TRANSLATIONS_ADMIN
-        # Test the zoom out view for Evolution trunk Spanish (es).
-
-        login('admin@xxxxxxxxxxxxx')
-        pofile = self.factory.makePOFile('pt_BR')
-        potemplate = pofile.potemplate
-        potmsgset = self.factory.makePOTMsgSet(potemplate)
-        potmsgset.setSequence(potemplate, 1)
-        potmsgset_id = potmsgset.id
-
-        current_translation = self.factory.makeCurrentTranslationMessage(
-            pofile=pofile, potmsgset=potmsgset, translations=['current'])
-        transaction.commit()
-        suggestion = self.factory.makeSuggestion(
-            pofile=pofile, potmsgset=potmsgset, translations=['suggestion'])
-        transaction.commit()
-        logout()
-
-        url = ('/%s/%s/+pots/%s/pt_BR/1/+translate' % (
-                        potemplate.product.name,
-                        potemplate.productseries.name,
-                        potemplate.name))
-
-        dismiss_id = u'msgset_%s_dismiss' % potmsgset_id
-        force_suggestion_id = u'msgset_%s_force_suggestion' % potmsgset_id
-        diverge_id = u'msgset_%s_diverge' % potmsgset_id
-
-        # Go to the translation page.
-        client, start_url = self.getClientFor(url, user=self.test_user)
-        client.waits.forElement(
-            id=dismiss_id, timeout=constants.FOR_ELEMENT)
-        client.waits.forElement(
-            id=force_suggestion_id, timeout=constants.FOR_ELEMENT)
-        client.waits.forElement(
-            id=diverge_id, timeout=constants.FOR_ELEMENT)
-
-        # Check that initialy the checkboxes are not selected.
-        client.asserts.assertNotChecked(id=dismiss_id)
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-        client.asserts.assertNotChecked(id=diverge_id)
-
-        # Test the diverge translation checking and unchecking.
-        client.click(id=diverge_id)
-        client.asserts.assertChecked(id=diverge_id)
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-        client.asserts.assertNotChecked(id=dismiss_id)
-        client.asserts.assertElemJS(
-            id=force_suggestion_id, js=u'element.disabled')
-
-        client.click(id=diverge_id)
-        client.asserts.assertNotChecked(id=diverge_id)
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-        client.asserts.assertNotChecked(id=dismiss_id)
-        client.asserts.assertElemJS(
-            id=force_suggestion_id, js=u'!element.disabled')
-
-        # Test the force suggestion checking and unchecking.
-        client.click(id=force_suggestion_id)
-        client.asserts.assertChecked(id=force_suggestion_id)
-        client.asserts.assertNotChecked(id=diverge_id)
-        client.asserts.assertNotChecked(id=dismiss_id)
-        client.asserts.assertElemJS(
-            id=diverge_id, js=u'element.disabled')
-
-        client.click(id=force_suggestion_id)
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-        client.asserts.assertNotChecked(id=diverge_id)
-        client.asserts.assertNotChecked(id=dismiss_id)
-        client.asserts.assertElemJS(
-            id=diverge_id, js=u'!element.disabled')
-
-        # Test unchecking the diverge translations when dismiss all
-        # suggestions is enabled.
-        client.click(id=dismiss_id)
-        client.asserts.assertElemJS(
-            id=force_suggestion_id, js=u'element.disabled')
-        client.click(id=diverge_id)
-        client.asserts.assertElemJS(
-            id=force_suggestion_id, js=u'element.disabled')
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-
-        client.click(id=diverge_id)
-        client.asserts.assertElemJS(
-            id=force_suggestion_id, js=u'element.disabled')
-        client.asserts.assertNotChecked(id=force_suggestion_id)
-
-    def _checkResetTranslationSelect(
-        self, client, checkbox, singular_new_select, singular_current_select,
-        singular_new_field=None, plural_new_select=None):
-        """Checks that the new translation select radio buttons are checked
-        when ticking 'Someone should review this translation' checkbox.
-        """
-
-        client.waits.forElement(
-            id=checkbox, timeout=constants.FOR_ELEMENT)
-        client.waits.forElement(
-            id=singular_new_select, timeout=constants.FOR_ELEMENT)
-        client.waits.forElement(
-            id=singular_current_select, timeout=constants.FOR_ELEMENT)
-        if plural_new_select is not None:
-            client.waits.forElement(
-                id=plural_new_select, timeout=constants.FOR_ELEMENT)
-        if singular_new_field is not None:
-            client.waits.forElement(
-                id=singular_new_field, timeout=constants.FOR_ELEMENT)
-
-        # Check that initialy the checkbox is not checked and
-        # that the radio buttons are not selected.
-        client.asserts.assertNotChecked(id=checkbox)
-        client.asserts.assertNotChecked(id=singular_new_select)
-        client.asserts.assertChecked(id=singular_current_select)
-        if plural_new_select is not None:
-            client.asserts.assertNotChecked(id=plural_new_select)
-
-        # Check the checkbox
-        client.click(id=checkbox)
-
-        # Check that the checkbox and the new translation radio buttons are
-        # selected.
-        client.asserts.assertChecked(id=checkbox)
-        client.asserts.assertChecked(id=singular_new_select)
-        client.asserts.assertNotChecked(id=singular_current_select)
-        if plural_new_select is not None:
-            client.asserts.assertChecked(id=plural_new_select)
-
-        # Then then we uncheck the 'Someone needs to review this translation'
-        # checkbox.
-        client.click(id=checkbox)
-
-        # Unchecking the 'Someone needs to review this translation' checkbox
-        # when the 'New translation' field is empty, will select the current
-        # translation.
-        client.asserts.assertNotChecked(id=checkbox)
-        client.asserts.assertNotChecked(id=singular_new_select)
-        client.asserts.assertChecked(id=singular_current_select)
-        if plural_new_select is not None:
-            client.asserts.assertNotChecked(id=plural_new_select)
-
-        if singular_new_field is not None:
-            # Checking again the 'Someone need to review this translation'
-            # checkbox, type some text and unchecking it should keep the new
-            # translation fields selected
-            client.click(id=checkbox)
-            client.type(text=u'some test', id=singular_new_field)
-            client.click(id=checkbox)
-
-            client.asserts.assertNotChecked(id=checkbox)
-            client.asserts.assertChecked(id=singular_new_select)
-            client.asserts.assertNotChecked(id=singular_current_select)
-            if plural_new_select is not None:
-                client.asserts.assertNotChecked(id=plural_new_select)
-
-    def test_pofile_reset_translation_select(self):
-        """Test for automatically selecting new translation when
-        'Someone needs to review this translations' is checked.
-
-        """
-        # Go to the zoom in page for a translation with plural forms.
-        client, start_url = self.getClientFor(
-            '/ubuntu/hoary/+source/evolution/+pots/evolution-2.2/es/15/'
-            '+translate', user=lpuser.TRANSLATIONS_ADMIN)
-
-        checkbox = u'msgset_144_force_suggestion'
-        singular_new_select = u'msgset_144_es_translation_0_new_select'
-        singular_new_field = u'msgset_144_es_translation_0_new'
-        singular_current_select = u'msgset_144_es_translation_0_radiobutton'
-        plural_new_select = u'msgset_144_es_translation_1_new_select'
-        self._checkResetTranslationSelect(
-            client,
-            checkbox=checkbox,
-            singular_new_select=singular_new_select,
-            singular_new_field=singular_new_field,
-            singular_current_select=singular_current_select,
-            plural_new_select=plural_new_select)
-
-        # Go to the zoom in page for a pt_BR translation with plural forms.
-        # pt_BR is a language code using the same delimiter as HTTP form
-        # fields and are prone to errors.
-        client.open(
-            url='%s/ubuntu/hoary/+source/evolution/+pots/'
-                'evolution-2.2/pt_BR/15/+translate'
-                % TranslationsWindmillLayer.base_url)
-        client.waits.forPageLoad(timeout=constants.PAGE_LOAD)
-
-        checkbox = u'msgset_144_force_suggestion'
-        singular_new_select = u'msgset_144_pt_BR_translation_0_new_select'
-        singular_new_field = u'msgset_144_pt_BR_translation_0_new'
-        singular_current_select = (
-            u'msgset_144_pt_BR_translation_0_radiobutton')
-        plural_new_select = u'msgset_144_pt_BR_translation_1_new_select'
-        self._checkResetTranslationSelect(
-            client,
-            checkbox=checkbox,
-            singular_new_select=singular_new_select,
-            singular_new_field=singular_new_field,
-            singular_current_select=singular_current_select,
-            plural_new_select=plural_new_select)
-
-        # Go to the zoom in page for a translation without plural forms.
-        client.open(
-            url='%s/ubuntu/hoary/+source/evolution/+pots/'
-                'evolution-2.2/es/19/+translate'
-                % TranslationsWindmillLayer.base_url)
-        client.waits.forPageLoad(timeout=constants.PAGE_LOAD)
-
-        checkbox = u'msgset_148_force_suggestion'
-        singular_new_select = u'msgset_148_es_translation_0_new_select'
-        singular_current_select = u'msgset_148_es_translation_0_radiobutton'
-        self._checkResetTranslationSelect(
-            client,
-            checkbox=checkbox,
-            singular_new_select=singular_new_select,
-            singular_current_select=singular_current_select)
-
-        # Go to the zoom out page for some translations.
-        self.client.open(
-            url='%s/ubuntu/hoary/+source/evolution/+pots/'
-                'evolution-2.2/es/+translate'
-                % TranslationsWindmillLayer.base_url)
-        self.client.waits.forPageLoad(timeout=constants.PAGE_LOAD)
-
-        checkbox = u'msgset_130_force_suggestion'
-        singular_new_select = u'msgset_130_es_translation_0_new_select'
-        singular_current_select = u'msgset_130_es_translation_0_radiobutton'
-        self._checkResetTranslationSelect(
-            client,
-            checkbox=checkbox,
-            singular_new_select=singular_new_select,
-            singular_current_select=singular_current_select)
-
-        # Ensure that the other radio buttons are not changed
-        client.asserts.assertNotChecked(
-            id=u'msgset_131_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_132_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_133_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_134_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_135_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_136_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_137_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_138_es_translation_0_new_select')
-        client.asserts.assertNotChecked(
-            id=u'msgset_139_es_translation_0_new_select')
-