diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-12 21:11:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-12 21:11:36 +0300 |
commit | 50b113507b3b03bdce4753ba3ff3ffb53d21f756 (patch) | |
tree | 2c996d93db948331ed78cbe9654a09d245812da1 /spec/features/admin | |
parent | 00d1c402017269aa16bb71deca623a901baa113d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_settings_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/features/admin/admin_settings_spec.rb b/spec/features/admin/admin_settings_spec.rb index 0f77a69f54b..2300e81cb55 100644 --- a/spec/features/admin/admin_settings_spec.rb +++ b/spec/features/admin/admin_settings_spec.rb @@ -165,7 +165,7 @@ RSpec.describe 'Admin updates settings', feature_category: :shared do expect(page).to have_field('Days of inactivity before deactivation') end - it 'changes dormant users', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/408224' do + it 'changes dormant users', :js do expect(page).to have_unchecked_field('Deactivate dormant users after a period of inactivity') expect(current_settings.deactivate_dormant_users).to be_falsey @@ -182,10 +182,11 @@ RSpec.describe 'Admin updates settings', feature_category: :shared do expect(page).to have_checked_field('Deactivate dormant users after a period of inactivity') end - it 'change dormant users period', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/408224' do - expect(page).to have_field _('Days of inactivity before deactivation') + it 'change dormant users period', :js do + expect(page).to have_field(_('Days of inactivity before deactivation'), disabled: true) page.within(find('[data-testid="account-limit"]')) do + check 'application_setting_deactivate_dormant_users' fill_in _('application_setting_deactivate_dormant_users_period'), with: '90' click_button 'Save changes' end |