mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Discover] Add permissions for context size
test (#109391)
* [Discover] add permissions for flaky context test * [Discover] apply test_logstash_reader role Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
4eefa8531c
commit
0d009438d1
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ const TEST_STEP_SIZE = 2;
|
|||
|
||||
export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||
const kibanaServer = getService('kibanaServer');
|
||||
const security = getService('security');
|
||||
const retry = getService('retry');
|
||||
const docTable = getService('docTable');
|
||||
const browser = getService('browser');
|
||||
|
@ -23,6 +24,7 @@ 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}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue