diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-13 00:10:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-13 00:10:38 +0300 |
commit | 3b69a04945341516a2ed6a291769c50fe04336df (patch) | |
tree | 5910b5f0c80bf98aded05305bbaa7fd30d2742c4 /qa/lib/gitlab | |
parent | e4cfc16da343c2008053ee09bb6af7145a6924cb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/lib/gitlab')
-rw-r--r-- | qa/lib/gitlab/page/admin/subscription.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/qa/lib/gitlab/page/admin/subscription.rb b/qa/lib/gitlab/page/admin/subscription.rb index 1538384f6ed..ef73bad2879 100644 --- a/qa/lib/gitlab/page/admin/subscription.rb +++ b/qa/lib/gitlab/page/admin/subscription.rb @@ -10,8 +10,8 @@ module Gitlab text_field :activation_code button :activate label :terms_of_services, text: /I agree that/ - link :remove_license, 'data-testid': 'license-remove-action' - button :confirm_ok_button + button :remove_license + button :confirm_remove_license p :plan p :started p :name @@ -30,6 +30,11 @@ module Gitlab terms_of_services_element.click # workaround for hidden checkbox end + def remove_license_file + remove_license + confirm_remove_license + end + # Checks if a subscription record exists in subscription history table # # @param plan [Hash] Name of the plan |