Пример #1
0
 def test_vim_plugin_link(self):
     main = MainPage(self.driver)
     assert main.click_vim_plugins_in_nav().get_section_height() == self.get_current_height()
     assert main.active_item_is('vim-plugin')
Пример #2
0
 def test_language_link(self):
     main = MainPage(self.driver)
     height = main.click_languages_in_nav().get_section_height()
     assert abs(height - self.get_current_height()) < 3
     assert main.active_item_is('language')
Пример #3
0
 def test_desktop_app_link(self):
     main = MainPage(self.driver)
     assert main.click_desktop_apps_in_nav().get_section_height() == self.get_current_height()
     assert main.active_item_is('desktop-app')
Пример #4
0
 def test_about_me_link(self):
     main = MainPage(self.driver)
     assert main.click_about_me_in_nav().get_section_height() == self.get_current_height()
     assert main.active_item_is('top')