============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-8.4.0, pluggy-1.6.0 -- /home/ubuntu/automation/new-uiverify-tests/playwright-automation/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.10.12', 'Platform': 'Linux-5.15.0-139-generic-x86_64-with-glibc2.35', 'Packages': {'pytest': '8.4.0', '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/new-uiverify-tests/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 ... collected 12 items / 2 errors 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 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. ==================================== ERRORS ==================================== _ ERROR collecting web_bmc/tests/certificate_tests/test_certificate_positive.py _ .venv/lib/python3.10/site-packages/_pytest/python.py:497: in importtestmodule mod = import_path( .venv/lib/python3.10/site-packages/_pytest/pathlib.py:587: in import_path importlib.import_module(module_name) /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1050: in _gcd_import ??? :1027: in _find_and_load ??? :1006: in _find_and_load_unlocked ??? :688: in _load_unlocked ??? .venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) web_bmc/tests/certificate_tests/test_certificate_positive.py:12: in from web_bmc.pages.certificates_page import CertificatesPage E File "/home/ubuntu/automation/new-uiverify-tests/playwright-automation/web_bmc/pages/certificates_page.py", line 82 E selector = self._cert_selector file_type.selector E ^^^^^^^^^ E SyntaxError: invalid syntax ___ ERROR collecting web_bmc/tests/side_menu_test/test_side_menu_positive.py ___ .venv/lib/python3.10/site-packages/_pytest/python.py:497: in importtestmodule mod = import_path( .venv/lib/python3.10/site-packages/_pytest/pathlib.py:587: in import_path importlib.import_module(module_name) /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) :1050: in _gcd_import ??? :1027: in _find_and_load ??? :1006: in _find_and_load_unlocked ??? :688: in _load_unlocked ??? .venv/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) web_bmc/tests/side_menu_test/test_side_menu_positive.py:8: in from web_bmc.pages.certificates_page import CertificatesPage E File "/home/ubuntu/automation/new-uiverify-tests/playwright-automation/web_bmc/pages/certificates_page.py", line 82 E selector = self._cert_selector file_type.selector E ^^^^^^^^^ E SyntaxError: invalid syntax - generated xml file: /home/ubuntu/automation/new-uiverify-tests/playwright-automation/logs/report.xml - - Generated html report: file:///home/ubuntu/automation/new-uiverify-tests/playwright-automation/logs/report.html - =========================== short test summary info ============================ [31mERROR [0m web_bmc/tests/certificate_tests/test_certificate_positive.py [31mERROR [0m web_bmc/tests/side_menu_test/test_side_menu_positive.py !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ==================== [32m12 tests collected [0m, [31m2 errors [0m [31m in 0.34s [0m [31m =====================