-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Review upload conflict webUI tests #32643
Comments
The webUI tests use files from |
Option 1) In a folder under Option 2) Forget about skeleton files. When we want to test that upload/download works, first upload a local file from Using option 2 means that you cannot check that an original skeleton file is correctly served for download, because the test runner will have no "absolutely correctly known" knowledge about what the content of the skeleton file should be. Note: the tests that make use of skeleton files already "know" the names of skeleton files. Those names are written in the test scripts. So option 1 is already partly implemented anyway - the test runner has "duplicate" knowledge about the file and folder names that exist in the skeleton. |
Some webUI tests upload a file over an existing file. They either overwrite the existing file or "keep both copies". e.g.
webUIUpload/uploadEdgecases.feature
The tests are using files locally from the skeleton. This is convenient, but:
Review these tests, and any tests that assume that skeleton files are available locally to the test runner.
Refactor them to avoid the isssue.
The text was updated successfully, but these errors were encountered: