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 {
type="submit"
:disabled="isSubmitButtonDisabled"
:loading="showLoadingIcon"
variant="success"
category="primary"
variant="confirm"
class="js-no-auto-disable gl-mr-4"
>
{{ $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
select('7 days', from: 'Remove tags older than:')
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
submit_button.click
end
......@@ -53,7 +53,7 @@ RSpec.describe 'Project > Settings > CI/CD > Container registry tag expiration p
within '#js-registry-policies' do
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
submit_button.click
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