| ============================= 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
|
|
|
| <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 date_and_time_tests>
|
| <Module test_date_and_time_positive.py>
|
| <Class TestDateAndTime>
|
| Date and time test suite for validating scenarios in the BMC UI.
|
| <Function test_date_and_time>
|
| 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.
|
| <Dir event_logs_test>
|
| <Module test_event_logs_positive.py>
|
| <Class TestEventLogs>
|
| Event Logs test suite for validating the page in the BMC UI.
|
| <Function test_event_logs>
|
| 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.
|
| <Dir factory_reset_test>
|
| <Module test_factory_reset_positive.py>
|
| <Class TestFactoryReset>
|
| Factory Reset test suite for validating scenarios in the BMC UI.
|
| <Function test_factory_reset>
|
| 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.
|
| <Dir firmware_test>
|
| <Module test_firmware_positive.py>
|
| <Class TestFirmware>
|
| Firmware test suite for validating scenarios in the BMC UI.
|
| <Function test_firmware>
|
| Check Firmware page is visible.
|
|
|
| Args:
|
| page (Page): Playwright page fixture provided by root-level conftest.py.
|
| screenshot_dir (Path): Directory for saving screenshots.
|
| <Dir inventory_and_leds_test>
|
| <Module test_inventory_and_leds_positive.py>
|
| <Class TestInventoryAndLEDs>
|
| Inventory test suite for validating scenarios in the BMC UI.
|
| <Function test_inventory>
|
| 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.
|
| <Dir ldap_test>
|
| <Module test_ldap_positive.py>
|
| <Class TestSessions>
|
| Sessions test suite for validating the page in the BMC UI.
|
| <Function test_ldap>
|
| Validate Sessions page is visible.
|
|
|
| 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_username>
|
| 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.
|
| <Dir netwwork_tests>
|
| <Module test_network_positive.py>
|
| <Class TestNetwork>
|
| Network test suite for validating scenarios in the BMC UI.
|
| <Function test_network>
|
| Check Network page is visible.
|
|
|
| Args:
|
| page (Page): Playwright page fixture provided by root-level conftest.py.
|
| screenshot_dir (Path): Directory for saving screenshots.
|
| <Dir power_restore_policy_tests >
|
| <Module test_power_restore_policy_positive.py>
|
| <Class TestPowerRestorePolicy>
|
| Power restore policy test suite for validating scenarios in the BMC UI.
|
| <Function test_power_restore_policy>
|
| 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.
|
| <Dir reboot_bmc_test>
|
| <Module test_reboot_bmc_positive.py>
|
| <Class TestRebootBMC>
|
| Reboot BMC test suite for validating scenarios in the BMC UI.
|
| <Function test_reboot_bmc>
|
| 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.
|
| <Dir sensors_test>
|
| <Module test_sensors_positive.py>
|
| <Class TestSensors>
|
| Topology test suite for validating login scenarios in the BMC UI.
|
| <Function test_sensors>
|
| 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.
|
| <Dir sessions_test>
|
| <Module test_sessions_positive.py>
|
| <Class TestSessions>
|
| Sessions test suite for validating the page in the BMC UI.
|
| <Function test_sessions>
|
| Validate Sessions page is visible.
|
|
|
| Args:
|
| page (Page): Playwright page fixture provided by root-level conftest.py.
|
| screenshot_dir (Path): Directory for saving screenshots.
|
| <Dir topology_test>
|
| <Module test_topology_positive.py>
|
| <Class TestTopology>
|
| Topology test suite for validating login scenarios in the BMC UI.
|
| <Function test_topology>
|
| 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 ==========================
|