-
Notifications
You must be signed in to change notification settings - Fork 48
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
Faucet website testing #673
Comments
@igamigo this could also be a starting issue; quite self-contained to the faucet. |
By this you mean to provide a stub of the RPC API of the client, right? So as to instantiate a faucet and test the behaviour without needing the full node. I was thinking of implementing a test that would hit the root endpoint and check that all components are displayed. For this, we could use a browser client like fantoccini to make the request and check outputs. If this seems like overkilll, other option is to just use |
Correct yes.
Ah right. My initial thought was
|
There have been several faucet website bugs recently (caused by me) e.g. #671, where various parts of the website aren't served.
It would be nice to test that the website loads correctly. At the moment this isn't trivially possible without actually running the full faucet, which in turn requires a full node.
Ideally the test would be self-contained, i.e.:
The latter would require providing a stub API expected by the webpage.
The text was updated successfully, but these errors were encountered: