コード例 #1
0
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()
コード例 #2
0
 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()
コード例 #3
0
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()