diff options
author | zr <zr@coinhub.dev> | 2020-10-05 12:04:14 +0800 |
---|---|---|
committer | zr <zr@coinhub.dev> | 2020-10-05 12:04:14 +0800 |
commit | 47dbf58b6d499230eb07f7ea126af6b367e9039b (patch) | |
tree | f5dac506dcbc4ed831b6fc147af3963df2e7b1cd | |
parent | d7125cda1d60199016272c34b2ce740f06077293 (diff) | |
download | BIP39-47dbf58b6d499230eb07f7ea126af6b367e9039b.tar.gz BIP39-47dbf58b6d499230eb07f7ea126af6b367e9039b.tar.zst BIP39-47dbf58b6d499230eb07f7ea126af6b367e9039b.zip |
Add testcase for TRX
-rw-r--r-- | tests/spec/tests.js | 11 |
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 | ||
2279 | it('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 |
2280 | it('Sets the bip39 seed from the prhase', function(done) { | 2291 | it('Sets the bip39 seed from the prhase', function(done) { |
2281 | driver.findElement(By.css('.phrase')) | 2292 | driver.findElement(By.css('.phrase')) |