File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 66from tests .pages .CheckoutInformationPage import CheckoutInformationPage
77from tests .pages .CheckoutOverviewPage import CheckoutOverviewPage
88
9- @pytest .mark .FORCE_BROWSER ("firefox" )
9+ @pytest .mark .parametrize (
10+ ("" ), [
11+ pytest .param (id = "default" ),
12+ pytest .param (id = "firefox" , marks = pytest .mark .FORCE_BROWSER ("firefox" ))
13+ ]
14+ )
1015def test_successfully_buy_a_product (start_with_one_product_added ):
1116 cart_page = CartPage (driver = start_with_one_product_added .driver )
1217 cart_products_list = cart_page .get_cart_items ()
Original file line number Diff line number Diff line change 55
66@pytest .mark .parametrize (
77 ("" ), [
8+ pytest .param (id = "default" ),
89 pytest .param (id = "firefox" , marks = pytest .mark .FORCE_BROWSER ("firefox" )),
910 pytest .param (id = "chrome" , marks = pytest .mark .FORCE_BROWSER ("chrome" )),
1011 pytest .param (id = "safari" , marks = pytest .mark .FORCE_BROWSER ("safari" ))
You can’t perform that action at this time.
0 commit comments