Skip to content

Commit

Permalink
enable search sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Feb 11, 2021
1 parent a31cc73 commit 75908ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/data_enhanced/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const configSchema = schema.object({
/**
* Turns the feature on \ off (incl. removing indicator and management screens)
*/
enabled: schema.boolean({ defaultValue: false }),
enabled: schema.boolean({ defaultValue: true }),
/**
* pageSize controls how many search session objects we load at once while monitoring
* session completion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {

describe('no management privileges', () => {
before(async () => {
await security.testUser.setRoles(['global_dashboard_all'], true);
await security.testUser.setRoles(['global_dashboard_read'], true);
});
after(async () => {
await security.testUser.restoreDefaults();
Expand Down Expand Up @@ -68,7 +68,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
});
expect(sections[1]).to.eql({
sectionId: 'kibana',
sectionLinks: ['indexPatterns', 'objects', 'tags', 'spaces', 'settings'],
sectionLinks: [
'indexPatterns',
'objects',
'tags',
'search_sessions',
'spaces',
'settings',
],
});
});
});
Expand Down

0 comments on commit 75908ca

Please sign in to comment.