analytics/test/workers
Adrian Gruntkowski b86c2e715f
Switch reads to Teams schemas across the rest of the app (#4860)
* Pre-emptively introduce `site.team_owner` relation

* Drop null constraint on user_id from subscriptions and enterprise_plans

* Temporarily remove populating old schemas in Teams.Test

* Point to site.owner via new schema

* Switch more reads to teams schema WIP

* Fix AuhtorizeSiteAccess test

There's no need to translate `admin`<->`editor` here,
the redundancy is inlined wherever the plug is initialized.

* Fix regions test

* Fix main graph test

* Fix authorization test

* Try to rely on team for subscription/plans where applicable

* Test fixes

* Fix plans test

* Prep for CheckUsage changes

* Skip remaining CheckUsage tests for now

* Fix user deletion to account for team relations

* Fix HelpScout tests

* 💀 Modify ingestion to read team schemas

* Made all tests green except skipped ones

* Mute warnings about transferring site with no order

By making artificial site membership struct,
when reading data off team membership schema.

* Fix site removal test case

* Re-enable locked site tests, that don't have to rely on `SiteLocker`

* Format

* Revert "Mute warnings about transferring site with no order"

This reverts commit 0e45f8c9d9.

* Re-enable old models and fix remaining tests

* Use new factories in a long running minio test

* FIXME->TODO

* Fix remaining tests in legacy mode (no FF raised)

* oof

cc @zoldar

* Add missing definitions of editor role in FE code

* Remove no longer relevant comment about roles

* Fix JS formatting

* Always prioritize site transfers over memberships in sites list

* Fix misaligned "Reject" invitation button

* Fix site pinning when user is guest in multiple sites in team

* Fix subscription settings controller tests

---------

Co-authored-by: Adam Rutkowski <hq@mtod.org>
2024-12-02 12:20:16 +00:00
..
accept_traffic_until_test.exs Rename internal build symbols (#3942) 2024-04-29 08:05:33 +02:00
check_usage_test.exs Switch reads to Teams schemas across the rest of the app (#4860) 2024-12-02 12:20:16 +00:00
clean_invitations_test.exs Address team syncing discrepancies (#4739) 2024-10-28 10:11:47 +00:00
clean_user_sessions_test.exs Implement token-based sessions (#4463) 2024-09-03 11:34:37 +02:00
clickhouse_clean_sites_test.exs Refactor: remove transform_filters function from imported base (#4409) 2024-07-31 15:36:25 +03:00
expire_domain_change_transitions_test.exs Fix flaky log assertion (#3199) 2023-07-27 12:51:54 +02:00
import_analytics_test.exs Improve UI/UX of imports view and GA import flow (#4017) 2024-04-18 12:12:48 +02:00
lock_sites_test.exs Prevent upgrades that would leave the customer locked (#3683) 2024-01-15 14:59:56 +00:00
notify_annual_renewal_test.exs Refactor enterprise plan upgrade and change-plan actions (#3397) 2023-10-10 20:35:17 +03:00
notify_exported_analytics_test.exs redirect to s3 url when downloading exports (#4002) 2024-05-02 19:53:12 +01:00
oban_error_reporter_test.exs safe(r) Oban telemetry (#3743) 2024-02-14 10:12:03 +01:00
schedule_email_reports_test.exs Do not send email reports for locked sites 2021-06-17 10:20:54 +03:00
send_check_stats_emails_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 2023-03-27 13:52:42 +02:00
send_email_report_test.exs Switch reads to Teams schemas across the rest of the app (#4860) 2024-12-02 12:20:16 +00:00
send_site_setup_emails_test.exs Switch reads to Teams schemas across the rest of the app (#4860) 2024-12-02 12:20:16 +00:00
send_trial_notifications_test.exs Switch on teams schema in choose plan view behind FF (#4838) 2024-11-20 08:35:18 +00:00
traffic_change_notifier_test.exs Reduce Phoenix.HTML usage (#4675) 2024-10-15 03:55:14 +00:00