def test_message_disappeared_after_adding_product_to_basket(browser, link): page = ObjectPageClass(browser, link) page.open() page.add_to_basket() page.message_disappeared_after_adding_product_to_basket()
def test_user_can_add_product_to_basket(self, browser, link): page = ObjectPageClass(browser, link) page.open() page.add_to_basket() page.check_was_added()
def test_guest_cant_see_success_message_after_adding_product_to_basket(browser, link): page = ObjectPageClass(browser, link) page.open() page.add_to_basket() page.guest_cant_see_success_message_after_adding_product_to_basket()