-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Stack monitoring] Fix clusters functional tests when react is enabled #114982
[Stack monitoring] Fix clusters functional tests when react is enabled #114982
Conversation
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
@@ -299,7 +299,7 @@ <h1 class="euiTitle euiTitle--xsmall">{{pageTitle || monitoringMain.instance}}</ | |||
</div> | |||
|
|||
<div ng-if="monitoringMain.inOverview" class="euiTabs" role="navigation"> | |||
<a class="euiTab" data-test-subj="clusterName">{{ pageData.cluster_name }}</a> |
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.
Since the page structure is different in react and in angular, I changed the test-subj
to be more specific so tests works in both versions.
Will these changes fix the current failing test related to the cluster listing? https://github.com/elastic/kibana/pull/114436/checks?check_run_id=3895050323 |
@neptunian I think so, I got the same test failing locally before fixing the pathname check. |
elastic#114982) * Fix test subjects for overview page * fix pathname matching
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
#114982) (#115012) * Fix test subjects for overview page * fix pathname matching Co-authored-by: Ester Martí Vilaseca <[email protected]>
Summary
Closes #114821
Reviewer notes
render_react_app
to truenode scripts/functional_test_runner --config x-pack/test/functional/config.js --grep "Monitoring app Cluster"
to execute only cluster listing and cluster overview page.