示例#1
0
    def test(self):
        driver = self.driver

        mainsteps = MainSteps(driver)
        mainsteps.open()
        mainsteps.button_signin()
        driver.switch_to.frame(
            driver.find_element_by_css_selector(
                '[class="ag-popup__frame__layout__iframe"]'))
        mainsteps.ref_remind()

        assert "No results found." not in driver.page_source
    def test(self):
        driver = self.driver

        mainsteps = MainSteps(driver)
        mainsteps.open()
        mainsteps.button_signin()
        driver.switch_to.frame(driver.find_element_by_css_selector('[class="ag-popup__frame__layout__iframe"]'))

        AuthSteps(driver).auth_main_page()

        mainsteps_after_auth = MainSteps(driver)
        mainsteps_after_auth.ref_auth_main_button()
        mainsteps_after_auth.ref_auth_account_info()

        assert "No results found." not in driver.page_source