From 4a144ef44f8dbdf7f7f29264033fd8b1cbd094c0 Mon Sep 17 00:00:00 2001 From: animehart Date: Sun, 21 Jan 2024 14:38:51 -0800 Subject: [PATCH] ftr fix --- .../test/cloud_security_posture_functional/pages/rules.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/x-pack/test/cloud_security_posture_functional/pages/rules.ts b/x-pack/test/cloud_security_posture_functional/pages/rules.ts index f2656b5a61678f..f3960237a9edf6 100644 --- a/x-pack/test/cloud_security_posture_functional/pages/rules.ts +++ b/x-pack/test/cloud_security_posture_functional/pages/rules.ts @@ -157,13 +157,12 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('Table should only show result that passes both Section and Rule number filter', async () => { await rule.rulePage.clickFilterPopover('section'); - await rule.rulePage.clickFilterPopOverOption('etcd'); - await rule.rulePage.clickFilterPopOverOption('Scheduler'); + await rule.rulePage.clickFilterPopOverOption('Control Plane Node Configuration Files'); await rule.rulePage.clickFilterPopover('section'); await rule.rulePage.clickFilterPopover('ruleNumber'); - await rule.rulePage.filterTextInput(RULE_NUMBER_FILTER_SEARCH_FIELD, '1.4.2'); + await rule.rulePage.filterTextInput(RULE_NUMBER_FILTER_SEARCH_FIELD, '1.1.5'); await pageObjects.header.waitUntilLoadingHasFinished(); - await rule.rulePage.clickFilterPopOverOption('1.4.2'); + await rule.rulePage.clickFilterPopOverOption('1.1.5'); expect((await rule.rulePage.getEnableRulesRowSwitchButton()) === 1).to.be(true); }); });