コード例 #1
0
    def login_to_profile(self):
        profilePage = ProfilePage(self.driver)
        helper_methods = Helper_Methods(self.driver)
        grid_page = GridPage(self.driver)

        helper_methods.setupFilter()
        helper_methods.filterExportInstagram()
        profilePage.openProfilePage()
        profilePage.tapSignIn()
        profilePage.enterLoginInfo()
        profilePage.tapSignUp()
        grid_page.GDPR_skip()

        gridPageAsserts = GridPageAsserts(self.driver)
        gridPageAsserts.settingsIconAssert()
コード例 #2
0
    def create_new_profile_test(self):
        profilePage = ProfilePage(self.driver)
        helper_methods = Helper_Methods(self.driver)
        gridPageAsserts = GridPageAsserts(self.driver)
        grid_page = GridPage(self.driver)

        helper_methods.setupFilter()
        helper_methods.filterExportInstagram()
        profilePage.openProfilePage()
        profilePage.name_generator()
        profilePage.email_generator()
        profilePage.pw_generator()
        profilePage.tap_profile_image()
        profilePage.tap_first_image_in_gallery()
        profilePage.tap_done_in_gallery()
        profilePage.tapSignUp()
        grid_page.GDPR_skip()

        gridPageAsserts.premium_badge_assert()