Skip to content

Commit

Permalink
Rename space id for disabled index pattern test (#68990) (#69132)
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal authored Jun 15, 2020
1 parent 1244c9f commit 7f37666
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,19 +142,19 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
describe('space with index pattern management disabled', () => {
before(async () => {
await spacesService.create({
id: 'custom_space',
name: 'custom_space',
id: 'custom_space_no_index_patterns',
name: 'custom_space_no_index_patterns',
disabledFeatures: ['indexPatterns'],
});
});

after(async () => {
await spacesService.delete('custom_space');
await spacesService.delete('custom_space_no_index_patterns');
});

it('Navigates to Kibana home rather than index pattern management when no index patterns exist', async () => {
await PageObjects.common.navigateToUrl('discover', '', {
basePath: '/s/custom_space',
basePath: '/s/custom_space_no_index_patterns',
ensureCurrentUrl: false,
});
await testSubjects.existOrFail('homeApp', { timeout: config.get('timeouts.waitFor') });
Expand Down

0 comments on commit 7f37666

Please sign in to comment.