Skip to content

Commit

Permalink
[SharedUX] Don't use kibana_user role in functional tests (#205654)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tsullivan authored Jan 8, 2025
1 parent 37aa620 commit 5a3c914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/accessibility/apps/group3/reporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
};
Expand Down

0 comments on commit 5a3c914

Please sign in to comment.