Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions tests/api/tests_ui/multiconfig_config/test_environment_visible.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,28 @@ def test_environment_section_exists(create_multiconfig_project_api, main_page):
assert environment_section.is_displayed()


@allure.epic("Multi-configuration Project")
@allure.story("Build Environment section")
@allure.title("UI: Verify 'delete_checkbox_is_selected' checkbox is selected")
@allure.description(
"Ensure 'delete_checkbox' checkbox is selected on Configure page of a multi-configuration project")
@allure.testcase("https://github.com/RedRoverSchool/JenkinsQA_Python_2025_spring/issues/885", name="TC_04.007.02")
@allure.link("https://github.com/RedRoverSchool/JenkinsQA_Python_2025_spring/issues/885", name="Github issue")
def test_delete_checkbox_is_selected(create_multiconfig_project_with_env_options_api, main_page):
page = main_page.go_to_multiconfig_project_page(project_name).go_to_configure_page()
with allure.step("Assert that 'Delete workspace' checkbox is selected"):
assert page.is_elements_selected(page.Locators.DELETE_WORKSPACE_CHECKBOX)


@allure.epic("Multi-configuration Project")
@allure.story("Build Environment section")
@allure.title("UI: Verify 'Use secret text(s) or file(s)' checkbox is selected")
@allure.description(
"Ensure 'Use secret text(s) or file(s)' checkbox is selected on Configure page of a multi-configuration project")
@allure.testcase("https://github.com/RedRoverSchool/JenkinsQA_Python_2025_spring/issues/887", name="TC_04.007.03")
@allure.link("https://github.com/RedRoverSchool/JenkinsQA_Python_2025_spring/issues/887", name="Github issue")
def test_use_secret_text_checkbox_is_selected(create_multiconfig_project_with_env_options_api, main_page):
page = main_page.go_to_multiconfig_project_page(project_name).go_to_configure_page()
with allure.step("Assert 'Use secret text(s) or file(s)' checkbox is selected'"):
assert page.is_elements_selected(page.Locators.USE_SECRET_TEXT)

Loading