Skip to content

Use the test_user with required privileges for rollup functional ui tests #76563

@rashmivkulkarni

Description

@rashmivkulkarni

We are looking to convert xpack functional tests to login as a test_user with minimum set of privileges to the data and not use the elastic-superuser to login and perform the functional test. This exercise helps a great deal in running the test as a non-super-user. Need that conversion for tests under rollup_job .

here is the meta issue : #60815 ( has examples of conversion)

Task would be to just modify the existing tests. In theory, it should just be 2 lines in the test. One to setRoles and one to restoreRoles. And you might need to add a new role configuration to a config file. And part of this task is to also check the docs to see that we've explained the required privs when appropriate.

cc @LeeDr

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions