"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "linotpd/src/linotp/tests/integration/linotp_selenium_helper/manage_ui.py" between
LinOTP-release-2.11.2.tar.gz and LinOTP-release-2.12.tar.gz

About: LinOTP is a flexible and versatile OTP-platform for strong user authentication (two-factor authentication with one time passwords).

manage_ui.py  (LinOTP-release-2.11.2):manage_ui.py  (LinOTP-release-2.12)
skipping to change at line 148 skipping to change at line 148
""" """
return self.testcase.driver return self.testcase.driver
def check_url(self): def check_url(self):
""" """
Check we are on the right page Check we are on the right page
""" """
assert self._is_url_open(), \ assert self._is_url_open(), \
'URL %s should end with %s - page not loaded?' % \ 'URL %s should end with %s - page not loaded?' % \
(self.driver.current_url, self.URL) (self.driver.current_url, self.URL)
self.testcase.assertEquals(self.driver.title, 'LinOTP 2 Management') self.testcase.assertEquals(self.driver.title, 'Management - LinOTP')
def find_by_css(self, css_value): def find_by_css(self, css_value):
""" """
Return the element indicated by CSS selector Return the element indicated by CSS selector
""" """
self.check_url() self.check_url()
return helper.find_by_css(self.driver, css_value) return helper.find_by_css(self.driver, css_value)
def find_all_by_css(self, css_value): def find_all_by_css(self, css_value):
""" """
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)