Commit ac251095 authored by Sunjung Park's avatar Sunjung Park

Fix pipeline for the banner text

parent 523d88e2
......@@ -18,7 +18,7 @@ RSpec.describe 'Geo read-only message', :geo do
stub_current_geo_node(secondary)
end
it_behaves_like 'Read-only instance', /You are on a secondary, read\-only Geo node\. If you want to make changes, you must visit the primary site.*Go to the primary site/
it_behaves_like 'Read-only instance', /You are on a secondary, read\-only Geo site\. If you want to make changes, you must visit the primary site.*Go to the primary site/
end
context 'when in maintenance mode' do
......
......@@ -6,11 +6,11 @@ module QA
module Main
class Banner < QA::Page::Base
view 'ee/app/helpers/ee/application_helper.rb' do
element :read_only_message, 'You are on a secondary, %{b_open}read-only%{b_close} Geo node.' # rubocop:disable QA/ElementWithPattern
element :read_only_message, 'You are on a secondary, %{b_open}read-only%{b_close} Geo site.' # rubocop:disable QA/ElementWithPattern
end
def has_secondary_read_only_banner?
page.has_text?('You are on a secondary, read-only Geo node.')
page.has_text?('You are on a secondary, read-only Geo site.')
end
end
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