============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-8.4.1, 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-141-generic-x86_64-with-glibc2.35', 'Packages': {'pytest': '8.4.1', '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', 'check': '2.5.3'}} 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, check-2.5.3 collecting ... ----------------------------- live log collection ------------------------------ | 18-06-2025 13:39:21.008 | conftest | [32mINFO [0m | Loading NetBox configuration for locked_res: 5@lab-nr1s7.neureality.corp | 18-06-2025 13:39:21.009 | conftest | [32mINFO [0m | NR1M name is: NR1S7-5 | 18-06-2025 13:39:21.958 | conftest | [32mINFO [0m | device_name='NR1S7-5' ; device_id=54 | 18-06-2025 13:39:22.452 | conftest | [32mINFO [0m | device='NR1S7-5' | 18-06-2025 13:39:26.510 | conftest | [32mINFO [0m | nr1s_name='NR1S7' | 18-06-2025 13:39:29.954 | conftest | [32mINFO [0m | os.getenv('NR1S_IP')='172.23.66.26' | 18-06-2025 13:39:29.954 | conftest | [32mINFO [0m | os.getenv('NRM_SLOT')='5' | 18-06-2025 13:39:29.955 | conftest | [32mINFO [0m | os.getenv('NRM_ETH0_IP')='172.23.66.125' | 18-06-2025 13:39:29.955 | conftest | [32mINFO [0m | os.getenv('NRM_NR0_IP')='172.23.8.75' | 18-06-2025 13:39:29.955 | conftest | [32mINFO [0m | os.getenv('BASE_URL')='https://172.23.66.26' collected 14 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. test suite for validating the Firmware UI page. Test that the Firmware page displays correct server firmware version structure. 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. Test logout functionality using the top menu. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. test suite for validating the Overview UI page. Test System information in the Overview page has a sibling element. Test that "view more" link is present and navigaates to correct pages. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. test suite for validating all BMC pages are visible in the UI. Check that all BMC pages are visible. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Test suite for BMC Top menu buttons validating their proper functionality. Click on NEUREALITY logo shall lead to overview page. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Click on Health button at the Top menu which shall lead to Event logs page. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Click on Power button at the Top menu which shall lead to Event logs page. Args: page (Page): Playwright page fixture provided by root-level conftest.py. screenshot_dir (Path): Directory for saving screenshots. Click on Refresh button at the Top menu which shall refresh the data on the current page. 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 - ========================= [32m14 tests collected [0m [32m in 9.13s [0m [32m ==========================