Test sample reuse requires unique titles. (PR #14265)
When the same sample is used in multiple tests, the title for the app (chrome / notepad) may be identical.
The tests use the app title to determine when the test sample has opened.
When the titles are not unique, the test may start with the app already in an unexpected state, it may also get interrupted by the new app instance opening.
Description of development approach
Hash the combined test start timestamp with sample contents to create a unique title.
- Notepad tests are *.txt files, the hash is used in the filename (exposed by notepad in the app title).
- Chrome tests embed the timestamp in an HTML comment.