From 784ec507b8de8f656d401ee426b63f836f4c6cf2 Mon Sep 17 00:00:00 2001 From: Phil Renaud Date: Fri, 31 May 2024 13:41:26 -0400 Subject: [PATCH] Omit the current-time-displaying components during our visual diff tests (#22435) --- ui/tests/acceptance/job-detail-test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/tests/acceptance/job-detail-test.js b/ui/tests/acceptance/job-detail-test.js index 0d85ffcf7..6ce78868c 100644 --- a/ui/tests/acceptance/job-detail-test.js +++ b/ui/tests/acceptance/job-detail-test.js @@ -380,7 +380,11 @@ module('Acceptance | ui block', function (hooks) { assert .dom('[data-test-job-links] a') .exists({ count: 2 }, 'Job links exists when defined in HCL'); - await percySnapshot(assert); + await percySnapshot(assert, { + percyCSS: ` + .allocation-row td { display: none; } + `, + }); }); test('job sanitizes input', async function (assert) {