Commit afa69815 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '35539-failure-in-ee-spec-features-admin-admin_settings_spec-rb' into 'master'

Fix flaky spec in ee/spec/features/admin/admin_settings_spec.rb

Closes #35539

See merge request gitlab-org/gitlab!19673
parents 19c3d049 b2dbcf19
...@@ -114,12 +114,9 @@ describe 'Admin updates EE-only settings' do ...@@ -114,12 +114,9 @@ describe 'Admin updates EE-only settings' do
click_button 'Save changes' click_button 'Save changes'
end end
wait_for_all_requests
expect(current_settings.elasticsearch_limit_indexing).to be_truthy expect(current_settings.elasticsearch_limit_indexing).to be_truthy
expect(ElasticsearchIndexedNamespace.exists?(namespace_id: namespace.id)).to be_truthy expect(ElasticsearchIndexedNamespace.exists?(namespace_id: namespace.id)).to be_truthy
expect(ElasticsearchIndexedProject.exists?(project_id: project.id)).to be_truthy expect(ElasticsearchIndexedProject.exists?(project_id: project.id)).to be_truthy
expect(page).to have_content 'Application settings saved successfully'
end end
it 'Allows removing all namespaces and projects', :aggregate_failures, :js do it 'Allows removing all namespaces and projects', :aggregate_failures, :js do
......
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