-
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
Programmatic folder creation for tests #1430
Conversation
Your Render PR Server URL is https://storage-ui-stage-pr-1430.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c4951rs6fj33r8n5t2rg. |
Your Render PR Server URL is https://gaming-ui-stage-pr-1430.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c4951sc6fj33r8n5t3k0. |
Your Render PR Server URL is https://gaming-ui-stage-pr-1430-kemy.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c4951sc6fj33r8n5t3kg. |
Your Render PR Server URL is https://files-ui-stage-pr-1430.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c4951ss6fj33r8n5t5jg. |
This is going to be great, thank you for doing this 😃 This is very useful and efficient to use in the scenarios when we need a folder as a requisite for a test but are not testing the folder creation directly. |
I was just experimenting with this new functionality and found a few issues -
Perhaps for reliability the api test helper should confirm the intended creation / deletion was completed before exiting? I was using this custom test to check the new command:
|
….com:ChainSafe/ui-monorepo into feat/tbaut-programmatic-folder-creation-1410
@asnaith feel free to check my 5841a94 commit. I've tried to do the check after the folder elegantly, but it basically fails because of other things. I really think we need to get this flow together, I've added logs and when running the test we can see that they are fired in an order that doesn't work at all. |
@Tbaut It's looking good in code but I can't get it to run successfully Seeing this error which seems to come after trying to clear the bucket also this when trying to assert on the folder name I can look into it more tomorrow |
This pull request introduces 2 alerts when merging 2268162 into 51808aa - view on LGTM.com new alerts:
|
I managed to beat the monster. The trick is: use |
This is fantastic, tried it out and it's working great! 🥳 The whole test suite is going to be more efficient and reliable with this in place. Thank you 🙏 |
closes #1410