-
Notifications
You must be signed in to change notification settings - Fork 16
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
Test file upload #1035
Test file upload #1035
Conversation
Your Render PR Server URL is https://files-ui-stage-pr-1035.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c2hu69b2v8p851phi3i0. |
Just a thought, but if we want unique, reporoducible tests, it is much easier to just generate a random private key for each run |
Yup, this is something I thought about, but the whole login flow then takes much longer. But we can test this out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests look great!
just the one comment about className
I'm giving up on the idea to use the api client module. I agree it would be much better, but this implies to have the right pre-processor for TS to get transpiled.. I have a good chunk wired up here, but I can't manage to make it work: https://github.com/ChainSafe/files-ui/compare/feat/tbaut-upload-test-1021...tbaut-use-clienapi-in-cypress-task?expand=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is obscenely cool
* Fix upload (#1010) * Bulk operations for Bin (#1017) * Set the base for Cypress tests and automation (#1016) * Update Send Feedback Link (#1024) * only enable logging in non-mainnet env (#1020) * Optimize tests (#1027) * fix (#1030) * File browser context provider (#1026) * work on selections (#1029) * Remove release drafter for now (#1038) * Update Readme for tests (#1036) * Delete release_drafter.yml (#1039) * Bulk DND Move files (#1028) * Test file upload (#1035) * Selection removal preventions (#1037) * Theme selection UI fix (#1033) * Update API client (#1032) * make it light and the files blue (#1049) * React-PDF Worker fixes (#1052) * Store screenshots and video of failing tests (#1054) * fix test classes and add rename test (#1055) * Hide date for folders (#1060) * s/testId/testid (#1064) * folder path in route fixed (#1066) * Resolve File Browser race condition (#1069)
closes #1021
Sugar on the cake, extend the
web3Login
method to be able to clean the csf bucket programmatically, so that we land on a clear ground and our tests aren't flaky.