예제 #1
0
 def setUp(self):
     super(MyTest, self).setUp()
     self.home_page = HomePage(self.browser)
     self.signup_page = SignUpPage(self.browser)
     self.login_page = LoginPage(self.browser)
     self.how_studio_works_page = HowStudioWorksPage(self.browser)
     self.studio_help_page = StudioHelpPage(self.browser)
     HomePage(self.browser).visit()
예제 #2
0
 def click_signup_button(self):
     # Clicks on Sign up button
     self.q(css='.action-signup').first.click()
     return SignUpPage(self.browser).wait_for_page()