[FTR] Cleaned up removed apm_user role (#200680)

## Summary

Cleaned up check for removed `apm_user` role, see
https://github.com/elastic/elasticsearch/pull/116712


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_node:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)


__Closes:  https://github.com/elastic/kibana/issues/200667__
This commit is contained in:
Elena Shostak 2024-11-19 11:32:19 +01:00 committed by GitHub
parent efc0568e01
commit d78b265423
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
confirm_password: 'password',
full_name: 'a11y user',
email: 'example@example.com',
roles: ['apm_user'],
roles: ['editor'],
});
await testSubjects.click('rolesDropdown');
await a11y.testAppSnapshot();
@ -75,7 +75,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
confirm_password: 'password',
full_name: 'DeleteA11y user',
email: 'example@example.com',
roles: ['apm_user'],
roles: ['editor'],
});
await testSubjects.click('checkboxSelectRow-deleteA11y');
await a11y.testAppSnapshot();