[Discover] Unskip flaky tests based on discover fixture index pattern (#82991)

This commit is contained in:
Matthias Wilhelm 2020-11-12 05:45:17 +01:00 committed by GitHub
parent 6f1fa74897
commit b44a0e5b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 11 deletions

View file

@ -20,7 +20,6 @@
import expect from '@kbn/expect';
export default function ({ getService, getPageObjects }) {
const log = getService('log');
const docTable = getService('docTable');
const filterBar = getService('filterBar');
const testSubjects = getService('testSubjects');
@ -28,15 +27,12 @@ export default function ({ getService, getPageObjects }) {
const esArchiver = getService('esArchiver');
const retry = getService('retry');
// FLAKY: https://github.com/elastic/kibana/issues/78373
describe.skip('doc link in discover', function contextSize() {
describe('doc link in discover', function contextSize() {
beforeEach(async function () {
log.debug('load kibana index with default index pattern');
await esArchiver.loadIfNeeded('discover');
await esArchiver.loadIfNeeded('logstash_functional');
await esArchiver.loadIfNeeded('discover');
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
await PageObjects.common.navigateToApp('discover');
await PageObjects.timePicker.setDefaultAbsoluteRange();
await PageObjects.discover.waitForDocTableLoadingComplete();
});

View file

@ -27,8 +27,7 @@ export default function ({ getService, getPageObjects }) {
const queryBar = getService('queryBar');
const PageObjects = getPageObjects(['common', 'header', 'discover', 'visualize', 'timePicker']);
// FLAKY: https://github.com/elastic/kibana/issues/78689
describe.skip('discover tab', function describeIndexTests() {
describe('discover tab', function describeIndexTests() {
this.tags('includeFirefox');
before(async function () {
await esArchiver.loadIfNeeded('logstash_functional');

View file

@ -34,8 +34,7 @@ export default function ({ getService, getPageObjects }) {
return hitsCountStatsRow[STATS_ROW_VALUE_INDEX];
}
// FLAKY: https://github.com/elastic/kibana/issues/39842
describe.skip('inspect', () => {
describe('inspect', () => {
before(async () => {
await esArchiver.loadIfNeeded('logstash_functional');
await esArchiver.load('discover');

File diff suppressed because one or more lines are too long