Flaky test: tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py::OrganizationDashboardDetailsPutTest::test_reorder_widgets_has_no_effect
- 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_reorder_widgets_has_no_effect`
Sentry sha: 983e8f9796241853fa908cb57cf3c1b4512eae23
Run: https://github.com/getsentry/sentry/actions/runs/22265952802
```
[1m[31mtests/sentry/dashboards/endpoints/test_organization_dashboard_details.py[0m:2064: in test_reorder_widgets_has_no_effect
self.assert_dashboard_and_widgets(
[1m[31mtests/sentry/dashboards/endpoints/test_organization_dashboard_details.py[0m:942: in assert_dashboard_and_widgets
assert widget.id == id
[1m[31mE AssertionError: assert 257 == 254[0m
[1m[31mE + where 257 = , title='Dashboard 1'>, title='Widget 4'>.id[0m
```
Contributor guide
Research direction
Start with tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py, especially test_reorder_widgets_has_no_effect at line 2064 and assert_dashboard_and_widgets at line 942. Run the named test and compare the widget IDs in the failure with the expected dashboard state. Done means the test passes consistently and confirms that reordering widgets has no effect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100