Skip to content
Snippets Groups Projects

XX-4050 / Send E2E test

Merged Jono Wenger requested to merge XX-4050/sendE2eTest into release
5 files
+ 38
33
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 18
18
@@ -5,24 +5,24 @@ message to the other.
## Running the Test
First, compile the WASM binary and start the local HTTP server. Refer to
[Testing and Examples](../../README.md#Testing and Examples) in the repository
README for details on how to do this. Open the two clients, the sender and
receiver.
1. First, compile the WASM binary and start the local HTTP server. Refer to
[Testing and Examples](../../README.md#Testing and Examples) in the
repository README for details on how to do this. Open the two clients, the
sender and receiver.
First start the network using the wasm-network.sh script in integration. This
will start all the gateways and client registrar using localhost as their public
IP addresses and the NDF will be provided by the permissioning server rather
than downloaded from a gateway.
2. Next, start the network using the `run.sh` script in the `wasmTest` directory
in integration. This will start all the gateways and client registrar using
localhost as their public IP addresses and the NDF will be provided by the
permissioning server rather than downloaded from a gateway.
Once rounds are running, on the receiver webpage, navigate to the results folder
in integration and select the `permissions-ndfoutput.json` file. Doing this will
start the client. Once the client generates keys and joins the network, it will
prompt its contact file for download. Copy the contents of this file into the
`recipientContactFile` const in `sender.html`.
3. Once rounds are running, on the receiver webpage, navigate to the results
folder in integration and select the `permissions-ndfoutput.json` file. Doing
this will start the client. Once the client generates keys and joins the
network, it will prompt its contact file for download. Copy the contents of
this file into the `recipientContactFile` const in `sender.html`.
On the sender webpage (make sure to refresh the page), select the NDF file as
described for the recipient above. This will start the sender client. Once it
generates its keys and joins the network, it will add the receiver client as a
partner, they will exchange requests and confirmations, and finally, the sender
will send an E2E message to the recipient.
\ No newline at end of file
4. On the sender webpage (make sure to refresh the page), select the NDF file as
described for the recipient above. This will start the sender client. Once it
generates its keys and joins the network, it will add the receiver client as
a partner, they will exchange requests and confirmations, and finally, the
sender will send an E2E message to the recipient.
\ No newline at end of file
Loading