aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorzr <zr@coinhub.dev>2020-10-05 12:04:14 +0800
committerzr <zr@coinhub.dev>2020-10-05 12:04:14 +0800
commit47dbf58b6d499230eb07f7ea126af6b367e9039b (patch)
treef5dac506dcbc4ed831b6fc147af3963df2e7b1cd /tests
parentd7125cda1d60199016272c34b2ce740f06077293 (diff)
downloadBIP39-47dbf58b6d499230eb07f7ea126af6b367e9039b.tar.gz
BIP39-47dbf58b6d499230eb07f7ea126af6b367e9039b.tar.zst
BIP39-47dbf58b6d499230eb07f7ea126af6b367e9039b.zip
Add testcase for TRX
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/tests.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 14cdb8e..d73f17d 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -2276,6 +2276,17 @@ it('Allows selection of Scribe', function(done) {
2276 testNetwork(done, params); 2276 testNetwork(done, params);
2277}); 2277});
2278 2278
2279it('Allows selection of TRX on Tron', function(done) {
2280 var params = {
2281 selectText: "TRX - Tron",
2282 phrase: "abandon abandon ability",
2283 firstAddress: "TA891Fu7vVz595BGQpNX2MCzr7yBcxuoC7",
2284 firstPubKey: "0337bbb060e6166066f7f9e59e52f67bc23a6c9d0cbc815b82b6d89112444842e7",
2285 firstPrivKey: "3a8fbd0379a815764979de86a3fcda759cb62d49e784e7b2a9a03206c90cfae2",
2286 };
2287 testNetwork(done, params);
2288});
2289
2279// BIP39 seed is set from phrase 2290// BIP39 seed is set from phrase
2280it('Sets the bip39 seed from the prhase', function(done) { 2291it('Sets the bip39 seed from the prhase', function(done) {
2281 driver.findElement(By.css('.phrase')) 2292 driver.findElement(By.css('.phrase'))