Skip to content

Commit 22b88fb

Browse files
Updated batch list screen test
1 parent 3e99746 commit 22b88fb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/regression/communications_production_regression/test_basic_active_batch_list_functionality_regression.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
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
5-
from pages.reports.reports_page import ReportsPage
4+
from pages.communication_production.communications_production_page import (
5+
CommunicationsProductionPage,
6+
)
7+
from pages.communication_production.batch_list_page import ActiveBatchListPage
68
from utils.user_tools import UserTools
79

810

@@ -19,10 +21,12 @@ def before_each(page: Page):
1921
BasePage(page).go_to_communications_production_page()
2022
CommunicationsProductionPage(page).go_to_active_batch_list_page()
2123

24+
2225
@pytest.mark.regressions
2326
def test_headings_on_active_batch_list_screen(page: Page) -> None:
2427
"""
25-
Confirms that the active batch list table contains a sortable and filterable column for "ID", "Type", "Original",
28+
Confirms that the active batch list table contains a sortable and filterable column for "ID", "Type", "Original",
2629
"Event Code", "Description", "Batch Split By", "Screening Centre", "Status", "Priority", "Deadline" and "Count"
2730
"""
28-
# Active batch list page loads as expected
31+
# Active batch list page loads as expected
32+
ActiveBatchListPage(page).verify_deadline_date_filter_input

0 commit comments

Comments
 (0)