]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
remove space
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index b1e333cc49fd184b775c98ff0e60d71ee7248fa1..0570514021917db9e9be7daff8e7edc1c668cd9d 100644 (file)
@@ -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);
 });
@@ -1089,6 +1089,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 +1278,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 +3727,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');