Unskip Data View editor example test (#118352)

This commit is contained in:
Anton Dosov 2021-11-15 15:17:13 +01:00 committed by GitHub
parent 22223027a4
commit 8b37deaf11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -230,7 +230,7 @@ export class DataViewsService {
* @param force
*/
setDefault = async (id: string | null, force = false) => {
if (force || !this.config.get('defaultIndex')) {
if (force || !(await this.config.get('defaultIndex'))) {
await this.config.set('defaultIndex', id);
}
};

View file

@ -14,6 +14,7 @@ export default function ({
getPageObjects,
loadTestFile,
}: PluginFunctionalProviderContext) {
const esArchiver = getService('esArchiver');
const browser = getService('browser');
const es = getService('es');
const PageObjects = getPageObjects(['common', 'header', 'settings']);
@ -21,6 +22,7 @@ export default function ({
describe('index pattern field editor example', function () {
this.tags('ciGroup2');
before(async () => {
await esArchiver.emptyKibanaIndex();
await browser.setWindowSize(1300, 900);
await es.transport.request({
path: '/blogs/_doc',

View file

@ -12,8 +12,7 @@ import { PluginFunctionalProviderContext } from 'test/plugin_functional/services
export default function ({ getService }: PluginFunctionalProviderContext) {
const testSubjects = getService('testSubjects');
// FAILING: https://github.com/elastic/kibana/issues/116463
describe.skip('', () => {
describe('', () => {
it('finds an index pattern', async () => {
await testSubjects.existOrFail('indexPatternTitle');
});