def test_is_check(self, checkbox_setup):
     Assert.assert_false(self.check_box.is_checked())
     self.check_box.click()
     Assert.assert_true(self.check_box.is_checked())
Beispiel #2
0
 def test_is_check(self):
     Assert.assert_false(self.check_box.is_checked())
     self.check_box.click()
     Assert.assert_true(self.check_box.is_checked())
Beispiel #3
0
 def test_clear_cache(self):
     cookie = {"name": "key", "value": "value"}
     EpamJDISite.contact_form_page.add_cookie(cookie)
     Assert.assert_false(not len(self.get_driver().get_cookies()))
     EpamJDISite.contact_form_page.clear_cache()
     Assert.assert_true(not len(self.get_driver().get_cookies()))
Beispiel #4
0
 def test_clear_cache(self):
     cookie = {'name': 'key', 'value': 'value'}
     EpamJDISite.contact_form_page.add_cookie(cookie)
     Assert.assert_false(not len(self.get_driver().get_cookies()))
     EpamJDISite.contact_form_page.clear_cache()
     Assert.assert_true(not len(self.get_driver().get_cookies()))
Beispiel #5
0
 def test_table_is_not_empty(self):
     Assert.assert_false(self.table.is_empty())