Commit 9f0dbf8a authored by Matija Čupić's avatar Matija Čupić

Change CI status error message

parent f8f1466a
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
/> />
</div> </div>
<div class="media-body"> <div class="media-body">
Could not connect to the CI server. Please check your settings and try again Could not retrieve the pipeline status. For potential solutions please read the <a href="#">documentation</a>.
</div> </div>
</template> </template>
<template v-else-if="hasPipeline"> <template v-else-if="hasPipeline">
......
...@@ -174,7 +174,7 @@ describe 'Merge request > User sees merge widget', :js do ...@@ -174,7 +174,7 @@ describe 'Merge request > User sees merge widget', :js do
# Wait for the `ci_status` and `merge_check` requests # Wait for the `ci_status` and `merge_check` requests
wait_for_requests wait_for_requests
expect(page).to have_text('Could not connect to the CI server. Please check your settings and try again') expect(page).to have_text('Could not retrieve the pipeline status. For potential solutions please read the documentation.')
end end
end end
......
...@@ -42,7 +42,7 @@ describe 'Merge request > User sees pipelines', :js do ...@@ -42,7 +42,7 @@ describe 'Merge request > User sees pipelines', :js do
wait_for_requests wait_for_requests
expect(page.find('.ci-widget')).to have_content( expect(page.find('.ci-widget')).to have_content(
'Could not connect to the CI server. Please check your settings and try again') 'Could not retrieve the pipeline status. For potential solutions please read the documentation.')
end end
end end
......
...@@ -69,7 +69,7 @@ describe('MRWidgetPipeline', () => { ...@@ -69,7 +69,7 @@ describe('MRWidgetPipeline', () => {
expect( expect(
vm.$el.querySelector('.media-body').textContent.trim(), vm.$el.querySelector('.media-body').textContent.trim(),
).toEqual('Could not connect to the CI server. Please check your settings and try again'); ).toEqual('Could not retrieve the pipeline status. For potential solutions please read the documentation.');
}); });
describe('with a pipeline', () => { describe('with a pipeline', () => {
......
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