diff --git a/test/check-application b/test/check-application index 2af96e0d..ad4e4582 100755 --- a/test/check-application +++ b/test/check-application @@ -2391,7 +2391,8 @@ class TestFiles(testlib.MachineCase): b.wait_not_present(".drag-drop-upload") drag_file_event(".fileview-wrapper", 'dragenter') b.wait_visible(".drag-drop-upload") - b.assert_pixels(".files-card", "drag-drop-upload-dropzone") + b.assert_pixels(".files-card", "drag-drop-upload-dropzone", + mock={".item-date": "Jun 19, 2024, 11:30 AM"}) drag_file_event(".fileview-wrapper", 'drop', 'drag-drop-testfile.txt') b.wait_in_text(".pf-v5-c-alert__title", "File uploaded") b.click(".pf-v5-c-alert__action button") @@ -2438,7 +2439,8 @@ class TestFiles(testlib.MachineCase): b.wait_not_present(".drag-drop-upload") drag_file_event(".fileview-wrapper", 'dragenter') b.wait_visible(".drag-drop-upload-blocked") - b.assert_pixels(".files-card", "drag-drop-upload-dropzone-blocked") + b.assert_pixels(".files-card", "drag-drop-upload-dropzone-blocked", + mock={".item-date": "Jun 19, 2024, 11:30 AM"}) drag_file_event(".fileview-wrapper", 'dragleave') b.wait_not_present(".drag-drop-upload-blocked") # Dropping the file does nothing