Flaky test: tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py::OrganizationDashboardDetailsPutTest::test_update_widget_title
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py::OrganizationDashboardDetailsPutTest::test_update_widget_title`
Sentry sha: abdb2eeccb973e9b33600d0fb95e18b12b995415
Run: https://github.com/getsentry/sentry/actions/runs/22208448055
```
[1m[31mtests/sentry/dashboards/endpoints/test_organization_dashboard_details.py[0m:1661: in test_update_widget_title
self.assert_serialized_widget(data["widgets"][0], widgets[0])
[1m[31msrc/sentry/testutils/cases.py[0m:2604: in assert_serialized_widget
assert data["id"] == str(expected_widget.id)
[1m[31mE AssertionError: assert '69' == '70'[0m
[1m[31mE [0m
[1m[31mE - 70[0m
[1m[31mE + 69[0m
```
Contributor guide
Research direction
Start with tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py::OrganizationDashboardDetailsPutTest::test_update_widget_title and inspect the failure in src/sentry/testutils/cases.py::assert_serialized_widget. Reproduce the failure using the linked GitHub Actions run or the named test, then identify why widget IDs differ and verify that the test passes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100