Skip to content

Commit

Permalink
Skip async search tests in build candidates and production builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasolson committed Oct 22, 2020
1 parent 2af0ef3 commit 8ed091d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ import expect from '@kbn/expect';
import { FtrProviderContext } from '../../../ftr_provider_context';

export default function ({ getService, getPageObjects }: FtrProviderContext) {
const es = getService('es');
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['common', 'header', 'dashboard', 'visChart']);

describe('dashboard with async search', () => {
before(async function () {
const { body } = await es.info();
if (!body.version.number.includes('SNAPSHOT')) this.skip();
});

it('not delayed should load', async () => {
await PageObjects.common.navigateToApp('dashboard');
await PageObjects.dashboard.gotoDashboardEditMode('Not Delayed');
Expand Down

0 comments on commit 8ed091d

Please sign in to comment.