Include date/time and seed in screenshot filename

This commit is contained in:
2024-02-14 01:50:47 +01:00
parent c9974fce05
commit 69db87f9c6
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
module CoreExt::ActionDispatch::SystemTesting::TestHelpers::CustomScreenshotHelperUniqueId
private
def unique
Time.current.strftime("%Y-%m-%d %H:%M:%S.%9N_#{Minitest.seed}")
end
end