Commit b1a4eb33 authored by Justin Ho's avatar Justin Ho

Fix QA specs after moving ES settings to General

parent 13ea2833
......@@ -71,7 +71,7 @@ module QA
module Settings
autoload :Templates, 'qa/ee/page/admin/settings/templates'
autoload :Integration, 'qa/ee/page/admin/settings/integration'
autoload :Elasticsearch, 'qa/ee/page/admin/settings/elasticsearch'
autoload :Preferences, 'qa/ee/page/admin/settings/preferences'
module Component
......
......@@ -5,7 +5,7 @@ module QA
module Page
module Admin
module Settings
class Integration < QA::Page::Base
class Elasticsearch < QA::Page::Base
include QA::Page::Settings::Common
view 'ee/app/views/admin/application_settings/_elasticsearch_form.html.haml' do
......
......@@ -17,9 +17,9 @@ module QA
def fabricate!
QA::Page::Main::Menu.perform(&:go_to_admin_area)
QA::Page::Admin::Menu.perform(&:go_to_integration_settings)
QA::EE::Page::Admin::Settings::Integration.perform do |integration|
integration.expand_elasticsearch do |es|
QA::Page::Admin::Menu.perform(&:go_to_general_settings)
QA::EE::Page::Admin::Settings::Elasticsearch.perform do |settings|
settings.expand_elasticsearch do |es|
es.check_indexing if @es_indexing
es.check_search if @es_enabled
es.enter_link(@es_url)
......
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