Skip to content

Commit

Permalink
[FTR Tests] Remove unnescessary admin logins (elastic#201769)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedhamed-ahmed authored Nov 28, 2024
1 parent 8d8e907 commit bcbaef3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
getLogsForDataset({ to, count: 10, dataset: bitbucketDatasetName }),
]);

await PageObjects.svlCommonPage.loginAsAdmin();
await PageObjects.svlCommonPage.loginAsViewer();
});

after(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
describe('Dataset quality summary', () => {
before(async () => {
await synthtrace.index(getInitialTestLogs({ to, count: 4 }));
await PageObjects.svlCommonPage.loginAsAdmin();
await PageObjects.svlCommonPage.loginAsViewer();
await PageObjects.datasetQuality.navigateTo();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('extension getAppMenu', () => {
before(async () => {
await svlCommonPage.loginAsAdmin();
await svlCommonPage.loginAsViewer();
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('extension getCellRenderers', () => {
before(async () => {
await PageObjects.svlCommonPage.loginAsAdmin();
await PageObjects.svlCommonPage.loginAsViewer();
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('extension getDocViewer', () => {
before(async () => {
await PageObjects.svlCommonPage.loginAsAdmin();
await PageObjects.svlCommonPage.loginAsViewer();
});

describe('ES|QL mode', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('extension getRowIndicatorProvider', () => {
before(async () => {
await PageObjects.svlCommonPage.loginAsAdmin();
await PageObjects.svlCommonPage.loginAsViewer();
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
});

Expand Down

0 comments on commit bcbaef3

Please sign in to comment.