def test_no_label(self):
     from lettuce_webdriver.util import find_field_by_label
     assert not find_field_by_label(world.browser, 'text', 'NoSuchLabel')
 def test_find_by_label(self):
     from lettuce_webdriver.util import find_field_by_label
     assert find_field_by_label(world.browser, 'text', 'Username:')
Beispiel #3
0
 def test_find_by_label(self):
     from lettuce_webdriver.util import find_field_by_label
     assert find_field_by_label(world.browser, 'text', 'Username:')
Beispiel #4
0
 def test_no_label(self):
     from lettuce_webdriver.util import find_field_by_label
     assert not find_field_by_label(world.browser, 'text', 'NoSuchLabel')
Beispiel #5
0
    def test_no_label(self):
        from lettuce_webdriver.util import find_field_by_label

        assert find_field_by_label(world.browser, "text", "NoSuchLabel") is False