diff --git a/nightly_tests/nightly_logs/log_2024-04-09_18-34/01_screenshot_after_navigating_to_URL.png b/nightly_tests/nightly_logs/log_2024-04-09_18-34/01_screenshot_after_navigating_to_URL.png new file mode 100644 index 00000000..5c956256 Binary files /dev/null and b/nightly_tests/nightly_logs/log_2024-04-09_18-34/01_screenshot_after_navigating_to_URL.png differ diff --git a/nightly_tests/nightly_logs/log_2024-04-09_18-34/02_screenshot_after_bootstrap_check.png b/nightly_tests/nightly_logs/log_2024-04-09_18-34/02_screenshot_after_bootstrap_check.png new file mode 100644 index 00000000..5c956256 Binary files /dev/null and b/nightly_tests/nightly_logs/log_2024-04-09_18-34/02_screenshot_after_bootstrap_check.png differ diff --git a/nightly_tests/nightly_logs/log_2024-04-09_18-34/03_screenshot_after_clicking_core_manegement_setup.png b/nightly_tests/nightly_logs/log_2024-04-09_18-34/03_screenshot_after_clicking_core_manegement_setup.png new file mode 100644 index 00000000..5c77e612 Binary files /dev/null and b/nightly_tests/nightly_logs/log_2024-04-09_18-34/03_screenshot_after_clicking_core_manegement_setup.png differ diff --git a/nightly_tests/nightly_logs/log_2024-04-09_18-34/04_screenshot_after_clicking_core_manegement_save_btn.png b/nightly_tests/nightly_logs/log_2024-04-09_18-34/04_screenshot_after_clicking_core_manegement_save_btn.png new file mode 100644 index 00000000..0faf5b6d Binary files /dev/null and b/nightly_tests/nightly_logs/log_2024-04-09_18-34/04_screenshot_after_clicking_core_manegement_save_btn.png differ diff --git a/nightly_tests/nightly_logs/log_2024-04-09_18-34/05_screenshot_after_navigating_to_marketplace.png b/nightly_tests/nightly_logs/log_2024-04-09_18-34/05_screenshot_after_navigating_to_marketplace.png new file mode 100644 index 00000000..fadfb8a8 Binary files /dev/null and b/nightly_tests/nightly_logs/log_2024-04-09_18-34/05_screenshot_after_navigating_to_marketplace.png differ diff --git a/nightly_tests/nightly_logs/log_2024-04-09_18-34/nightly_output_2024-04-09_18-34.txt b/nightly_tests/nightly_logs/log_2024-04-09_18-34/nightly_output_2024-04-09_18-34.txt new file mode 100644 index 00000000..1920fcba --- /dev/null +++ b/nightly_tests/nightly_logs/log_2024-04-09_18-34/nightly_output_2024-04-09_18-34.txt @@ -0,0 +1,185 @@ +Repo Hash (Nightly Test): [8f65a82] +Repo Hash (Cloudformation): [1ab98dd] +Nightly Test in the (TODO FIXME) account +Stack Name: [unity-management-console-unity-nightly] +Stack Status (Final): [CREATE_COMPLETE] +Stack Creation Time: [400 seconds] - PASS +============================= test session starts ============================== +platform linux -- Python 3.8.10, pytest-8.0.2, pluggy-1.4.0 -- /usr/bin/python3 +cachedir: .pytest_cache +rootdir: /home/ubuntu/unity-cs-infra/nightly_tests +collecting ... collected 9 items + +test_selenium_mc.py::test_navigate_to_mc_console PASSED [ 11%] +test_selenium_mc.py::test_bootstrap_process_status PASSED [ 22%] +test_selenium_mc.py::test_initiate_core_setup PASSED [ 33%] +test_selenium_mc.py::test_core_setup_save_btn PASSED [ 44%] +test_selenium_mc.py::test_naviate_to_SPS_module FAILED [ 55%] +test_selenium_mc.py::test_SPS_module_name FAILED [ 66%] +test_selenium_mc.py::test_SPS_module_branch FAILED [ 77%] +test_selenium_mc.py::test_click_SPS_install_btns FAILED [ 88%] +test_selenium_mc.py::test_SPS_install_status FAILED [100%] + +=================================== FAILURES =================================== +__________________________ test_naviate_to_SPS_module __________________________ +test_selenium_mc.py:158: in test_naviate_to_SPS_module + install_button = WebDriverWait(driver, 10).until( +../../.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py:105: in until + raise TimeoutException(message, screen, stacktrace) +E selenium.common.exceptions.TimeoutException: Message: +E Stacktrace: +E #0 0x55c872bd88a3 +E #1 0x55c8728ce8c6 +E #2 0x55c872919618 +E #3 0x55c8729196d1 +E #4 0x55c87295c744 +E #5 0x55c87293b5cd +E #6 0x55c872959c19 +E #7 0x55c87293b343 +E #8 0x55c87290c593 +E #9 0x55c87290cf5e +E #10 0x55c872b9c88b +E #11 0x55c872ba07e5 +E #12 0x55c872b8a5b1 +E #13 0x55c872ba1372 +E #14 0x55c872b6f8bf +E #15 0x55c872bc7768 +E #16 0x55c872bc793b +E #17 0x55c872bd79f4 +E #18 0x7fa75a900ac3 + +During handling of the above exception, another exception occurred: +test_selenium_mc.py:167: in test_naviate_to_SPS_module + raise Exception("Failed to naviagate to SPS module - either the button was not clickable or the URL did not update as expected.") +E Exception: Failed to naviagate to SPS module - either the button was not clickable or the URL did not update as expected. +_____________________________ test_SPS_module_name _____________________________ +test_selenium_mc.py:180: in test_SPS_module_name + text_box = WebDriverWait(driver, 10).until( +../../.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py:105: in until + raise TimeoutException(message, screen, stacktrace) +E selenium.common.exceptions.TimeoutException: Message: +E Stacktrace: +E #0 0x55c872bd88a3 +E #1 0x55c8728ce8c6 +E #2 0x55c872919618 +E #3 0x55c8729196d1 +E #4 0x55c87295c744 +E #5 0x55c87293b5cd +E #6 0x55c872959c19 +E #7 0x55c87293b343 +E #8 0x55c87290c593 +E #9 0x55c87290cf5e +E #10 0x55c872b9c88b +E #11 0x55c872ba07e5 +E #12 0x55c872b8a5b1 +E #13 0x55c872ba1372 +E #14 0x55c872b6f8bf +E #15 0x55c872bc7768 +E #16 0x55c872bc793b +E #17 0x55c872bd79f4 +E #18 0x7fa75a900ac3 + +During handling of the above exception, another exception occurred: +test_selenium_mc.py:189: in test_SPS_module_name + raise Exception(f"Failed to find or interact with the specified element (ID: {element_id}).") +E Exception: Failed to find or interact with the specified element (ID: name). +____________________________ test_SPS_module_branch ____________________________ +test_selenium_mc.py:201: in test_SPS_module_branch + next_button = WebDriverWait(driver, 10).until( +../../.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py:105: in until + raise TimeoutException(message, screen, stacktrace) +E selenium.common.exceptions.TimeoutException: Message: +E Stacktrace: +E #0 0x55c872bd88a3 +E #1 0x55c8728ce8c6 +E #2 0x55c872919618 +E #3 0x55c8729196d1 +E #4 0x55c87295c744 +E #5 0x55c87293b5cd +E #6 0x55c872959c19 +E #7 0x55c87293b343 +E #8 0x55c87290c593 +E #9 0x55c87290cf5e +E #10 0x55c872b9c88b +E #11 0x55c872ba07e5 +E #12 0x55c872b8a5b1 +E #13 0x55c872ba1372 +E #14 0x55c872b6f8bf +E #15 0x55c872bc7768 +E #16 0x55c872bc793b +E #17 0x55c872bd79f4 +E #18 0x7fa75a900ac3 + +During handling of the above exception, another exception occurred: +test_selenium_mc.py:214: in test_SPS_module_branch + raise Exception(f"Textbox for branch name (ID: {element_id}) not found.") +E Exception: Textbox for branch name (ID: branch) not found. +_________________________ test_click_SPS_install_btns __________________________ +test_selenium_mc.py:225: in test_click_SPS_install_btns + next_button = WebDriverWait(driver, 10).until( +../../.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py:105: in until + raise TimeoutException(message, screen, stacktrace) +E selenium.common.exceptions.TimeoutException: Message: +E Stacktrace: +E #0 0x55c872bd88a3 +E #1 0x55c8728ce8c6 +E #2 0x55c872919618 +E #3 0x55c8729196d1 +E #4 0x55c87295c744 +E #5 0x55c87293b5cd +E #6 0x55c872959c19 +E #7 0x55c87293b343 +E #8 0x55c87290c593 +E #9 0x55c87290cf5e +E #10 0x55c872b9c88b +E #11 0x55c872ba07e5 +E #12 0x55c872b8a5b1 +E #13 0x55c872ba1372 +E #14 0x55c872b6f8bf +E #15 0x55c872bc7768 +E #16 0x55c872bc793b +E #17 0x55c872bd79f4 +E #18 0x7fa75a900ac3 + +During handling of the above exception, another exception occurred: +test_selenium_mc.py:246: in test_click_SPS_install_btns + raise Exception(f"Failed to find or click the first button (class: {next_button_class}).") +E NameError: name 'next_button_class' is not defined +___________________________ test_SPS_install_status ____________________________ +test_selenium_mc.py:258: in test_SPS_install_status + install_status_button = WebDriverWait(driver, 10).until( +../../.local/lib/python3.8/site-packages/selenium/webdriver/support/wait.py:105: in until + raise TimeoutException(message, screen, stacktrace) +E selenium.common.exceptions.TimeoutException: Message: +E Stacktrace: +E #0 0x55c872bd88a3 +E #1 0x55c8728ce8c6 +E #2 0x55c872919618 +E #3 0x55c8729196d1 +E #4 0x55c87295c744 +E #5 0x55c87293b5cd +E #6 0x55c872959c19 +E #7 0x55c87293b343 +E #8 0x55c87290c593 +E #9 0x55c87290cf5e +E #10 0x55c872b9c88b +E #11 0x55c872ba07e5 +E #12 0x55c872b8a5b1 +E #13 0x55c872ba1372 +E #14 0x55c872b6f8bf +E #15 0x55c872bc7768 +E #16 0x55c872bc793b +E #17 0x55c872bd79f4 +E #18 0x7fa75a900ac3 + +During handling of the above exception, another exception occurred: +test_selenium_mc.py:262: in test_SPS_install_status + raise Exception("Failed to find or locate the status button") +E Exception: Failed to find or locate the status button +=========================== short test summary info ============================ +FAILED test_selenium_mc.py::test_naviate_to_SPS_module - Exception: Failed to... +FAILED test_selenium_mc.py::test_SPS_module_name - Exception: Failed to find ... +FAILED test_selenium_mc.py::test_SPS_module_branch - Exception: Textbox for b... +FAILED test_selenium_mc.py::test_click_SPS_install_btns - NameError: name 'ne... +FAILED test_selenium_mc.py::test_SPS_install_status - Exception: Failed to fi... +=================== 5 failed, 4 passed in 135.74s (0:02:15) ====================