Commit a3f68244 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch '325812-update-the-package-settings-to-use-the-blue-primary-button' into 'master'

Update the Package settings to use the blue primary button

See merge request gitlab-org/gitlab!57468
parents f8286c99 90bc5729
...@@ -291,8 +291,8 @@ export default { ...@@ -291,8 +291,8 @@ export default {
type="submit" type="submit"
:disabled="isSubmitButtonDisabled" :disabled="isSubmitButtonDisabled"
:loading="showLoadingIcon" :loading="showLoadingIcon"
variant="success"
category="primary" category="primary"
variant="confirm"
class="js-no-auto-disable gl-mr-4" class="js-no-auto-disable gl-mr-4"
> >
{{ $options.i18n.SET_CLEANUP_POLICY_BUTTON }} {{ $options.i18n.SET_CLEANUP_POLICY_BUTTON }}
......
---
title: Update the Package settings to use the blue primary button
merge_request: 57468
author:
type: fixed
...@@ -39,7 +39,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p ...@@ -39,7 +39,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p
select('7 days', from: 'Remove tags older than:') select('7 days', from: 'Remove tags older than:')
fill_in('Remove tags matching:', with: '.*-production') fill_in('Remove tags matching:', with: '.*-production')
submit_button = find('.btn.gl-button.btn-success') submit_button = find('[data-testid="save-button"')
expect(submit_button).not_to be_disabled expect(submit_button).not_to be_disabled
submit_button.click submit_button.click
end end
...@@ -53,7 +53,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p ...@@ -53,7 +53,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p
within '#js-registry-policies' do within '#js-registry-policies' do
fill_in('Remove tags matching:', with: '*-production') fill_in('Remove tags matching:', with: '*-production')
submit_button = find('.btn.gl-button.btn-success') submit_button = find('[data-testid="save-button"')
expect(submit_button).not_to be_disabled expect(submit_button).not_to be_disabled
submit_button.click submit_button.click
end end
......
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