Skip to content

test(acceptance): Remove unused visual snapshot tests#109429

Open
rbro112 wants to merge 1 commit intomasterfrom
rbro112/find-unused-acceptance-tests
Open

test(acceptance): Remove unused visual snapshot tests#109429
rbro112 wants to merge 1 commit intomasterfrom
rbro112/find-unused-acceptance-tests

Conversation

@rbro112
Copy link
Member

@rbro112 rbro112 commented Feb 26, 2026

Remove 22 test files that were written for visual snapshot comparison, which Sentry no longer uses. These tests had zero behavioral assertions—they only navigated to a page and waited for loading indicators to disappear, providing minimal value for regression detection.

Also delete two orphaned page object fixtures (dashboard_detail.py, transaction_summary.py) that were only used by the removed tests.

From mixed files, keep tests with real assertions:

  • test_organization_releases.py: keep test_detail_pick_project (has assert); remove test_list and others
  • test_performance_issues.py: keep tests with Group.objects.count() assertions; remove navigate-only tests

~2,088 lines removed across 26 files total.

Remove 22 test files that were written for visual snapshot comparison, which is no longer used in Sentry. These tests had zero behavioral assertions—they only navigated to a page and waited for loading indicators to disappear, providing no real value for regression detection.

Also remove two orphaned page object fixtures (dashboard_detail.py, transaction_summary.py) that were only used by deleted tests.

From test_organization_releases.py, keep test_detail_pick_project which has a real assertion; remove test_list, test_detail, and test_detail_with_discover_and_performance.

From test_performance_issues.py, keep tests with Group.objects.count() assertions; remove test_with_one_performance_issue and test_n_one_api_call_performance_issue which were navigate-only.

Deleted files account for ~2,088 lines removed across acceptance tests and fixtures.
@rbro112 rbro112 requested review from a team as code owners February 26, 2026 02:08
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants