-
Notifications
You must be signed in to change notification settings - Fork 115
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.15.z-alernative solution for default subscription search option #15237
6.15.z-alernative solution for default subscription search option #15237
Conversation
trigger: test-robottelo |
8552edc
to
483590c
Compare
trigger: test-robottelo |
PRT Result
|
PRT Result
|
trigger: test-robottelo |
PRT Result
|
Test passed locally several time, it is failing in CI while reading subscription table.
|
|
PRT Result
|
|
PRT Result
|
|
PRT Result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pending Airgun merge
|
PRT Result
|
|
PRT Result
|
Problem Statement
test_positive_access_with_non_admin_user_with_manifest
from UI > test_subscription.py was failing due to wrong (empty search) result, search box xpath was incorrect and gave below error.Error:
E TypeError: 'NoneType' object is not subscriptable
Solution
session.subscription.search(f'name = "{DEFAULT_SUBSCRIPTION_NAME}"')[0]['Name']
this part searches correctly but returns all present subsriptions from Subscription page instead ofRed Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes)
, also returnsRed Hat Beta Access
as 0th entryRelated Issues
SatelliteQE/airgun#1405
PRT test Cases example
trigger: test-robottelo
pytest: tests/foreman/ui/test_subscription.py -k 'test_positive_access_with_non_admin_user_with_manifest'