mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[SharedUX] Don't use kibana_user
role in functional tests (#205654)
In this PR I've moved a functional test to use the `kibana_admin` role, rather than `kibana_user`, to avoid usage of deprecated ES API. https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7660
This commit is contained in:
parent
37aa620765
commit
5a3c914e7b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const createReportingUser = async () => {
|
||||
await security.user.create(reporting.REPORTING_USER_USERNAME, {
|
||||
password: reporting.REPORTING_USER_PASSWORD,
|
||||
roles: ['data_analyst', 'kibana_user'],
|
||||
roles: ['data_analyst', 'kibana_admin'],
|
||||
full_name: 'a reporting user',
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue