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

[APM] Add tests for agent key management #120796

Open
6 of 11 tasks
gbamparop opened this issue Dec 8, 2021 · 3 comments
Open
6 of 11 tasks

[APM] Add tests for agent key management #120796

gbamparop opened this issue Dec 8, 2021 · 3 comments
Labels
apm:needs-test Team:APM All issues that need APM UI Team support

Comments

@gbamparop
Copy link
Contributor

gbamparop commented Dec 8, 2021

Agent key management functionality has been added to the APM settings by #119543 and #120373.

  • API tests:

Add tests for the following endpoints:

Unit tests

Add tests for agent key components:

  • Different states (e.g. no data, API keys not enabled, permission denied, loading)
  • Agent keys table
  • Create agent key flyout

e2e tests

  • Add test for getting, creating and deleting agent keys (similar to ftr_e2e/cypress/integration/power_user/settings/custom_links.spec.ts)

Storybook

Add stories: #125407

  • Different states (no data, API keys not enabled, permission denied, loading)
  • Agent keys table
  • Create agent key flyout
@gbamparop gbamparop added the Team:APM All issues that need APM UI Team support label Dec 8, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@dannycroft
Copy link

@gbamparop to include in next test plan?

@gbamparop
Copy link
Contributor Author

@gbamparop to include in next test plan?

Yes please, I've added some information to the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:needs-test Team:APM All issues that need APM UI Team support
Projects
None yet
Development

No branches or pull requests

3 participants