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

check facts for host #1591

Closed

Conversation

amolpati30
Copy link
Contributor

@amolpati30 amolpati30 commented Oct 8, 2024

On the host, it selects the facts and returns the value to verify whether the 'insights_client' is present.

Dependent PR: SatelliteQE/robottelo#16606

@amolpati30 amolpati30 added CherryPick PR needs CherryPick to previous branches AutoMerge_Cherry_Picked Automatically merge the PR is PRT and all checks are passing 6.14.z 6.15.z 6.16.z labels Oct 8, 2024
@@ -419,6 +419,15 @@ def get_displayed_table_headers(self):
view.wait_displayed()
return view.displayed_table_header_names

def build_mode(self, entity_name, value=None):
Copy link
Contributor

@LadislavVasina1 LadislavVasina1 Oct 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a method to verify the facts for the host. Can you please more elaborate on the PR description. Also please add some docstring to your entity and maybe alter the entity name so it more reflects what the entity is doing. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

Copy link
Contributor

@LadislavVasina1 LadislavVasina1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment to get more clarity about the addition.

@amolpati30 amolpati30 marked this pull request as draft October 18, 2024 15:17
@amolpati30 amolpati30 added No-CherryPick PR doesnt need CherryPick to previous branches Stream and removed CherryPick PR needs CherryPick to previous branches AutoMerge_Cherry_Picked Automatically merge the PR is PRT and all checks are passing 6.14.z 6.15.z 6.16.z labels Jan 15, 2025
@amolpati30 amolpati30 force-pushed the build_mode_check_facts branch from 053fe41 to a196041 Compare January 16, 2025 05:31
@amolpati30 amolpati30 marked this pull request as ready for review January 16, 2025 05:35
@LadislavVasina1
Copy link
Contributor

@amolpati30 I can't see you using the airgun entity I coded for you #1589, why didn't you use it? Also leaving commit history would be good review of quarter-old PR.

@amolpati30
Copy link
Contributor Author

@LadislavVasina1
Will your PR verify whether the insights_client is present in the facts? I believe it is providing some other information, which is not exactly what I need for the test case.

@LadislavVasina1
Copy link
Contributor

LadislavVasina1 commented Jan 17, 2025

@amolpati30 Didn't you want to read the filled searchbox when you created the PR? I suppose you have edited the description in the meanwhile so it is probable that my addition might be no use to you as it was implement for former PR description and former commit.

@amolpati30
Copy link
Contributor Author

@LadislavVasina1
As per the bug, I updated the test to verify that insights are present in the facts and that registration works without any issues. I believe I have addressed all the required aspects accordingly.

@shweta83
Copy link
Contributor

shweta83 commented Jan 22, 2025

@amolpati30 There is a method present in airgun to read host facts and you can pass the fact name in robottelo which you want to check.
Can you please check if existing method serves your purpose?

@amolpati30
Copy link
Contributor Author

amolpati30 commented Jan 23, 2025

@shweta83
Existing method is working, This PR is not necessary. I have updated the Robottelo PR; please take a look.

@shweta83
Copy link
Contributor

@shweta83 Existing method is working, This PR is not necessary. I have updated the Robottelo PR; please take a look.

Great! So can we close this PR?

@amolpati30 amolpati30 closed this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches Stream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants