Skip to content

Commit

Permalink
[Discover] apply test_logstash_reader role
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Sep 1, 2021
1 parent 1cad152 commit 4500cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/apps/context/_size.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('context size', function contextSize() {
before(async function () {
await security.testUser.setRoles(['kibana_admin', 'test_logstash_reader']);
await kibanaServer.uiSettings.update({
'context:defaultSize': `${TEST_DEFAULT_CONTEXT_SIZE}`,
'context:step': `${TEST_STEP_SIZE}`,
});
await PageObjects.context.navigateTo(TEST_INDEX_PATTERN, TEST_ANCHOR_ID);
await security.testUser.setRoles(['kibana_admin', 'kibana_date_nanos']);
});

it('should default to the `context:defaultSize` setting', async function () {
Expand Down

0 comments on commit 4500cfb

Please sign in to comment.