npm start
1. send a normal XEC tx with no message to ensure no regression
2. send an unencrypted message from wallet A to wallet B, ensure no regression and both wallets can view the message in tx history
3. send an encrypted message from wallet A to wallet B, ensure only wallet B can view the decrypted message in tx history and that wallet A sees an "Only the message recipient can view this" message in red italics, and wallet B sees the decrypted message in normal black font.
4. send a short 3 character message in encrypted mode to wallet B
5. send a long 94 character message in encrypted mode to wallet B
6. input a 160 character message in unencrypted mode then switch to encrypted mode and ensure the input is truncated up to the allowed 94 character limit. Send this message and ensure the underlying message sent is the 94 character message.
7. Repeat step 5 except send it in unencrypted form and ensure the full 160 characters is sent despite switching to the truncated encrypted view.
8. send an encrypted message to a newly created wallet with no transactions and ensure the 'Cannot send an encrypted message to a wallet with no outgoing transactions' error is displayed.
9. send an encrypted message to a newly created wallet with incoming transactions but no outbound transactions and ensure the 'Cannot send an encrypted message to a wallet with no outgoing transactions' error is displayed.
10. use the newly created wallet to send an outbound XEC transaction. Then ensure wallet A is able to now successfully send an encrypted message to this newly created wallet and wallet B can decrypt successfully.
11. send an encrypted message from wallet A to wallet A, ensure wallet A can view an encrypted message to itself in tx history
12. switch to multiple recipients mode and ensure the encryption switch and the alert is not rendered
13. send multi recipient tx and ensure no unintended encryption
14. send multi recipient tx with a message and ensure no unintended encryption
15. check the TX ID for one of the above encrypted messages in blockchain, abc explorer and be.cash explorer, and ensure the message is not legible