]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
Merge pull request #249 from harzo/task/add-exchangecoin
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index b1e333cc49fd184b775c98ff0e60d71ee7248fa1..b5fb4a4ea89a12ea66665bc1cad5092576232327 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);
 });
@@ -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,20 @@ 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);
+});
+it('Allows selection of ExchangeCoin', function(done) {
+    var params = {
+        selectText: "EXCC - ExchangeCoin",
+        firstAddress: "22txYKpFN5fwGwdSs2UBf7ywewbLM92YqK7E",
+    };
+    testNetwork(done, params);
+});
 
 
 // BIP39 seed is set from phrase
@@ -3706,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');