Commit 69cb990a authored by Jackie Fraser's avatar Jackie Fraser

Link Buy additional minutes button straight to funnel

parent 9ebe0fde
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.col-sm-6.offset-sm-6 .col-sm-6.offset-sm-6
- if ::Gitlab.com? - if ::Gitlab.com?
= link_to s_('UsageQuota|Buy additional minutes'), = link_to s_('UsageQuota|Buy additional minutes'),
EE::SUBSCRIPTIONS_PLANS_URL, EE::SUBSCRIPTIONS_MORE_MINUTES_URL,
target: '_blank', target: '_blank',
class: 'btn btn-inverted btn-success float-right', 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' } 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 ...@@ -129,7 +129,7 @@ describe 'Groups > Usage Quotas' do
it 'has correct tracking setup and shows correct group quota and projects info' do it 'has correct tracking setup and shows correct group quota and projects info' do
visit_pipeline_quota_page 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 page.within('.pipeline-quota') do
expect(page).to have_content("1000 / 500 minutes") 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