-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add filter for outdated agents #6529
Add filter for outdated agents #6529
Conversation
Tests worked OK, but I found this strange behavior. The Upgrade task details and Upgrade agents is duplicated.
Details 🟢 With no outdated agents: `Show only outdated` filter must be off and disabledChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 With at least one outdated agent: Alert must show the total outdated agentsChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 With at least one outdated agent: `Show only outdated` filter must be off and enabledChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 With at least one outdated agent: Click on alert and filter by outdated agentsChrome - 🟢 Firefox - ⚫ Safari - ⚫ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the last comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plugins/main/public/components/endpoints-summary/table/agents-table.test.tsx
Outdated
Show resolved
Hide resolved
plugins/main/public/components/endpoints-summary/table/agents-table.test.tsx
Outdated
Show resolved
Hide resolved
plugins/main/public/components/endpoints-summary/table/agents-table.test.tsx
Outdated
Show resolved
Hide resolved
TestLegend:
Details 🟢 With no outdated agents: `Show only outdated` filter must be off and disabledChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 With at least one outdated agent: Alert must show the total outdated agentsChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 With at least one outdated agent: `Show only outdated` filter must be off and enabledChrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 With at least one outdated agent: Click on alert and filter by outdated agentsChrome - 🟢 Firefox - ⚫ Safari - ⚫ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
16662a4
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
code review 🟢
request changes 🟢
Description
Issues Resolved
#6512
Evidence
outdated-filter.webm
Test
Command to create an outdated agent with docker:
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
Show only outdated
filter must be off and disabledShow only outdated
filter must be off and enabledShow only outdated
filter to turn on and turn offDetails
⚫ With no outdated agents: Alert must show 0
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ With no outdated agents: `Show only outdated` filter must be off and disabled
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ With at least one outdated agent: Alert must show the total outdated agents
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ With at least one outdated agent: `Show only outdated` filter must be off and enabled
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ With at least one outdated agent: Click on alert and filter by outdated agents
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ With at least one outdated agent: Click on `Show only outdated` filter to turn on and turn off
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
Check List
yarn test:jest