mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Update dependency @elastic/charts to v59 (main) (#160700)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@elastic/charts](https://togithub.com/elastic/elastic-charts) | [`58.2.0` -> `59.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/58.2.0/59.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>elastic/elastic-charts (@​elastic/charts)</summary> ### [`v59.0.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#​5900-httpsgithubcomelasticelastic-chartscomparev5821v5900-2023-06-27) [Compare Source](https://togithub.com/elastic/elastic-charts/compare/v58.2.1...v59.0.0) ##### Bug Fixes - **legend:** use reading direction sorting for stacked bar charts ([#​2080](https://togithub.com/elastic/elastic-charts/issues/2080)) ([be9c839](be9c83906a
)) ##### BREAKING CHANGES - **legend:** the sorting order of the legend is now inverted for stacked charts, following the reading direction of the legend (top-to-bottom in insertion order) #### [58.2.1](https://togithub.com/elastic/elastic-charts/compare/v58.2.0...v58.2.1) (2023-06-23) ##### Bug Fixes - remove unused redux dev tools ([#​2079](https://togithub.com/elastic/elastic-charts/issues/2079)) ([1870303](1870303880
)) ### [`v58.2.1`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#​5821-httpsgithubcomelasticelastic-chartscomparev5820v5821-2023-06-23) [Compare Source](https://togithub.com/elastic/elastic-charts/compare/v58.2.0...v58.2.1) ##### Bug Fixes - remove unused redux dev tools ([#​2079](https://togithub.com/elastic/elastic-charts/issues/2079)) ([1870303](1870303880
)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
277a2086bb
commit
a5ff6e6c76
6 changed files with 41 additions and 41 deletions
|
@ -34,7 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.discover.chooseBreakdownField('extension.raw');
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
const list = await PageObjects.discover.getHistogramLegendList();
|
||||
expect(list).to.eql(['Other', 'png', 'css', 'jpg']);
|
||||
expect(list).to.eql(['jpg', 'css', 'png', 'Other']);
|
||||
});
|
||||
|
||||
it('should add filter using histogram legend values', async () => {
|
||||
|
@ -55,7 +55,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.discover.loadSavedSearch('with breakdown');
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
const list = await PageObjects.discover.getHistogramLegendList();
|
||||
expect(list).to.eql(['Other', 'png', 'css', 'jpg']);
|
||||
expect(list).to.eql(['jpg', 'css', 'png', 'Other']);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -299,7 +299,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.visChart.waitForVisualizationRenderingStabilized();
|
||||
await PageObjects.visEditor.clickGo(true);
|
||||
|
||||
const expectedEntries = ['503', '404', '200']; // sorting aligned with rendered geometries
|
||||
const expectedEntries = ['200', '404', '503']; // sorting order aligned with the reading direction
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
});
|
||||
|
@ -309,7 +309,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.visEditor.selectCustomSortMetric(3, 'Min', 'bytes');
|
||||
await PageObjects.visEditor.clickGo(true);
|
||||
|
||||
const expectedEntries = ['503', '200', '404'];
|
||||
const expectedEntries = ['404', '200', '503'];
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
});
|
||||
|
@ -343,21 +343,21 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.visEditor.clickGo(true);
|
||||
|
||||
const expectedEntries = [
|
||||
'404 - win xp',
|
||||
'404 - win 8',
|
||||
'404 - win 7',
|
||||
'404 - osx',
|
||||
'503 - win xp',
|
||||
'503 - win 8',
|
||||
'503 - win 7',
|
||||
'503 - osx',
|
||||
'503 - ios',
|
||||
'404 - ios',
|
||||
'200 - win 7',
|
||||
'200 - osx',
|
||||
'200 - ios',
|
||||
'200 - win xp',
|
||||
'200 - win 8',
|
||||
'200 - win xp',
|
||||
'200 - ios',
|
||||
'200 - osx',
|
||||
'200 - win 7',
|
||||
'404 - ios',
|
||||
'503 - ios',
|
||||
'503 - osx',
|
||||
'503 - win 7',
|
||||
'503 - win 8',
|
||||
'503 - win xp',
|
||||
'404 - osx',
|
||||
'404 - win 7',
|
||||
'404 - win 8',
|
||||
'404 - win xp',
|
||||
];
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
|
@ -369,7 +369,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.visEditor.toggleDisabledAgg(3);
|
||||
await PageObjects.visEditor.clickGo(true);
|
||||
|
||||
const expectedEntries = ['win 7', 'osx', 'ios', 'win xp', 'win 8'];
|
||||
const expectedEntries = ['win 8', 'win xp', 'ios', 'osx', 'win 7'];
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
});
|
||||
|
|
|
@ -184,7 +184,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.visEditor.clickGo(true);
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
||||
const expectedEntries = ['503', '404', '200']; // sorting aligned with rendered geometries
|
||||
const expectedEntries = ['200', '404', '503']; // sorting order aligned with reading direction top-bottom
|
||||
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
|
@ -212,21 +212,21 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
||||
const expectedEntries = [
|
||||
'404 - win xp',
|
||||
'404 - win 8',
|
||||
'404 - win 7',
|
||||
'404 - osx',
|
||||
'503 - win xp',
|
||||
'503 - win 8',
|
||||
'503 - win 7',
|
||||
'503 - osx',
|
||||
'503 - ios',
|
||||
'404 - ios',
|
||||
'200 - win 7',
|
||||
'200 - osx',
|
||||
'200 - ios',
|
||||
'200 - win xp',
|
||||
'200 - win 8',
|
||||
'200 - win xp',
|
||||
'200 - ios',
|
||||
'200 - osx',
|
||||
'200 - win 7',
|
||||
'404 - ios',
|
||||
'503 - ios',
|
||||
'503 - osx',
|
||||
'503 - win 7',
|
||||
'503 - win 8',
|
||||
'503 - win xp',
|
||||
'404 - osx',
|
||||
'404 - win 7',
|
||||
'404 - win 8',
|
||||
'404 - win xp',
|
||||
];
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
|
@ -237,7 +237,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.visEditor.clickGo(true);
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
||||
const expectedEntries = ['win 7', 'osx', 'ios', 'win xp', 'win 8'];
|
||||
const expectedEntries = ['win 8', 'win xp', 'ios', 'osx', 'win 7'];
|
||||
const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector);
|
||||
expect(legendEntries).to.eql(expectedEntries);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue