getsentry / getsentry/sentry

Flaky test: tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py::OrganizationDashboardDetailsPutTest::test_reorder_widgets_has_no_effect

Open
#108,823 1 comment 0 reactions 0 assignees View on GitHub
flaky-test Tests
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

```
tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py:2064: in test_reorder_widgets_has_no_effect
self.assert_dashboard_and_widgets(
tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py:942: in assert_dashboard_and_widgets
assert widget.id == id
E AssertionError: assert 257 == 254
E + where 257 = , title='Dashboard 1'>, title='Widget 4'>.id
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.