Skips serverless role management tests (#206824)

## Summary

Recently enabled ES flag in QA (see
https://github.com/elastic/serverless-gitops/pull/6185), caused Kibana
to begin rendering predefined roles on the roles management page. This
caused QA test failures. Skipping these tests will eliminate the noise
in the QA test alert channel while we resolve the issue.

Solution will be to make all predefined roles reserved so we can ensure
they are not rendered in Kibana.

cc @wayneseymour
This commit is contained in:
Jeramy Soucy 2025-01-15 19:40:01 +01:00 committed by GitHub
parent d74a6674ca
commit 31cbf2980f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -45,6 +45,8 @@ export default function ({ getService }: FtrProviderContext) {
let supertestAdminWithApiKey: SupertestWithRoleScopeType;
describe('security/authorization', function () {
this.tags(['failsOnMKI']);
before(async function () {
supertestAdminWithCookieCredentials = await roleScopedSupertest.getSupertestWithRoleScope(
'admin',

View file

@ -22,7 +22,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
// custom roles are not enabled for observability projects
this.tags(['skipSvlOblt']);
describe('as Viewer', () => {
describe('as Viewer', function () {
before(async () => {
await pageObjects.svlCommonPage.loginAsViewer();
await pageObjects.common.navigateToApp('management');
@ -33,7 +33,9 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});
});
describe('as Admin', () => {
describe('as Admin', function () {
this.tags(['failsOnMKI']);
before(async () => {
await pageObjects.svlCommonPage.loginAsAdmin();
await pageObjects.common.navigateToApp('management');