[QA] Unskip functional tests (#69760)
* [functional tests] unskip dashboard state * [functional tests] unskip empty dashboard, reference ES issue * [functional tests] unskip data_table_nontime_index * [functional tests] unskip viz builder tests * link existing issue Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
f7acbbe7a1
commit
ec405931d2
|
@ -251,8 +251,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
});
|
||||
});
|
||||
|
||||
// Unskip once https://github.com/elastic/kibana/issues/15736 is fixed.
|
||||
it.skip('and updates the pie slice legend color', async function () {
|
||||
it('and updates the pie slice legend color', async function () {
|
||||
await retry.try(async () => {
|
||||
const colorExists = await PageObjects.visChart.doesSelectedLegendColorExist('#FFFFFF');
|
||||
expect(colorExists).to.be(true);
|
||||
|
@ -272,8 +271,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
});
|
||||
});
|
||||
|
||||
// Unskip once https://github.com/elastic/kibana/issues/15736 is fixed.
|
||||
it.skip('resets the legend color as well', async function () {
|
||||
it('resets the legend color as well', async function () {
|
||||
await retry.try(async () => {
|
||||
const colorExists = await PageObjects.visChart.doesSelectedLegendColorExist('#57c17b');
|
||||
expect(colorExists).to.be(true);
|
||||
|
|
|
@ -49,10 +49,11 @@ export default function ({ getService, getPageObjects }) {
|
|||
expect(emptyWidgetExists).to.be(true);
|
||||
});
|
||||
|
||||
it.skip('should open add panel when add button is clicked', async () => {
|
||||
it('should open add panel when add button is clicked', async () => {
|
||||
await testSubjects.click('dashboardAddPanelButton');
|
||||
const isAddPanelOpen = await dashboardAddPanel.isAddPanelOpen();
|
||||
expect(isAddPanelOpen).to.be(true);
|
||||
await testSubjects.click('euiFlyoutCloseButton');
|
||||
});
|
||||
|
||||
it('should add new visualization from dashboard', async () => {
|
||||
|
|
|
@ -35,7 +35,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await esArchiver.unload('invalid_scripted_field');
|
||||
});
|
||||
|
||||
// https://github.com/elastic/kibana/issues/61366
|
||||
// ES issue https://github.com/elastic/elasticsearch/issues/54235
|
||||
describe.skip('invalid scripted field error', () => {
|
||||
it('is rendered', async () => {
|
||||
const isFetchErrorVisible = await testSubjects.exists('discoverFetchError');
|
||||
|
|
|
@ -27,7 +27,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
const renderable = getService('renderable');
|
||||
const PageObjects = getPageObjects(['visualize', 'visEditor', 'header', 'visChart']);
|
||||
|
||||
describe.skip('data table with index without time filter', function indexPatternCreation() {
|
||||
describe('data table with index without time filter', function indexPatternCreation() {
|
||||
const vizName1 = 'Visualization DataTable without time filter';
|
||||
|
||||
before(async function () {
|
||||
|
@ -112,7 +112,9 @@ export default function ({ getService, getPageObjects }) {
|
|||
expect(data.trim().split('\n')).to.be.eql(['14,004 1,412.6']);
|
||||
});
|
||||
|
||||
it('should show correct data for a data table with date histogram', async () => {
|
||||
// bug https://github.com/elastic/kibana/issues/68977
|
||||
describe.skip('data table with date histogram', async () => {
|
||||
before(async () => {
|
||||
await PageObjects.visualize.navigateToNewVisualization();
|
||||
await PageObjects.visualize.clickDataTable();
|
||||
await PageObjects.visualize.clickNewSearch(
|
||||
|
@ -123,30 +125,11 @@ export default function ({ getService, getPageObjects }) {
|
|||
await PageObjects.visEditor.selectField('@timestamp');
|
||||
await PageObjects.visEditor.setInterval('Daily');
|
||||
await PageObjects.visEditor.clickGo();
|
||||
const data = await PageObjects.visChart.getTableVisData();
|
||||
log.debug(data.split('\n'));
|
||||
expect(data.trim().split('\n')).to.be.eql([
|
||||
'2015-09-20',
|
||||
'4,757',
|
||||
'2015-09-21',
|
||||
'4,614',
|
||||
'2015-09-22',
|
||||
'4,633',
|
||||
]);
|
||||
});
|
||||
|
||||
it('should show correct data for a data table with date histogram', async () => {
|
||||
await PageObjects.visualize.navigateToNewVisualization();
|
||||
await PageObjects.visualize.clickDataTable();
|
||||
await PageObjects.visualize.clickNewSearch(
|
||||
PageObjects.visualize.index.LOGSTASH_NON_TIME_BASED
|
||||
);
|
||||
await PageObjects.visEditor.clickBucket('Split rows');
|
||||
await PageObjects.visEditor.selectAggregation('Date Histogram');
|
||||
await PageObjects.visEditor.selectField('@timestamp');
|
||||
await PageObjects.visEditor.setInterval('Daily');
|
||||
await PageObjects.visEditor.clickGo();
|
||||
it('should show correct data', async () => {
|
||||
const data = await PageObjects.visChart.getTableVisData();
|
||||
log.debug(data.split('\n'));
|
||||
expect(data.trim().split('\n')).to.be.eql([
|
||||
'2015-09-20',
|
||||
'4,757',
|
||||
|
@ -173,4 +156,5 @@ export default function ({ getService, getPageObjects }) {
|
|||
expect(data.trim().split('\n')).to.be.eql(['2015-09-20', '4,757']);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
@ -28,8 +28,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const security = getService('security');
|
||||
const PageObjects = getPageObjects(['visualize', 'visualBuilder', 'timePicker', 'visChart']);
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/43150
|
||||
describe.skip('visual builder', function describeIndexTests() {
|
||||
describe('visual builder', function describeIndexTests() {
|
||||
this.tags('includeFirefox');
|
||||
beforeEach(async () => {
|
||||
await security.testUser.setRoles(['kibana_admin', 'test_logstash_reader']);
|
||||
|
@ -74,7 +73,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
});
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/46677
|
||||
describe('gauge', () => {
|
||||
beforeEach(async () => {
|
||||
await PageObjects.visualBuilder.resetPage();
|
||||
|
@ -107,7 +105,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
});
|
||||
});
|
||||
|
||||
describe('switch index patterns', () => {
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/43150
|
||||
describe.skip('switch index patterns', () => {
|
||||
beforeEach(async () => {
|
||||
log.debug('Load kibana_sample_data_flights data');
|
||||
await esArchiver.loadIfNeeded('kibana_sample_data_flights');
|
||||
|
|
Loading…
Reference in a new issue