Commit 82cf8dd6 authored by Mike Greiling's avatar Mike Greiling

Merge branch...

Merge branch 'gitlab-org-growth-product-1515-buy-additional-minutes-link-straight-to-funnel' into 'master'

Link Buy additional minutes button straight to funnel

Closes gitlab-org/growth/product#1515

See merge request gitlab-org/gitlab!30248
parents 73d6f817 69cb990a
......@@ -6,7 +6,7 @@
.col-sm-6.offset-sm-6
- if ::Gitlab.com?
= link_to s_('UsageQuota|Buy additional minutes'),
EE::SUBSCRIPTIONS_PLANS_URL,
EE::SUBSCRIPTIONS_MORE_MINUTES_URL,
target: '_blank',
class: 'btn btn-inverted btn-success float-right',
data: { track_event: 'click_buy_ci_minutes', track_label: namespace.actual_plan_name, track_property: 'pipeline_quota_page' }
......
---
title: Link Buy additional minutes button straight to funnel
merge_request: 30248
author:
type: changed
......@@ -129,7 +129,7 @@ describe 'Groups > Usage Quotas' do
it 'has correct tracking setup and shows correct group quota and projects info' do
visit_pipeline_quota_page
expect(page).to have_content('Buy additional minutes')
expect(page).to have_link('Buy additional minutes', href: EE::SUBSCRIPTIONS_MORE_MINUTES_URL)
page.within('.pipeline-quota') do
expect(page).to have_content("1000 / 500 minutes")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment