Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.14.z] updated read func which will read the value and click on submit. #1718

Conversation

Satellite-QE
Copy link
Contributor

Cherrypick of PR: #1701

When we read the value of a host group set within a specific organization, and then attempt to change to a different organization without clicking the "Submit" button, an alert is triggered. This alert is handled by the WrongContextAlert class, but its button locator needs to be updated. The locator is part of the widgetastic_patternfly4 library, which is supported only up to Python 3.10.

To avoid this issue, after reading the value in the host group, the "Submit" button will be clicked and change the organization.

@Satellite-QE Satellite-QE added 6.14.z Auto_Cherry_Picked GHA has automatically cherrypicked this PR No-CherryPick PR doesnt need CherryPick to previous branches labels Jan 27, 2025
@Satellite-QE
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_puppetenvironment.py -k test_positive_availability_for_host_and_hostgroup_in_multiple_orgs

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked Automatically merge the PR is PRT and all checks are passing label Jan 27, 2025
@Satellite-QE
Copy link
Contributor Author

PRT Result

Build Number: 485
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_puppetenvironment.py -k test_positive_availability_for_host_and_hostgroup_in_multiple_orgs --external-logging
Test Result : ========== 1 failed, 1 deselected, 14 warnings in 3816.17s (1:03:36) ===========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Jan 27, 2025
@amolpati30
Copy link
Contributor

trigger: test-robottelo
pytest: tests/foreman/ui/test_puppetenvironment.py -k test_positive_availability_for_host_and_hostgroup_in_multiple_orgs

@Satellite-QE
Copy link
Contributor Author

PRT Result

Build Number: 488
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_puppetenvironment.py -k test_positive_availability_for_host_and_hostgroup_in_multiple_orgs --external-logging
Test Result : ========== 1 passed, 1 deselected, 21 warnings in 2266.65s (0:37:46) ===========

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Jan 27, 2025
@Satellite-QE Satellite-QE merged commit 63c966c into 6.14.z Jan 27, 2025
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z Auto_Cherry_Picked GHA has automatically cherrypicked this PR AutoMerge_Cherry_Picked Automatically merge the PR is PRT and all checks are passing No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants