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 repeated request in groups-table #5465

Merged
merged 4 commits into from
May 29, 2023

Conversation

yenienserrano
Copy link
Member

@yenienserrano yenienserrano commented May 19, 2023

Description

Fixes repeated requests in the group table when adding a group or refreshing the table

Issues Resolved

Evidence

Details

Refresh

image

Add new group

image

image

Test

  1. Navigate to Management/groups
  2. Click on Refresh | Add new group
  3. See requests in the console

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Requests in Refresh
Requests in Add new group

Details

⚫ Requests in `Refresh`

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Requests in `Add new group`

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

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

@yenienserrano yenienserrano requested a review from a team as a code owner May 19, 2023 11:44
@yenienserrano yenienserrano self-assigned this May 19, 2023
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 9.46% ( 3506 / 37034 )
Branches 4.99% ( 1434 / 28698 )
Functions 8.13% ( 747 / 9178 )
Lines 9.54% ( 3386 / 35467 )

@Desvelao
Copy link
Member

Wazuh dashboard

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Verify that there are not repeated request when using the Add new group button in Management > Groups 🟢
Verify that there are not repeated request when using the Refresh button in Management > Groups 🟢

Details

🟢 Verify that there are not repeated request when using the Add new group button in Management > Groups

Chrome - 🟢
image
Firefox - ⚫

Safari - ⚫

🟢 Verify that there are not repeated request when using the Refresh button in Management > Groups

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

Copy link
Member

@Desvelao Desvelao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review

code 🟢
test 🟢 #5465 (comment)

@AlexRuiz7 AlexRuiz7 merged commit e4884fa into 4.5 May 29, 2023
@AlexRuiz7 AlexRuiz7 deleted the 5241-wazuh-api-usage-manament-repeated-requests branch May 29, 2023 12:22
github-actions bot pushed a commit that referenced this pull request May 29, 2023
* Fix repeated request in groups-table

* Add changelog

* Add suggestion

(cherry picked from commit e4884fa)
github-actions bot pushed a commit that referenced this pull request May 29, 2023
* Fix repeated request in groups-table

* Add changelog

* Add suggestion

(cherry picked from commit e4884fa)
AlexRuiz7 pushed a commit that referenced this pull request May 29, 2023
Fix repeated request in groups-table (#5465)

* Fix repeated request in groups-table

* Add changelog

* Add suggestion

(cherry picked from commit e4884fa)

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
AlexRuiz7 pushed a commit that referenced this pull request May 29, 2023
Fix repeated request in groups-table (#5465)

* Fix repeated request in groups-table

* Add changelog

* Add suggestion

(cherry picked from commit e4884fa)

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wazuh API usage - Manament repeated requests
3 participants