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>
|
||||||
<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
|
||||||
# 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
|
||||||
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', () => {
|
||||||
|
|
||||||
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', () => {
|
||||||
|
|
Loading…
Reference in a new issue