mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fix Failing test: Chrome UI Functional Tests.test/functional/apps/dashboard/group1/embeddable_rendering·ts (#149886)
Fixes https://github.com/elastic/kibana/issues/132865 flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1823 Failing tests did not provide anything useful in screen shot or debug logs. PR adds more logging and scrolls to pie chart so if test continues to be flaky, hopefully logs and screen shot can provide better data to investigate --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
ace2c30c29
commit
2fb8620240
1 changed files with 3 additions and 0 deletions
|
@ -207,10 +207,13 @@ export class PieChartService extends FtrService {
|
|||
}
|
||||
|
||||
async getSliceCountForAllPies() {
|
||||
this.log.debug('PieChart.getSliceCountForAllPies');
|
||||
let pieSlices = 0;
|
||||
const charts =
|
||||
(await this.visChart.getAllESChartsDebugDataByTestSubj(partitionVisChartSelector)) ?? [];
|
||||
this.log.debug(`Found ${charts.length} charts`);
|
||||
for (const chart of charts) {
|
||||
await chart.moveMouseTo();
|
||||
const visContainer = await chart.findByCssSelector('.echChartStatus');
|
||||
const debugDataString: string | undefined = await visContainer.getAttribute(
|
||||
'data-ech-debug-state'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue