Skip to content

Commit 5bd6d4e

Browse files
committed
tests: add an DEAFULT config to run tests on REMOTE webdriver configuration
1 parent f071c5c commit 5bd6d4e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/test_ct005.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
from tests.pages.CheckoutInformationPage import CheckoutInformationPage
77
from 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+
)
1015
def 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()

tests/test_ct006.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
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"))

0 commit comments

Comments
 (0)