mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Lens] Fix add to dashboard functional test flakiness (#111887)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
458a57939b
commit
2262cac584
2 changed files with 3 additions and 23 deletions
|
@ -62,8 +62,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await PageObjects.lens.assertMetric('Maximum of bytes', '19,986');
|
||||
};
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/111628
|
||||
describe.skip('lens add-to-dashboards tests', () => {
|
||||
describe('lens add-to-dashboards tests', () => {
|
||||
it('should allow new lens to be added by value to a new dashboard', async () => {
|
||||
await createNewLens();
|
||||
await PageObjects.lens.save('New Lens from Modal', false, false, false, 'new');
|
||||
|
@ -238,17 +237,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
|
||||
// issue #111104
|
||||
it('should add a Lens heatmap to the dashboard', async () => {
|
||||
await PageObjects.common.navigateToApp('dashboard');
|
||||
await PageObjects.dashboard.clickNewDashboard();
|
||||
|
||||
await PageObjects.dashboard.saveDashboard('My Wonderful Heatmap dashboard');
|
||||
await PageObjects.dashboard.gotoDashboardLandingPage();
|
||||
await listingTable.searchAndExpectItemsCount(
|
||||
'dashboard',
|
||||
'My Wonderful Heatmap dashboard',
|
||||
1
|
||||
);
|
||||
|
||||
await PageObjects.visualize.navigateToNewVisualization();
|
||||
await PageObjects.visualize.clickVisType('lens');
|
||||
await PageObjects.lens.goToTimeRange();
|
||||
|
@ -275,14 +263,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
await testSubjects.click('lnsPalettePanel_dynamicColoring_rangeType_groups_number');
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
||||
await PageObjects.lens.save(
|
||||
'New Lens Heatmap',
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
'existing',
|
||||
'My Wonderful Heatmap dashboard'
|
||||
);
|
||||
await PageObjects.lens.save('New Lens Heatmap', false, false, true, 'new');
|
||||
|
||||
await PageObjects.dashboard.waitForRenderComplete();
|
||||
|
||||
|
|
|
@ -11,8 +11,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';
|
|||
export default function ({ getPageObjects }: FtrProviderContext) {
|
||||
const PageObjects = getPageObjects(['visualize', 'lens', 'common', 'header']);
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/108352
|
||||
describe.skip('lens drag and drop tests', () => {
|
||||
describe('lens drag and drop tests', () => {
|
||||
describe('basic drag and drop', () => {
|
||||
it('should construct the basic split xy chart', async () => {
|
||||
await PageObjects.visualize.navigateToNewVisualization();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue