Beispiel #1
0
 def test1_process(self):
     self.assertTrue(main_page.taps_logo_visible(self.driver))
     main_page.add_item_to_cart(self.driver)
     main_page.go_to_cart_page(self.driver)
     self.assertTrue(cart_page.check_item_in_cart(self.driver))
     cart_page.approve_cart(self.driver)
     order_page.proper_fill_all_form_areas(self.driver)
     order_page.submit_order(self.driver)
Beispiel #2
0
 def test2_remove_item_from_cart(self):
     main_page.add_item_to_cart(self.driver)
     main_page.go_to_cart_page(self.driver)
     self.assertTrue(cart_page.check_item_in_cart(self.driver))
     cart_page.remove_item_from_cart(self.driver)
     self.assertTrue(cart_page.check_item_not_in_cart(self.driver))
Beispiel #3
0
 def test1_add_item_to_cart(self):
     main_page.add_item_to_cart(self.driver)
     main_page.go_to_cart_page(self.driver)
     self.assertTrue(cart_page.check_item_in_cart(self.driver))