Code review comment for lp:~jtv/maas/bug-1364713

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

The error looks spurious. I see it in somewhere on the order of 1% of test runs. The weird thing is that the response dump in the error output shows the zone_widget element:

          <div id="zone_widget" class="hidden">

But the error seems to say that that widget can't be found:

NoSuchElementException: Message: u'Unable to locate element: {"method":"id","selector":"zone_widget"}'

This is for a failure while looking for that widget as in:

    def test_zone_widget_is_visible_only_when_set_zone_selected(self):
        self.log_in('admin')
        self.get_page('node-list')
        zone_widget = self.selenium.find_element_by_id('zone_widget')

« Back to merge proposal