Skip to content

Commit

Permalink
ftr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
animehart committed Jan 21, 2024
1 parent e220abc commit 4a144ef
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions x-pack/test/cloud_security_posture_functional/pages/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
Expand Down

0 comments on commit 4a144ef

Please sign in to comment.