Skip to content

Commit

Permalink
Index patterns on alias - reenable functional tests (elastic#71802)
Browse files Browse the repository at this point in the history
* reenable test
* nav to management
  • Loading branch information
mattkime committed Jul 23, 2020
1 parent d1171d4 commit b133509
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions test/functional/apps/management/_handle_alias.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export default function ({ getService, getPageObjects }) {
const security = getService('security');
const PageObjects = getPageObjects(['common', 'home', 'settings', 'discover', 'timePicker']);

// FLAKY: https://github.com/elastic/kibana/issues/59717
describe.skip('Index patterns on aliases', function () {
describe('Index patterns on aliases', function () {
before(async function () {
await security.testUser.setRoles(['kibana_admin', 'test_alias_reader']);
await esArchiver.loadIfNeeded('alias');
Expand All @@ -50,9 +49,8 @@ export default function ({ getService, getPageObjects }) {
});

it('should be able to create index pattern without time field', async function () {
await PageObjects.settings.createIndexPattern('alias1', null);
const patternName = await PageObjects.settings.getIndexPageHeading();
expect(patternName).to.be('alias1*');
await PageObjects.settings.navigateTo();
await PageObjects.settings.createIndexPattern('alias1*', null);
});

it('should be able to discover and verify no of hits for alias1', async function () {
Expand All @@ -64,9 +62,8 @@ export default function ({ getService, getPageObjects }) {
});

it('should be able to create index pattern with timefield', async function () {
await PageObjects.settings.createIndexPattern('alias2', 'date');
const patternName = await PageObjects.settings.getIndexPageHeading();
expect(patternName).to.be('alias2*');
await PageObjects.settings.navigateTo();
await PageObjects.settings.createIndexPattern('alias2*', 'date');
});

it('should be able to discover and verify no of hits for alias2', async function () {
Expand Down

0 comments on commit b133509

Please sign in to comment.