Skip to content

Commit 595922a

Browse files
Merge pull request #45 from NHSDigital:20241210
20241210
2 parents c44a54a + bb46f51 commit 595922a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def start_exe_session(request):
1616
ce.reset_environment()
1717
ce.session_screenshots_dir = create_session_screenshot_dir()
1818
ce.current_browser_name = request.config.getoption("browser_or_device")
19+
yield
20+
# ce.reset_environment() # Clean up the environment after execution
1921

2022

2123
@pytest.fixture(scope="session")

tests/test_09_consent.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def test_parental_consent_workflow(self, get_session_link: str, scenario_data: I
3939
self.helper.enter_details()
4040

4141
@pytest.mark.consent
42-
@pytest.mark.mobile
4342
@pytest.mark.order(902)
4443
def test_gillick_competence(self, start_mavis: None):
4544
self.login_page.login_as_nurse()
@@ -57,8 +56,6 @@ def test_gillick_competence(self, start_mavis: None):
5756
self.login_page.logout_of_mavis()
5857

5958
@pytest.mark.consent
60-
@pytest.mark.mobile
61-
@pytest.mark.bugs # MAVIS-1696
6259
@pytest.mark.order(903)
6360
def test_invalid_consent(self, start_mavis: None):
6461
self.login_page.login_as_nurse()
@@ -72,7 +69,7 @@ def test_invalid_consent(self, start_mavis: None):
7269
self.sessions_page.click_scheduled()
7370
self.sessions_page.click_school1()
7471
self.sessions_page.click_check_consent_responses()
75-
self.sessions_page.disparate_consent_scenario()
72+
self.sessions_page.disparate_consent_scenario() # Bug: MAVIS-1696
7673
self.dashboard_page.go_to_dashboard()
7774
self.dashboard_page.click_sessions()
7875
self.sessions_page.delete_all_sessions()

0 commit comments

Comments
 (0)