Beispiel #1
0
    def test_dish_group_is_visible(self, restaurant):
        self.restaurant = RestaurantsPage(self.driver, restaurant['url'])

        assert BasePage.is_visible(RestaurantsPage.DISH_GROUP)
        assert BasePage.is_visible(RestaurantsPage.RESTAURANT_IN_GROUP)
        assert BasePage.is_visible(RestaurantsPage.ALCOHOL)
        assert BasePage.is_visible(RestaurantsPage.DISH)
Beispiel #2
0
    def test_logo_visible(self, restaurant):
        self.restaurant = RestaurantsPage(self.driver, restaurant['url'])

        assert BasePage.is_visible(RestaurantsPage.LOGO)