Skip to content

Commit

Permalink
Addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiWu committed May 5, 2022
1 parent f471f5c commit ba58a6e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -639,33 +639,33 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
// Select enabled
await testSubjects.click('ruleStatusFilterButton');
await testSubjects.click('ruleStatusFilterOption-enabled');
await testSubjects.waitForDeleted('.euiBasicTable-loading');
await find.waitForDeletedByCssSelector('.euiBasicTable-loading');

await assertRulesLength(1);

// Select disabled
await testSubjects.click('ruleStatusFilterOption-enabled');
await testSubjects.click('ruleStatusFilterOption-disabled');
await testSubjects.waitForDeleted('.euiBasicTable-loading');
await find.waitForDeletedByCssSelector('.euiBasicTable-loading');

await assertRulesLength(1);

// Select snoozed
await testSubjects.click('ruleStatusFilterOption-disabled');
await testSubjects.click('ruleStatusFilterOption-snoozed');
await testSubjects.waitForDeleted('.euiBasicTable-loading');
await find.waitForDeletedByCssSelector('.euiBasicTable-loading');

await assertRulesLength(1);

// Select disabled and snoozed
await testSubjects.click('ruleStatusFilterOption-disabled');
await testSubjects.waitForDeleted('.euiBasicTable-loading');
await find.waitForDeletedByCssSelector('.euiBasicTable-loading');

await assertRulesLength(2);

// Select all 3
await testSubjects.click('ruleStatusFilterOption-enabled');
await testSubjects.waitForDeleted('.euiBasicTable-loading');
await find.waitForDeletedByCssSelector('.euiBasicTable-loading');

await assertRulesLength(3);
});
Expand Down

0 comments on commit ba58a6e

Please sign in to comment.