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] 8.5.0 Test Plan #141734

Closed
dannycroft opened this issue Sep 26, 2022 · 3 comments
Closed

[APM] 8.5.0 Test Plan #141734

dannycroft opened this issue Sep 26, 2022 · 3 comments
Assignees
Labels
apm:test-plan-guide APM UI - Test Plan Guide Team:APM - DEPRECATED Use Team:obs-ux-infra_services. v8.5.0

Comments

@dannycroft
Copy link

dannycroft commented Sep 26, 2022

Test Plan 8.5.0

Phase 1 - Manual Testing: Monday 26th September

  • Pick an issue from the curated list
  • After testing apply apm:test-plan-done label. If a problem is found a new issue should be opened and labelled apm:test-plan-regression and moved to "Ready" column.

Run latest build candidate (BC)

Using apm-integration-testing it's trivial to start the stack for the latest BC:

./scripts/compose.py start 8.5.0 --bc --all-opbeans

Check to see if issues are fixed before opening a bug

Find the commit kibana was built with:

./scripts/compose.py versions
...

Kibana (image built: 2022-09-22 07:33:44 UTC):
	Version: 8.5.0-SNAPSHOT
	Branch: 8.5
	Build SHA: 0d8de4df69f8084a94cdd9638d7de510813cb5ce
	Build number: 6678

Using that Build SHA, visit 0d8de4d...8.5 to see commits since the BC was built.

Creating users locally

node ./x-pack/plugins/apm/scripts/create_apm_users.js --username elastic --password changeme --kibana-url http://localhost:5601

Creates the following users (username / password):

  • viewer / changeme
  • editor / changeme

Phase 2 - Improving Quality: Tuesday 27th September - Friday 30th September

Primarily we need more e2e (cypress) tests and api tests. In addition to this we should replace the archives containing random opbeans data with synthbeans generated data. Below is a list of the important flows that should be covered in both a unit and an api test.

Important areas & flows

Migrate from opbeans archives to synthtrace scenarios

We should replace the existing opbeans-based archives with data generated at runtime with synthtrace.

Migrate API test to apmApiClient

API tests should use the new apmApiClient instead of the legacy supertest clients. Example on how to migrate.

@dannycroft dannycroft added Team:APM - DEPRECATED Use Team:obs-ux-infra_services. apm:test-plan-guide APM UI - Test Plan Guide v8.5.0 labels Sep 26, 2022
@elasticmachine
Copy link
Contributor

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

@dannycroft dannycroft self-assigned this Sep 26, 2022
@dannycroft dannycroft changed the title [APM] Test Plan 8.5.0 [APM] 8.5.0 Test Plan Sep 26, 2022
@yngrdyn
Copy link
Contributor

yngrdyn commented Oct 6, 2022

We have migrated the API tests to apmApiClient.
For more info check 142229 and 142724.

@sorenlouv
Copy link
Member

Awesome @yngrdyn . Milestone achieved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:test-plan-guide APM UI - Test Plan Guide Team:APM - DEPRECATED Use Team:obs-ux-infra_services. v8.5.0
Projects
None yet
Development

No branches or pull requests

4 participants