Skip to content

Commit fed0e1f

Browse files
ScenarioIds
1 parent d107992 commit fed0e1f

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

libs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def quit_browser():
7878

7979
@staticmethod
8080
def close_page():
81-
if CurrentExecution.page.query_selector("Log out") is not None:
81+
if CurrentExecution.page.get_by_role("button", name="Log out").is_visible():
8282
CurrentExecution.page.get_by_role("button", name="Log out").click()
8383
CurrentExecution.page.close()
8484

tests/test_3_consent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class Test_Regression_Consent:
1414
@pytest.mark.consent
1515
@pytest.mark.mobile
1616
@pytest.mark.order(301)
17-
@pytest.mark.parametrize("scenario_", helper.df.iterrows())
18-
def test_reg_parental_consent_workflow(self, start_consent_workflow, scenario_):
19-
self.helper.read_data_for_scenario(scenario_data=scenario_)
17+
@pytest.mark.parametrize("scenario_data", helper.df.iterrows(), ids=[_tc[0] for _tc in helper.df.iterrows()])
18+
def test_reg_parental_consent_workflow(self, start_consent_workflow, scenario_data):
19+
self.helper.read_data_for_scenario(scenario_data=scenario_data)
2020
self.helper.enter_details()
2121

2222
@pytest.mark.consent

tests/test_6_vaccs_batch.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class Test_Regression_Cohorts:
1111
@pytest.mark.vaccsbatch
1212
@pytest.mark.mobile
1313
@pytest.mark.order(601)
14-
@pytest.mark.skip(reason="Out of scope for 1a")
1514
def test_reg_batch_add_batch(self, create_browser_page):
1615
self.login_page.perform_valid_login()
1716
self.dashboard_page.click_vaccines()
@@ -20,7 +19,6 @@ def test_reg_batch_add_batch(self, create_browser_page):
2019
@pytest.mark.vaccsbatch
2120
@pytest.mark.mobile
2221
@pytest.mark.order(602)
23-
@pytest.mark.skip(reason="Out of scope for 1a")
2422
def test_reg_batch_change_batch(self, create_browser_page):
2523
self.login_page.perform_valid_login()
2624
self.dashboard_page.click_vaccines()
@@ -30,7 +28,6 @@ def test_reg_batch_change_batch(self, create_browser_page):
3028
@pytest.mark.vaccsbatch
3129
@pytest.mark.mobile
3230
@pytest.mark.order(603)
33-
@pytest.mark.skip(reason="Out of scope for 1a")
3431
def test_reg_batch_archive_batch(self, create_browser_page):
3532
self.login_page.perform_valid_login()
3633
self.dashboard_page.click_vaccines()
@@ -40,7 +37,6 @@ def test_reg_batch_archive_batch(self, create_browser_page):
4037
@pytest.mark.vaccsbatch
4138
@pytest.mark.mobile
4239
@pytest.mark.order(604)
43-
@pytest.mark.skip(reason="Out of scope for 1a")
4440
def test_reg_batch_add_change_archive_batch(self, create_browser_page):
4541
self.login_page.perform_valid_login()
4642
self.dashboard_page.click_vaccines()

0 commit comments

Comments
 (0)