New paste Repaste Download
============================= 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
<Package playwright-automation>
  <Package web_bmc>
    <Package tests>
      <Package certificate_tests>
        <Module test_certificate_positive.py>
          <Class TestCertificate>
            Login test suite for validating login scenarios in the BMC UI.
            <Function test_certificate>
              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.
      <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 side_menu_test>
        <Module test_side_menu_positive.py>
          <Class TestSideMenu>
            test suite for validating all BMC pages are visible in the UI.
            <Function test_side_menu_navigation_page>
              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.
      <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.
- 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 ==========================
Filename: None. Size: 8kb. View raw, , hex, or download this file.

This paste expires on 2025-06-25 13:39:30.318839. Pasted through deprecated-web.