New paste Repaste Download
============================= 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
<Package playwright-automation>
  <Package web_bmc>
    <Package tests>
      <Dir firmware_page_test>
        <Module test_firmware_page_positive.py>
          <Class TestFirmwarePage>
            test suite for validating the Firmware UI page.
            <Function test_server_firmware_version_structure>
              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.
      <Package login_tests>
        <Module test_login_negative.py>
          <Class TestLoginNegative>
            Login test suite for validating login scenarios in the BMC UI.
            <Function test_login_invalid_credentials>
              Login using invalid credentials and assert error message displayed.
              
              Args:
                  login_page (LoginPage): The login page object.
              
              Raises:
                  AssertionError: if error message not displayed
            <Function test_login_missing_username>
              Login using valid credentials and assert successful login.
              
              Args:
                  login_page (LoginPage): The login page object.
              
              Raises:
                  AssertionError: if error message not displayed
        <Module test_login_positive.py>
          <Class TestLogin>
            Login test suite for validating login scenarios in the BMC UI.
            <Function test_login>
              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.
            <Function test_language_change[es-Idioma]>
              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.
            <Function test_language_change[ru-RU-\u042f\u0437\u044b\u043a]>
              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.
            <Function test_logout>
              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.
      <Dir overview_page_test>
        <Module test_overview_page_positive.py>
          <Class TestOverviewPage>
            test suite for validating the Overview UI page.
            <Function test_system_information>
              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.
      <Dir top_menu_tests>
        <Module test_top_menu_positive.py>
          <Class TestTopMenu>
            Test suite for BMC Top menu buttons validating their proper functionality.
            <Function test_logo_link>
              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.
            <Function test_health_button>
              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.
            <Function test_power_button>
              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.
            <Function test_refresh_button>
              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)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>: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 <module>
    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)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>: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 <module>
    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 =====================
Filename: None. Size: 9kb. View raw, , hex, or download this file.

This paste expires on 2025-06-26 12:40:53.402755. Pasted through deprecated-web.