X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fspec%2Ftests.js;h=4d924717bd084c769a81b031a2b5a02205b9ab5f;hb=7878bb3295e0204b1917fd37680053641950c6a5;hp=b1e333cc49fd184b775c98ff0e60d71ee7248fa1;hpb=44a5d363c77e0330278f1fc14a13ae2a7b444c52;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/tests/spec/tests.js b/tests/spec/tests.js index b1e333c..4d92471 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js @@ -707,7 +707,7 @@ it('Allows selection of Bitcoinz', function(done) { it('Allows selection of Bitcore', function(done) { var params = { selectText: "BTX - Bitcore", - firstAddress: "1Dg18EtqhReS11e9h8khkLjWGLHVjPM2AB", + firstAddress: "2Rgp5Znhpy34TK4QmPkfCiYs9r4KovfTH9", }; testNetwork(done, params); }); @@ -1075,6 +1075,11 @@ it('Allows selection of Rubycoin', function(done) { }; testNetwork(done, params); }); +it('Allows selection of Salus', function(done) { + var params = { + selectText: "SLS - Salus", + firstAddress: "SgdYBmVytcW2aCYitdegwkUcCU7RSqYokB", + }; it('Allows selection of Smileycoin', function(done) { var params = { selectText: "SMLY - Smileycoin", @@ -1089,6 +1094,20 @@ it('Allows selection of Solarcoin', function(done) { }; testNetwork(done, params); }); +it('Allows selection of stash', function(done) { + var params = { + selectText: "STASH - Stash", + firstAddress: "XxwAsWB7REDKmAvHA85SbEZQQtpxeUDxS3", + }; + testNetwork(done, params); +}); +it('Allows selection of stash testnet', function(done) { + var params = { + selectText: "STASH - Stash Testnet", + firstAddress: "YdbhtMuGsPSkE6bPdNTHoFSszQKmK4S5LT", + }; + testNetwork(done, params); +}); it('Allows selection of Stratis', function(done) { var params = { selectText: "STRAT - Stratis", @@ -1264,6 +1283,13 @@ it('Allows selection of Callisto', function(done) { }; testNetwork(done, params); }); +it('Allows selection of HUSH', function(done) { + var params = { + selectText: "HUSH - Hush", + firstAddress: "t1g6rLXUnJaiJuu4q4zmJjoa9Gk4fwKpiuA", + }; + testNetwork(done, params); +}); // BIP39 seed is set from phrase @@ -3706,23 +3732,6 @@ it('Does not show a warning if entropy is stronger than mnemonic length', functi }); }); -it('Shows a warning for litecoin BIP84 (which does not have p2wpkh params)', function(done) { - driver.findElement(By.css('.phrase')) - .sendKeys('abandon abandon ability'); - selectNetwork("LTC - Litecoin"); - driver.findElement(By.css('#bip84-tab a')) - .click() - // bip84 unavailable is shown - driver.sleep(feedbackDelay).then(function() { - driver.findElement(By.css('#bip84 .unavailable')) - .getAttribute("class") - .then(function(classes) { - expect(classes).not.toContain("hidden"); - done(); - }); - }); -}); - it('Shows litecoin BIP49 addresses', function(done) { driver.findElement(By.css('.phrase')) .sendKeys('abandon abandon ability');