Skip to content

Commit

Permalink
ftr fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
animehart committed Jan 21, 2024
1 parent 4a144ef commit 390dfe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export function RulePagePageProvider({ getService, getPageObjects }: FtrProvider
},

clickFilterPopOverOption: async (value: string) => {
const chosenValue = await testSubjects.find('options-filter-popover-item-' + (await value));
const chosenValue = await testSubjects.find('options-filter-popover-item-' + value);
await chosenValue.click();
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ 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('Control Plane Node Configuration Files');
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.1.5');
Expand Down

0 comments on commit 390dfe9

Please sign in to comment.