Skip to content

feat(billing): allow _admin to start product trial for enterprise orgs #93570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 18, 2025

Conversation

vbro
Copy link
Contributor

@vbro vbro commented Jun 13, 2025

No description provided.

@vbro vbro requested a review from a team June 13, 2025 22:51
@vbro vbro marked this pull request as draft June 13, 2025 22:51
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 13, 2025
Copy link

codecov bot commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #93570      +/-   ##
==========================================
- Coverage   83.12%   83.10%   -0.02%     
==========================================
  Files       10324    10326       +2     
  Lines      595574   595663      +89     
  Branches    23135    23137       +2     
==========================================
+ Hits       495045   495050       +5     
- Misses     100035   100120      +85     
+ Partials      494      493       -1     

@vbro vbro force-pushed the vbro_admin_product_trial_ent branch from 6fc6e40 to 96693c8 Compare June 16, 2025 20:03
@vbro vbro marked this pull request as ready for review June 16, 2025 20:51
Copy link
Member

@isabellaenriquez isabellaenriquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just some small suggestions

Comment on lines 388 to 389
expect(screen.getByText('Spans:')).toBeInTheDocument();
expect(screen.getByText('Seer:')).toBeInTheDocument();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason we just test for these two?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops, I forgot to add those back after playing around with the test file.
Good catch!

@@ -367,7 +367,7 @@ describe('CustomerOverview', function () {
expect(screen.queryByText('Seer:')).not.toBeInTheDocument();
});

it('renders no product trials for non-self-serve account', function () {
it('renders product trials for non-self-serve account', function () {
const organization = OrganizationFixture();
const enterprise_subscription = SubscriptionFixture({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i realized we can just use InvoicedSubscriptionFixture instead of having to overwrite canSelfServe here

@vbro vbro merged commit 87c667d into master Jun 18, 2025
45 checks passed
@vbro vbro deleted the vbro_admin_product_trial_ent branch June 18, 2025 16:23
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants