Unverified Commit 02941770 authored by hc-github-team-nomad-core's avatar hc-github-team-nomad-core Committed by GitHub
Browse files

backport of commit 07f83bbb0eb4b21d023da83192b3ad9004785941 (#15356)

This pull request was automerged via backport-assistant
parent ead7e540
Showing with 8 additions and 2 deletions
+8 -2
......@@ -297,7 +297,11 @@ module('Acceptance | exec', function (hooks) {
} /bin/bash`
);
await percySnapshot(assert);
const terminalTextRendered = assert.async();
setTimeout(async () => {
await percySnapshot(assert);
terminalTextRendered();
}, 1000);
});
test('an allocation can be specified', async function (assert) {
......
......@@ -84,7 +84,9 @@ module('Acceptance | task logs', function (hooks) {
assert
.dom('.task-context-sidebar h1.title')
.includesText(task.state, 'Task state is correctly displayed');
await percySnapshot(assert);
await percySnapshot(assert, {
percyCSS: '.allocation-row td { display: none; }',
});
await click('.sidebar button.close');
assert.notOk(TaskLogs.sidebarIsPresent, 'Sidebar is not present');
......
Supports Markdown
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