Browse Source

test(perf-issues): Add a basic E2E test for performance issues (#40672)

Adds one test that loads an event with a
performance problem, and takes a snapshot of the resulting performance
issue details page.

I had to relocate the `.json` fixtures we use for performance problems
into the `fixtures` folder so the acceptance test data loader could find
them
George Gritsouk 2 years ago
parent
commit
fe55e10212

+ 0 - 0
src/sentry/testutils/performance_issues/events/fast-n-plus-one-in-django-new-view.json → fixtures/events/performance_problems/fast-n-plus-one-in-django-new-view.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-db-root-parent-span.json → fixtures/events/performance_problems/n-plus-one-db-root-parent-span.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-index-view-activerecord.json → fixtures/events/performance_problems/n-plus-one-in-django-index-view-activerecord.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-index-view-repeating-redis.json → fixtures/events/performance_problems/n-plus-one-in-django-index-view-repeating-redis.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-index-view-source-redis.json → fixtures/events/performance_problems/n-plus-one-in-django-index-view-source-redis.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-index-view-unparameterized.json → fixtures/events/performance_problems/n-plus-one-in-django-index-view-unparameterized.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-index-view.json → fixtures/events/performance_problems/n-plus-one-in-django-index-view.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-new-view-truncated-duplicates.json → fixtures/events/performance_problems/n-plus-one-in-django-new-view-truncated-duplicates.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-new-view.json → fixtures/events/performance_problems/n-plus-one-in-django-new-view.json


+ 0 - 0
src/sentry/testutils/performance_issues/events/n-plus-one-in-django-with-odd-db-sources.json → fixtures/events/performance_problems/n-plus-one-in-django-with-odd-db-sources.json


Some files were not shown because too many files changed in this diff