mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Unskip Data View editor example test (#118352)
This commit is contained in:
parent
22223027a4
commit
8b37deaf11
3 changed files with 4 additions and 3 deletions
|
@ -230,7 +230,7 @@ export class DataViewsService {
|
||||||
* @param force
|
* @param force
|
||||||
*/
|
*/
|
||||||
setDefault = async (id: string | null, force = false) => {
|
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);
|
await this.config.set('defaultIndex', id);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,6 +14,7 @@ export default function ({
|
||||||
getPageObjects,
|
getPageObjects,
|
||||||
loadTestFile,
|
loadTestFile,
|
||||||
}: PluginFunctionalProviderContext) {
|
}: PluginFunctionalProviderContext) {
|
||||||
|
const esArchiver = getService('esArchiver');
|
||||||
const browser = getService('browser');
|
const browser = getService('browser');
|
||||||
const es = getService('es');
|
const es = getService('es');
|
||||||
const PageObjects = getPageObjects(['common', 'header', 'settings']);
|
const PageObjects = getPageObjects(['common', 'header', 'settings']);
|
||||||
|
@ -21,6 +22,7 @@ export default function ({
|
||||||
describe('index pattern field editor example', function () {
|
describe('index pattern field editor example', function () {
|
||||||
this.tags('ciGroup2');
|
this.tags('ciGroup2');
|
||||||
before(async () => {
|
before(async () => {
|
||||||
|
await esArchiver.emptyKibanaIndex();
|
||||||
await browser.setWindowSize(1300, 900);
|
await browser.setWindowSize(1300, 900);
|
||||||
await es.transport.request({
|
await es.transport.request({
|
||||||
path: '/blogs/_doc',
|
path: '/blogs/_doc',
|
||||||
|
|
|
@ -12,8 +12,7 @@ import { PluginFunctionalProviderContext } from 'test/plugin_functional/services
|
||||||
export default function ({ getService }: PluginFunctionalProviderContext) {
|
export default function ({ getService }: PluginFunctionalProviderContext) {
|
||||||
const testSubjects = getService('testSubjects');
|
const testSubjects = getService('testSubjects');
|
||||||
|
|
||||||
// FAILING: https://github.com/elastic/kibana/issues/116463
|
describe('', () => {
|
||||||
describe.skip('', () => {
|
|
||||||
it('finds an index pattern', async () => {
|
it('finds an index pattern', async () => {
|
||||||
await testSubjects.existOrFail('indexPatternTitle');
|
await testSubjects.existOrFail('indexPatternTitle');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue