Skip to content

Commit 3e99746

Browse files
Added further steps in test basic active batch list tests
1 parent 4c64e2a commit 3e99746

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
import pytest
22
from playwright.sync_api import Page, expect
33
from pages.base_page import BasePage
4+
from pages.communication_production.communications_production_page import CommunicationsProductionPage
45
from pages.reports.reports_page import ReportsPage
56
from utils.user_tools import UserTools
7+
8+
9+
@pytest.fixture(scope="function", autouse=True)
10+
def before_each(page: Page):
11+
"""
12+
Before every test is executed, this fixture logs in to BCSS as a test user and navigates to the
13+
reports page
14+
"""
15+
# Log in to BCSS
16+
UserTools.user_login(page, "Hub Manager State Registered at BCS01")
17+
18+
# Go to active batch list page via the communications production page
19+
BasePage(page).go_to_communications_production_page()
20+
CommunicationsProductionPage(page).go_to_active_batch_list_page()
21+
22+
@pytest.mark.regressions
23+
def test_headings_on_active_batch_list_screen(page: Page) -> None:
24+
"""
25+
Confirms that the active batch list table contains a sortable and filterable column for "ID", "Type", "Original",
26+
"Event Code", "Description", "Batch Split By", "Screening Centre", "Status", "Priority", "Deadline" and "Count"
27+
"""
28+
# Active batch list page loads as expected

0 commit comments

Comments
 (0)