Enable testing name registrations #1679
Comments
Yes there is a test registrar setup, the url is in the settings defaults: I've been creating a large number of testing ID's on the id.blockstack registrar as well. I don't think it has any significant negative effects. But if it does I'm on board with using the test registrar. There is also the problem of running into rate limiting on the registrar when registering too many test usernames. We can get around this by setting an authorization header with an API key in the registration request. I propose we add a URL param to indicate that it should run in testing mode and pass in the API key. (The automated end-to-end browser tests will also benefit from this) |
Nice, thanks. I think a negative side effect of this is that it |
@yknl do you have availability to work on this? |
I may be able to get this next week. |
@yknl were you able to address this after all? |
Matt has implemented a flag you can set to use the test registrar. It requires you to use the JavaScript console, but since this is really just for internal use, that seems fine to me
…On Thu, Mar 7 2019 at 8:05 AM, < ***@***.*** > wrote:
@yknl ( https://github.com/yknl ) were you able to address this after all?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
#1679 (comment)
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/ABDsQm9ncvY6Slngbe8kvLokNbU-tvFbks5vUTjcgaJpZM4W0XbO
).
|
@hstove Cool, is this issue good to close out then? |
Yes, I think so. |
When we are working on / updating functionality / ui work for the onboarding, we tend to make a new account each time we have to go through the flow. This ends up being not a small number of new(fake) accounts.
I suggest we have a flag env that we pass when we're testing, eg
process.env.STAGE
or something to that effect which would switch out the registrar url for another name, eg*.test-blockstack.id
. @kantai we have a test registrar set up already, correct? if so what is that url?cc @yknl
The text was updated successfully, but these errors were encountered: