X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fspec%2Ftests.js;h=b5fb4a4ea89a12ea66665bc1cad5092576232327;hb=a44c45e3c06a462e2de609317ba371894ed0ccee;hp=9bbc0bc6749f7ef8dcf313f8dd46a7cae360bf48;hpb=b7de1f3d8956197d0a17ca840a44262158cc8ecb;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 9bbc0bc..b5fb4a4 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js @@ -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", @@ -1271,6 +1290,13 @@ it('Allows selection of HUSH', function(done) { }; testNetwork(done, params); }); +it('Allows selection of ExchangeCoin', function(done) { + var params = { + selectText: "EXCC - ExchangeCoin", + firstAddress: "22txYKpFN5fwGwdSs2UBf7ywewbLM92YqK7E", + }; + testNetwork(done, params); +}); // BIP39 seed is set from phrase @@ -3713,23 +3739,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');