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

Change CI status error message

parent f8f1466a
......@@ -78,7 +78,7 @@ export default {
/>
</div>
<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>
</template>
<template v-else-if="hasPipeline">
......
......@@ -174,7 +174,7 @@ describe 'Merge request > User sees merge widget', :js do
# Wait for the `ci_status` and `merge_check` 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
......
......@@ -42,7 +42,7 @@ describe 'Merge request > User sees pipelines', :js do
wait_for_requests
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
......
......@@ -69,7 +69,7 @@ describe('MRWidgetPipeline', () => {
expect(
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', () => {
......
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