'This test simulate the device registration availability.
The Registration button must appear else the test will fail.'

def test_device_registration_availability(self):

    facility_name = 'default'
    self.fac = self.create_facility(name=facility_name)
    self.browser_login_admin(**self.admin_data)
    self.browse_to(self.reverse('zone_redirect'))
    element = self.browser.find_element_by_id('not-registered')
    try:
        WebDriverWait(self.browser, 0.7).until(EC.visibility_of(element))
    except TimeoutException:
        pass
    self.assertTrue(element.is_displayed())
