getsentry / getsentry/sentry

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

Open
#108,645 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_update_widget_title`
Sentry sha: abdb2eeccb973e9b33600d0fb95e18b12b995415
Run: https://github.com/getsentry/sentry/actions/runs/22208448055

```
tests/sentry/dashboards/endpoints/test_organization_dashboard_details.py:1661: in test_update_widget_title
self.assert_serialized_widget(data["widgets"][0], widgets[0])
src/sentry/testutils/cases.py:2604: in assert_serialized_widget
assert data["id"] == str(expected_widget.id)
E AssertionError: assert '69' == '70'
E 
E - 70
E + 69
```

Contributor guide

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.