]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - tests/spec/tests.js
Fix test failing due to timeout
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / tests / spec / tests.js
index cba2a746d66beb1d52195c843ebdcc07fda9f0ea..ab82e2e09d92b1528348aee88c7a333109d71850 100644 (file)
@@ -2174,6 +2174,7 @@ it('Ignores excess whitespace in the mnemonic', function(done) {
 
 // Github Issue 23: Part 1: Use correct derivation path when changing tabs
 // https://github.com/iancoleman/bip39/issues/23
+// This test was failing for default timeout of 5000ms so changed it to +10s
 it('Uses the correct derivation path when changing tabs', function(done) {
     // 1) and 2) set the phrase
     driver.findElement(By.css('.phrase'))
@@ -2198,7 +2199,7 @@ it('Uses the correct derivation path when changing tabs', function(done) {
             });
         });
     });
-});
+}, generateDelay + 10000);
 
 // Github Issue 23 Part 2: Coin selection in derivation path
 // https://github.com/iancoleman/bip39/issues/23#issuecomment-238011920