Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/settings/registry_settings_spec.rb')
-rw-r--r--spec/features/projects/settings/registry_settings_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/projects/settings/registry_settings_spec.rb b/spec/features/projects/settings/registry_settings_spec.rb
index 1a1940f6efb..4c5bc290402 100644
--- a/spec/features/projects/settings/registry_settings_spec.rb
+++ b/spec/features/projects/settings/registry_settings_spec.rb
@@ -26,11 +26,11 @@ describe 'Project > Settings > CI/CD > Container registry tag expiration policy'
it 'saves expiration policy submit the form' do
within '#js-registry-policies' do
within '.card-body' do
- find('#expiration-policy-toggle button:not(.is-disabled)').click
- select('7 days until tags are automatically removed', from: 'expiration-policy-interval')
- select('Every day', from: 'expiration-policy-schedule')
- select('50 tags per image name', from: 'expiration-policy-latest')
- fill_in('expiration-policy-name-matching', with: '*-production')
+ find('.gl-toggle-wrapper button:not(.is-disabled)').click
+ select('7 days until tags are automatically removed', from: 'Expiration interval:')
+ select('Every day', from: 'Expiration schedule:')
+ select('50 tags per image name', from: 'Number of tags to retain:')
+ fill_in('Docker tags with names matching this regex pattern will expire:', with: '*-production')
end
submit_button = find('.card-footer .btn.btn-success')
expect(submit_button).not_to be_disabled