Skip to content

Commit

Permalink
Rename test file names
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Aug 17, 2020
1 parent 0854124 commit bbff4a3
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export default function (providerContext: FtrProviderContext) {
expect(checkinApiResponse.success).to.eql(true);
expect(checkinApiResponse.actions).length(1);
expect(checkinApiResponse.actions[0].type).be('CONFIG_CHANGE');
const configChangeAction = checkinApiResponse.actions[0];
const defaultOutputApiKey = configChangeAction.data.config.outputs.default.api_key;
const policyChangeAction = checkinApiResponse.actions[0];
const defaultOutputApiKey = policyChangeAction.data.config.outputs.default.api_key;

// Ack actions
const { body: ackApiResponse } = await supertestWithoutAuth
Expand All @@ -94,7 +94,7 @@ export default function (providerContext: FtrProviderContext) {
type: 'ACTION_RESULT',
subtype: 'ACKNOWLEDGED',
timestamp: '2019-01-04T14:32:03.36764-05:00',
action_id: configChangeAction.id,
action_id: policyChangeAction.id,
agent_id: enrollmentResponse.item.id,
message: 'hello',
payload: 'payload',
Expand Down
8 changes: 4 additions & 4 deletions x-pack/test/ingest_manager_api_integration/apis/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export default function ({ loadTestFile }) {
loadTestFile(require.resolve('./epm/index'));

// Package policies
loadTestFile(require.resolve('./package_config/create'));
loadTestFile(require.resolve('./package_config/update'));
loadTestFile(require.resolve('./package_config/get'));
loadTestFile(require.resolve('./package_policy/create'));
loadTestFile(require.resolve('./package_policy/update'));
loadTestFile(require.resolve('./package_policy/get'));

// Agent policies
loadTestFile(require.resolve('./agent_config/index'));
loadTestFile(require.resolve('./agent_policy/index'));
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { pageObjects as xpackFunctionalPageObjects } from '../../functional/page
import { EndpointPageProvider } from './endpoint_page';
import { EndpointPolicyPageProvider } from './policy_page';
import { EndpointPageUtils } from './page_utils';
import { IngestManagerCreatePackagePolicy } from './ingest_manager_create_package_config_page';
import { IngestManagerCreatePackagePolicy } from './ingest_manager_create_package_policy_page';

export const pageObjects = {
...xpackFunctionalPageObjects,
Expand Down

0 comments on commit bbff4a3

Please sign in to comment.