Skip to content

Commit 4352c4b

Browse files
committed
feat(issue-platform): Add test to validate that searching for occurrence titles works as expected
This validates that searching for an issue platform issue via text in the title works as expected. Relies on #51325 and getsentry/snuba#4385 Related to #50345
1 parent e7805cb commit 4352c4b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/snuba/search/test_backend.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2562,6 +2562,17 @@ def setUp(self):
25622562
)
25632563
self.error_group_2 = error_event_2.group
25642564

2565+
def test_search_occurrence_data(self):
2566+
with self.feature(
2567+
[
2568+
"organizations:issue-platform",
2569+
self.perf_group_1.issue_type.build_visible_feature_name(),
2570+
]
2571+
):
2572+
results = self.make_query(search_filter_query="Large Render Blocking Asset")
2573+
# results = self.make_query(search_filter_query="")
2574+
assert set(results) == {self.perf_group_1, self.perf_group_2}
2575+
25652576
def test_performance_query(self):
25662577
with self.feature(
25672578
[

0 commit comments

Comments
 (0)