コード例 #1
0
    def test_01_download(self):
        """ЗАгрузка баланса, октрытого из разных вкладок"""

        gb_tool = GBtool(self.driver)
        balance = Balance(self.driver)


        # gb_tool.goto_tab(home=True)
        time.sleep(1)
        gb_tool.go_to_menu('BALANCE')
        balance.check_components()

        gb_tool.goto_tab(my_orders=True)
        time.sleep(1)
        gb_tool.go_to_menu('BALANCE')
        balance.check_components()

        gb_tool.goto_tab(popular=True)
        time.sleep(1)
        gb_tool.go_to_menu('BALANCE')
        balance.check_components()

        gb_tool.goto_tab(top_boost=True)
        time.sleep(1)
        gb_tool.go_to_menu('BALANCE')
        balance.check_components()
コード例 #2
0
ファイル: dashboard.py プロジェクト: mbolisov/mb
    def test_01_download_no_orders(self):
        """ЗАгрузка дэшборда, с профиля без заказов, октрытого из разных вкладок"""

        gb_tool = GBtool(self.driver)
        top_boost = TopBoostPage(self.driver)

        # gb_tool.goto_tab(home=True)
        time.sleep(1)
        gb_tool.go_to_menu('BALANCE')
        top_boost.check_components()

        gb_tool.goto_tab(my_orders=True)
        time.sleep(1)
        gb_tool.goto_tab(top_boost=True)
        top_boost.check_components()

        gb_tool.goto_tab(popular=True)
        time.sleep(1)
        gb_tool.goto_tab(top_boost=True)
        top_boost.check_components()
コード例 #3
0
ファイル: settings.py プロジェクト: mbolisov/mb
    def test_01_download(self):
        """ЗАгрузка баланса, октрытого из разных вкладок"""

        gb_tool = GBtool(self.driver)
        settings = Settings(self.driver)

        time.sleep(1)
        gb_tool.go_to_menu('SETTINGS')
        settings.check_components()

        gb_tool.goto_tab(my_orders=True)
        time.sleep(1)
        gb_tool.go_to_menu('SETTINGS')
        settings.check_components()

        gb_tool.goto_tab(popular=True)
        time.sleep(1)
        gb_tool.go_to_menu('SETTINGS')
        settings.check_components()

        gb_tool.goto_tab(top_boost=True)
        time.sleep(1)
        gb_tool.go_to_menu('SETTINGS')
        settings.check_components()