Fix typo in calling is_the_current_page method

The method is_the_current_page in the is_login_page is not called, it is
only referenced.

Partially implements blueprint: selenium-integration-testing

Change-Id: I28530fe03288bc6b4d9f77b361b7e743b1c04c26
This commit is contained in:
Tomas Novacik
2014-06-26 09:27:31 +02:00
parent d794ed3633
commit c502ae9388

View File

@@ -30,7 +30,7 @@ class LoginPage(pageobject.PageObject):
self._page_title = "Login"
def is_login_page(self):
return self.is_the_current_page and \
return self.is_the_current_page() and \
self.is_element_visible(*self._login_submit_button_locator)
@property