The logs for this task are inaccessible. Check the condition of the node the allocation is on.
+
+
+
Cannot fetch logs
+
The logs for this task are inaccessible. Check the condition of the node the allocation is on.
+
+
+
+
+
{{/if}}
diff --git a/ui/tests/integration/task-log-test.js b/ui/tests/integration/task-log-test.js
index de17aab3548..bea9b342b72 100644
--- a/ui/tests/integration/task-log-test.js
+++ b/ui/tests/integration/task-log-test.js
@@ -279,6 +279,9 @@ module('Integration | Component | task log', function(hooks) {
'Log request was later made to the server'
);
assert.ok(find('[data-test-connection-error]'), 'An error message is shown');
+
+ await click('[data-test-connection-error-dismiss]');
+ assert.notOk(find('[data-test-connection-error]'), 'The error message is dismissable');
});
test('When the client is inaccessible, the server is accessible, and stderr is pressed before the client timeout occurs, the no connection error is not shown', async function(assert) {