예제 #1
0
class TestTwoStepCarSelection:
    def setup(self):
        self.main = App()

    def teardown(self):
        self.main.base_quit()

    def test_two_step_car_selection(self):
        btn = self.main.start().my().goto_four_step_car_selection().two_step()
        assert "初步确定意向" in btn
class TestFourStepCarSelection:
    def setup(self):
        self.main = App()

    def teardown(self):
        self.main.base_quit()

    def test_four_step_car_selection(self):
        ask_price_btn = self.main.start().my().goto_four_step_car_selection(
        ).one_step()
        assert "符合要求" in ask_price_btn