Skip to content

fix(test): Fix both broken tests - #70869

Merged
cat-ph merged 1 commit into
masterfrom
mendral/fix-broken-django-tests
Jul 14, 2026
Merged

fix(test): Fix both broken tests#70869
cat-ph merged 1 commit into
masterfrom
mendral/fix-broken-django-tests

Conversation

@mendral-app

@mendral-app mendral-app Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the new post_save receiver (mirror_autocapture_opt_in_to_settings) introduced in PR feat(error-tracking): move autocapture opt-in to settings (phase 1) #70701 to setup_receivers_baseline.txt, fixing test_setup_receivers_match_baseline
  • Update assertNumQueries from 5 to 6 in test_hog_functions_reload_on_team_saved to account for the extra sync_autocapture_opt_in DB query triggered on Team save

Insight: https://app.mendral.com/insights/01KXH4F99J44ZGB3X84AKNWMWM

Both tests have been failing on master since commit bac5cbc (PR #70701).


Note

Created by Mendral. Tag @mendral-app with feedback or questions.

- Add post_save:products.error_tracking.backend.signals.mirror_autocapture_opt_in_to_settings
  to setup_receivers_baseline.txt
- Update assertNumQueries from 5 to 6 in test_hog_functions_reload_on_team_saved
  to account for the new sync_autocapture_opt_in query on Team save

Fixes breakage introduced by PR #70701 (commit bac5cbc).
@cat-ph
cat-ph marked this pull request as ready for review July 14, 2026 20:45
@trunk-io

trunk-io Bot commented Jul 14, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@github-actions

Copy link
Copy Markdown
Contributor

🤖 CI report

Playwright — all passed

All tests passed.

View test results →

@cat-ph
cat-ph enabled auto-merge (squash) July 14, 2026 21:09
@cat-ph
cat-ph merged commit e6642a8 into master Jul 14, 2026
314 of 317 checks passed
@cat-ph
cat-ph deleted the mendral/fix-broken-django-tests branch July 14, 2026 21:15
@deployment-status-posthog

deployment-status-posthog Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-07-14 21:48 UTC Run
prod-us ✅ Deployed 2026-07-14 22:13 UTC Run
prod-eu ✅ Deployed 2026-07-14 22:14 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant