Skip to content
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

Fix console error when I have an agent selected and environment change #6306

Draft
wants to merge 3 commits into
base: 4.9.0
Choose a base branch
from

Conversation

JuanGarriuz
Copy link
Member

Description

Adds functionality to unpinned an agent, which is now used when the environment changes

Issues Resolved

Console error when I have an agent selected and environment change

Evidence

Evidence.5745.mp4

Test

Test Chrome Firefox Safari
The agent should be unpinned after changing environments
  • The agent should be unpinned after changing environments

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@JuanGarriuz JuanGarriuz requested a review from a team as a code owner January 12, 2024 08:41
@JuanGarriuz JuanGarriuz linked an issue Jan 12, 2024 that may be closed by this pull request
@JuanGarriuz JuanGarriuz self-assigned this Jan 12, 2024
@JuanGarriuz JuanGarriuz changed the base branch from master to 4.9.0 February 13, 2024 09:26
@JuanGarriuz JuanGarriuz marked this pull request as draft February 16, 2024 16:14
Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 28.94% ( 286 / 988 )
Branches 26.22% ( 107 / 408 )
Functions 26.87% ( 86 / 320 )
Lines 28.68% ( 278 / 969 )

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 12.07% ( 4200 / 34795 )
Branches 7.73% ( 1760 / 22748 )
Functions 10.71% ( 885 / 8259 )
Lines 12.26% ( 4090 / 33354 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Console error when I have an agent selected and environment change
2 participants