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

parse package details page link and validate plus sign #16641

Conversation

vijaysawant
Copy link
Contributor

@vijaysawant vijaysawant commented Oct 10, 2024

Problem Statement

Customer Case - SAT-26967 - When clicking on the page in the web interface showing the details of a package, there are hyperlinks for "Installed On", "Applicable To" and "Upgradable For". When you click on any of those three links, they open search pages with a search term like this:

applicable_rpms=httpd-2.4.37-65.module+el8.10.0 22069 b47f5c72.1.x86_64

Solution

Provided fix along with airgun changes would solve this problem and parse link correctly
installed_package=httpd-2.4.37-65.module+el8.10.0+22069+b47f5c72.1.x86_64

Related Issues

Airgun PR - SatelliteQE/airgun#1593

PRT test Cases example

trigger: test-robottelo
pytest: tests/foreman/ui/test_package.py -k 'test_positive_parse_package_name_url'
airgun: 1593

@vijaysawant vijaysawant requested review from a team as code owners October 10, 2024 14:51
@vijaysawant vijaysawant added Stream Introduced in or relating directly to Satellite Stream/Master 6.16.z Introduced in or relating directly to Satellite 6.16 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing labels Oct 10, 2024
@vijaysawant vijaysawant added the CherryPick PR needs CherryPick to previous branches label Oct 10, 2024
@vijaysawant vijaysawant force-pushed the CC-SAT-26967-link-from-package-details-page-incorrectly-parse branch from 63e6cbe to 40a39d2 Compare October 10, 2024 15:29
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_package.py -k 'test_positive_parse_package_name_url'
airgun: 1593

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 8949
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_package.py -k test_positive_parse_package_name_url --external-logging
Test Result : ========== 1 passed, 5 deselected, 21 warnings in 1549.43s (0:25:49) ===========

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Oct 10, 2024
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_package.py -k 'test_positive_parse_package_name_url'
airgun: 1593

@LadislavVasina1 LadislavVasina1 removed the Auto_Cherry_Picked Automatically cherrypicked PR using GHA label Oct 14, 2024
@vijaysawant vijaysawant force-pushed the CC-SAT-26967-link-from-package-details-page-incorrectly-parse branch from 40a39d2 to c3a127e Compare October 15, 2024 08:26
@vijaysawant
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_package.py -k 'test_positive_parse_package_name_url'
airgun: 1593

@Satellite-QE Satellite-QE removed the PRT-Passed Indicates that latest PRT run is passed for the PR label Oct 15, 2024
@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Oct 15, 2024
@pondrejk pondrejk merged commit f17bd17 into SatelliteQE:master Oct 15, 2024
11 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 15, 2024
Copy link

trigger: test-robottelo
pytest: tests/foreman/ui/test_package.py -k 'test_positive_parse_package_name_url'
airgun: 1593

jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z Introduced in or relating directly to Satellite 6.16 AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing CherryPick PR needs CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR Stream Introduced in or relating directly to Satellite Stream/Master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants