-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random input: start to implement new directory structure #552
Comments
[This was a list of todo items, but it's been moved into the initial issue comment.] |
- Put full report in dir - Put debug_log.txt in dir - Create scenario-name folder in dir - Put downloaded files in scenario folder For some reason, I haven't been successful in renaming the downloaded file to add the timestamp so files with the same name won't overwrite each other. Would love clues.
We've decided to keep all scenario folders, even those that only have a report. Better that expected output is there. |
Pretty timestamp has been requested. Edit: See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date |
Part of the reason each scenario is in a different folder is for random input testing output - I'd like each random input scenario to have its own |
[Note: I'm including the timestamps in scenario folder names and the error screenshot names in case devs copy/paste a scenario and accidentally forget to change the description and the test fails on the same page. That is, I can easily imagine a situation in which the name wouldn't be unique without the timestamp.] Edit:
Folder/files for our own local unit tests:
|
Have to replay these changes on top of the new branch because I can't track down a weird bug that cropped up in the |
* Ignore new dirs * Update changelog with planned changes * Add function to make human-readable UTC date * Add file to just handle files (names etc), but only add a bit to it Refactoring other stuff will be figured out later * Prep action files to use new folder structure Jumped the gun here and it'll need testing, sorry * Implement setup of new artifacts folder on creation of project * Store our own unit tests output * Fix name of unit tests dir in our own action * Store values of some necessary path names in `scope` * Adjust download,error screenshot, scenario filepaths. See more * change download filepath * adjust format of scenario-based filename with page id and date * update unit tests to match * save two copies of an error screenshot * Add reports to artifacts folder and scenario folder * Change json filepath * Rename custom screenshot files * Add notes about problems with download times * Changes dir for accessibility tests. Untested from what I can tell * Combine duplicate keys into one `run` Co-authored-by: Bryce Willey <Bryce.Steven.Willey@gmail.com> * Store persistent necessary names in one file * Put cucumber debug into right debug file, use log's file name more consistently * Clean up comments now that decision is made * Remove tags from scenario folder names * Remove scenario tags from tests for creating base scenario name Co-authored-by: Bryce Willey <Bryce.Steven.Willey@gmail.com>
Closed by #568 [Can't implement the feature file names because those files don't yet exist.] |
From #531 (comment)
This issue
First step: Move current artifacts to new structure:
First, for a test run, everything would be in one artifact folder, so it can all be downloaded at the same time. Name options?
This will be good in general even before starting with random input and is the first step.
Discussions on what to use in the names of artifacts: #429 (comment)
Long term plan and comments
Then the below structure for the folders eventually:
The text was updated successfully, but these errors were encountered: