From d9a3ced84ec81dc707d99f8e518257baf6228353 Mon Sep 17 00:00:00 2001 From: Jen Huang Date: Wed, 5 Aug 2020 19:41:09 -0700 Subject: [PATCH] Fix tests --- .../custom_rule_with_timeline/mappings.json | 12 ++++++------ .../apps/endpoint/policy_details.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/x-pack/test/security_solution_cypress/es_archives/custom_rule_with_timeline/mappings.json b/x-pack/test/security_solution_cypress/es_archives/custom_rule_with_timeline/mappings.json index 693878a88f899..5034a9235ce6d 100644 --- a/x-pack/test/security_solution_cypress/es_archives/custom_rule_with_timeline/mappings.json +++ b/x-pack/test/security_solution_cypress/es_archives/custom_rule_with_timeline/mappings.json @@ -33,8 +33,8 @@ "graph-workspace": "cd7ba1330e6682e9cc00b78850874be1", "index-pattern": "66eccb05066c5a89924f48a9e9736499", "infrastructure-ui-source": "ddc0ecb18383f6b26101a2fadb2dab0c", - "ingest-agent-configs": "d9a5cbdce8e937f674a7b376c47a34a1", - "ingest-package-configs": "c0fe6347b0eebcbf421841669e3acd31", + "ingest-agent-policies": "d9a5cbdce8e937f674a7b376c47a34a1", + "ingest-package-policies": "c0fe6347b0eebcbf421841669e3acd31", "ingest-outputs": "0e57221778a7153c8292edf154099036", "ingest_manager_settings": "c5b0749b4ab03c582efd4c14cb8f132c", "inventory-view": "88fc7e12fd1b45b6f0787323ce4f18d2", @@ -2066,7 +2066,7 @@ } } }, - "ingest-agent-configs": { + "ingest-agent-policies": { "properties": { "datasources": { "type": "keyword" @@ -2103,7 +2103,7 @@ } } }, - "ingest-package-configs": { + "ingest-package-policies": { "properties": { "config_id": { "type": "keyword" @@ -2597,7 +2597,7 @@ }, "type": "text" }, - "ingest-agent-configs": { + "ingest-agent-policies": { "fields": { "keyword": { "ignore_above": 256, @@ -2606,7 +2606,7 @@ }, "type": "text" }, - "ingest-package-configs": { + "ingest-package-policies": { "fields": { "keyword": { "ignore_above": 256, diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts index 62ffd15e1488f..2f0a2482da5b8 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts @@ -27,7 +27,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await pageObjects.policy.navigateToPolicyDetails('invalid-id'); await testSubjects.existOrFail('policyDetailsIdNotFoundMessage'); expect(await testSubjects.getVisibleText('policyDetailsIdNotFoundMessage')).to.equal( - 'Saved object [ingest-package-configs/invalid-id] not found' + 'Saved object [ingest-package-policies/invalid-id] not found' ); }); });