Change CI status error message
This commit is contained in:
parent
f8f1466ad0
commit
9f0dbf8a44
4 changed files with 4 additions and 4 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue