[6.15.z] [E2E] Recalculate applicability before UI session, fix navigation failure #14110
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherrypick of PR: #14095
Problem Statement
UI::Errata::test_end_to_end[rhel7, 8, 9]
.AssertionError
, now failing to navigate to[Details]
at Ln405:
assert session.contenthost.search_content_hosts(...)
The page is blank when the test fails,
assert
does not give the method enough time for a loaded page.Also put up a very small change for the
search_content_hosts()
method- Airgun#1240.Solution
session.contenthost .errata
methods, store the method result as a variable, giving time in case the page is slow, UI elements are not loaded yet.Then assert upon the variable (typically some sort of response) or expected outcome (generated task(s) etc).
PRT Case