Skip to content

Commit 2eacba6

Browse files
committed
fix: pytest.param's IDs should reflect the correct browser
1 parent a528ed8 commit 2eacba6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ It's useful to use the powers of `pytest` framework to handle situations where t
9999
@pytest.mark.parametrize(
100100
(""), [
101101
pytest.param(id="default"),
102-
pytest.param(id="firefox", marks=pytest.mark.FORCE_BROWSER("edge")),
103-
pytest.param(id="firefox", marks=pytest.mark.FORCE_BROWSER("chrome"))
102+
pytest.param(id="edge", marks=pytest.mark.FORCE_BROWSER("edge")),
103+
pytest.param(id="chrome", marks=pytest.mark.FORCE_BROWSER("chrome"))
104104
]
105105
)
106106
def test_successfully_run_with_edge_chrome_and_default_config(...):

0 commit comments

Comments
 (0)