============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-8.3.5, pluggy-1.6.0 -- /home/ubuntu/automation/playwright-automation/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.10.12', 'Platform': 'Linux-5.15.0-140-generic-x86_64-with-glibc2.35', 'Packages': {'pytest': '8.3.5', 'pluggy': '1.6.0'}, 'Plugins': {'html': '4.1.1', 'jira-xray': '0.9.2', 'metadata': '3.1.1', 'env': '1.1.5', 'repeat': '0.9.4', 'dotenv': '0.5.2', 'xdist': '3.7.0', 'timeout': '2.4.0', 'order': '1.3.0'}} rootdir: /home/ubuntu/automation/playwright-automation configfile: pytest.ini plugins: html-4.1.1, jira-xray-0.9.2, metadata-3.1.1, env-1.1.5, repeat-0.9.4, dotenv-0.5.2, xdist-3.7.0, timeout-2.4.0, order-1.3.0 collecting ... collected 18 items Login test suite for validating login scenarios in the BMC UI. Login using valid credentials and assert successful login. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. create_certificate (tuple[CACertificateBuilder, Path, Path]): Fixture that will create a CA certificate and a server certificate signed by the CA certificate. login_page (LoginPage): Fixture that navigates to the BMC login page and returns a LoginPage object. Date and time test suite for validating scenarios in the BMC UI. Check Date and time page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Event Logs test suite for validating the page in the BMC UI. Validate Event Logs page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Factory Reset test suite for validating scenarios in the BMC UI. Check Factory Reset page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Firmware test suite for validating scenarios in the BMC UI. Check Firmware page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Inventory test suite for validating scenarios in the BMC UI. Check Inventory and LEDs page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Sessions test suite for validating the page in the BMC UI. Validate Sessions page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Login test suite for validating login scenarios in the BMC UI. Login using invalid credentials and assert error message displayed. Args: login_page (LoginPage): The login page object. Raises: AssertionError: if error message not displayed Login using valid credentials and assert successful login. Args: login_page (LoginPage): The login page object. Raises: AssertionError: if error message not displayed Login test suite for validating login scenarios in the BMC UI. Login using valid credentials and assert successful login. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Verifies language change on login page UI. Args: login_page (LoginPage): The login page object. lang_code (str): The value to select from the dropdown (e.g., 'en', 'es', 'ru-RU'). expected_label (str): The expected visible label after language change. Verifies language change on login page UI. Args: login_page (LoginPage): The login page object. lang_code (str): The value to select from the dropdown (e.g., 'en', 'es', 'ru-RU'). expected_label (str): The expected visible label after language change. Network test suite for validating scenarios in the BMC UI. Check Network page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Power restore policy test suite for validating scenarios in the BMC UI. Check POwer restore policy page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Reboot BMC test suite for validating scenarios in the BMC UI. Check Reboot BMC page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Topology test suite for validating login scenarios in the BMC UI. Check Hardware Sensors page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Sessions test suite for validating the page in the BMC UI. Validate Sessions page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Topology test suite for validating login scenarios in the BMC UI. Check Hardware Topology page is visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. - generated xml file: /home/ubuntu/automation/playwright-automation/logs/report.xml - - Generated html report: file:///home/ubuntu/automation/playwright-automation/logs/report.html - ========================= [32m18 tests collected [0m [32m in 2.94s [0m [32m ==========================