-
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
[comp-eval] UI>content>errata tab, Pagination testing #13767
[comp-eval] UI>content>errata tab, Pagination testing #13767
Conversation
14de062
to
26145ec
Compare
trigger: test-robottelo |
26145ec
to
087636e
Compare
trigger: test-robottelo |
087636e
to
64efaf9
Compare
trigger: test-robottelo |
2746989
to
2124454
Compare
trigger: test-robottelo |
1 similar comment
trigger: test-robottelo |
598307d
to
cf797ed
Compare
trigger: test-robottelo |
cf797ed
to
ac03530
Compare
trigger: test-robottelo |
c5d3e43
to
dea198c
Compare
trigger: test-robottelo |
dea198c
to
6a7ecf1
Compare
trigger: test-robottelo |
6a7ecf1
to
d8920cf
Compare
trigger: test-robottelo |
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.
one minor request. well done
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.
ACK pending docstring fix. nice stuff
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.
Request to remove assersion condition from test module, because it is already handled inside fixture
tests/foreman/ui/test_errata.py
Outdated
module_lce, | ||
) | ||
registered_contenthost.add_rex_key(satellite=module_target_sat) | ||
assert registered_contenthost.subscribed |
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.
This is not require, as subscription status already asserted inside registered_contenthost
fixture after registration of content host.
assert registered_contenthost.subscribed |
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.
LGTM, one non-blocking comment.
tests/foreman/ui/test_errata.py
Outdated
|
||
activation_key = errata_host_ak.read() |
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.
This read could be done and returned by the fixture already on L218.
wait_for() reload of errata tab, handle pagination exceptions Clarify comments
d8920cf
to
8e241f5
Compare
trigger: test-robottelo |
1 similar comment
trigger: test-robottelo |
Update Errata UI Pagination testing
Implement
legacy contenthost UI > errata page
,to
new host UI > content > errata tab
.Handle Failure: expected updated pagination, but remains the same:
applicable_errata_count
for the host has already updated after some install, but pagination on the table remains the same as before. I usedwait_for
to give thenew host>content>errata tab
time to reload with updated entries /total_items/total_pages etc. Timeout set for 30s on the tab loading new table and pagination, in case satellite is slow.Affected tests and PRT case:
test_content_host_errata_page_pagination
renamed totest_host_content_errata_tab_pagination
test_end_to_end
by modifying fixtureregistered_contenthost