Commit b98807a8 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'e2e-update-license-spec' into 'master'

Update license details matching new staging license file

See merge request gitlab-org/gitlab!78741
parents cc4b6bc3 5383d784
...@@ -5,8 +5,7 @@ module QA ...@@ -5,8 +5,7 @@ module QA
RSpec.describe 'Fulfillment', :requires_admin, :skip_live_env, except: { job: 'review-qa-*' } do RSpec.describe 'Fulfillment', :requires_admin, :skip_live_env, except: { job: 'review-qa-*' } do
let(:user) { 'GitLab QA' } let(:user) { 'GitLab QA' }
let(:user_email) { 'gitlab-qa@gitlab.com' } let(:company) { 'QA User' }
let(:company) { 'GitLab' }
let(:user_count) { 10_000 } let(:user_count) { 10_000 }
let(:plan) { ULTIMATE_SELF_MANAGED } let(:plan) { ULTIMATE_SELF_MANAGED }
...@@ -19,9 +18,9 @@ module QA ...@@ -19,9 +18,9 @@ module QA
it 'shows up in subscription page', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347607' do it 'shows up in subscription page', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347607' do
Gitlab::Page::Admin::Subscription.perform do |subscription| Gitlab::Page::Admin::Subscription.perform do |subscription|
aggregate_failures do aggregate_failures do
expect { subscription.name }.to eventually_eq(user).within(max_duration: 30) expect { subscription.subscription_details?}.to eventually_be_truthy.within(max_duration: 60)
expect(subscription.email).to eq(user_email) expect(subscription.name).to eq(user)
expect(subscription.company).to eq(company) expect(subscription.company).to include(company)
expect(subscription.plan).to eq(plan[:name].capitalize) expect(subscription.plan).to eq(plan[:name].capitalize)
expect(subscription.users_in_subscription).to eq(user_count.to_s) expect(subscription.users_in_subscription).to eq(user_count.to_s)
expect(subscription).to have_subscription_record(plan, user_count, LICENSE_TYPE[:license_file]) expect(subscription).to have_subscription_record(plan, user_count, LICENSE_TYPE[:license_file])
......
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