mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[TSVB] Unskip tsdb tests (#163471)
## Summary Closes https://github.com/elastic/kibana/issues/163454 Now ES doesnt error out for average aggregation in counter fields. So we can remove the test for this scenario
This commit is contained in:
parent
729acf76fd
commit
4fc9906c17
1 changed files with 1 additions and 12 deletions
|
@ -17,8 +17,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
const esArchiver = getService('esArchiver');
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/163454
|
||||
describe.skip('visual builder tsdb check', function describeIndexTests() {
|
||||
describe('visual builder tsdb check', function describeIndexTests() {
|
||||
before(async () => {
|
||||
log.info(`loading sample TSDB index...`);
|
||||
await esArchiver.load('test/functional/fixtures/es_archiver/kibana_sample_data_logs_tsdb');
|
||||
|
@ -62,15 +61,5 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
expect(isFieldForAggregationValid).to.be(true);
|
||||
expect(await testSubjects.exists('visualization-error-text')).to.be(false);
|
||||
});
|
||||
|
||||
it('should show an error when using an unsupported tsdb field type', async () => {
|
||||
await visualBuilder.selectAggType('Average');
|
||||
await visualBuilder.setFieldForAggregation('bytes_counter');
|
||||
// this is still returning true
|
||||
const isFieldForAggregationValid = await visualBuilder.checkFieldForAggregationValidity();
|
||||
expect(isFieldForAggregationValid).to.be(true);
|
||||
// but an error should appear in visualization
|
||||
expect(await testSubjects.exists('visualization-error-text')).to.be(true);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue