Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [FTR Tests] Remove unnescessary admin logins (#201769) #202104

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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