[ObsUX][LogsUX] Split infra directory tests ownership (#171166)

## 📓 Summary

Closes #170938 

This work split the `test/functional/apps/infra` test folder accordingly
with the new ownership.

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
This commit is contained in:
Marco Antonio Ghiani 2023-11-14 17:04:02 +01:00 committed by GitHub
parent 4b1d6e47a0
commit 0592518a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 15 deletions

3
.github/CODEOWNERS vendored
View file

@ -989,7 +989,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-visualizations
/x-pack/plugins/infra/public/common @elastic/obs-ux-infra_services-team
/x-pack/plugins/infra/public/observability_logs @elastic/obs-ux-logs-team
/x-pack/plugins/infra/public/services @elastic/obs-ux-infra_services-team
/x-pack/test/functional/apps/infra @elastic/infra-monitoring-ui @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
/x-pack/test/functional/apps/infra @elastic/infra-monitoring-ui @elastic/obs-ux-infra_services-team
/x-pack/test/functional/apps/infra/logs @elastic/infra-monitoring-ui @elastic/obs-ux-logs-team
/x-pack/test/api_integration/apis/infra @elastic/infra-monitoring-ui @elastic/obs-ux-infra_services-team
# Observability UX management team

View file

@ -23,12 +23,12 @@ export default ({ loadTestFile }: FtrProviderContext) => {
});
describe('Logs UI', function () {
loadTestFile(require.resolve('./log_entry_categories_tab'));
loadTestFile(require.resolve('./log_entry_rate_tab'));
loadTestFile(require.resolve('./logs_source_configuration'));
loadTestFile(require.resolve('./log_stream_date_nano'));
loadTestFile(require.resolve('./link_to'));
loadTestFile(require.resolve('./log_stream'));
loadTestFile(require.resolve('./logs/log_entry_categories_tab'));
loadTestFile(require.resolve('./logs/log_entry_rate_tab'));
loadTestFile(require.resolve('./logs/logs_source_configuration'));
loadTestFile(require.resolve('./logs/log_stream_date_nano'));
loadTestFile(require.resolve('./logs/link_to'));
loadTestFile(require.resolve('./logs/log_stream'));
});
});
};

View file

@ -7,7 +7,7 @@
import expect from '@kbn/expect';
import { URL } from 'url';
import { FtrProviderContext } from '../../ftr_provider_context';
import { FtrProviderContext } from '../../../ftr_provider_context';
const ONE_HOUR = 60 * 60 * 1000;
const LOG_VIEW_ID = 'testView';

View file

@ -7,7 +7,7 @@
import expect from '@kbn/expect';
import { FtrProviderContext } from '../../ftr_provider_context';
import { FtrProviderContext } from '../../../ftr_provider_context';
export default ({ getService }: FtrProviderContext) => {
const esArchiver = getService('esArchiver');

View file

@ -7,7 +7,7 @@
import expect from '@kbn/expect';
import { FtrProviderContext } from '../../ftr_provider_context';
import { FtrProviderContext } from '../../../ftr_provider_context';
export default ({ getService }: FtrProviderContext) => {
const logsUi = getService('logsUi');

View file

@ -7,7 +7,7 @@
import expect from '@kbn/expect';
import { URL } from 'url';
import { FtrProviderContext } from '../../ftr_provider_context';
import { FtrProviderContext } from '../../../ftr_provider_context';
const SERVICE_ID = '49a18510598271e924253ed2581d7ada';

View file

@ -7,8 +7,8 @@
import expect from '@kbn/expect';
import { URL } from 'url';
import { FtrProviderContext } from '../../ftr_provider_context';
import { DATES } from './constants';
import { FtrProviderContext } from '../../../ftr_provider_context';
import { DATES } from '../constants';
export default ({ getPageObjects, getService }: FtrProviderContext) => {
const retry = getService('retry');

View file

@ -10,9 +10,9 @@ import {
ELASTIC_HTTP_VERSION_HEADER,
X_ELASTIC_INTERNAL_ORIGIN_REQUEST,
} from '@kbn/core-http-common';
import { DATES } from './constants';
import { DATES } from '../constants';
import { FtrProviderContext } from '../../ftr_provider_context';
import { FtrProviderContext } from '../../../ftr_provider_context';
const COMMON_REQUEST_HEADERS = {
'kbn-xsrf': 'some-xsrf-token',