diff options
-rw-r--r-- | tests/spec/tests.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 1725a2d..977294c 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js | |||
@@ -4118,4 +4118,21 @@ it('Can use root keys to generate segwit table rows', function(done) { | |||
4118 | }); | 4118 | }); |
4119 | }); | 4119 | }); |
4120 | 4120 | ||
4121 | // Pull Request 271 | ||
4122 | // Allow converting mnemonic back to raw entropy value | ||
4123 | fit('Converts mnemonics into raw entropy', function(done) { | ||
4124 | driver.findElement(By.css('.phrase')) | ||
4125 | .sendKeys('abandon abandon about'); | ||
4126 | driver.sleep(generateDelay).then(function() { | ||
4127 | driver.findElement(By.css('.use-entropy')) | ||
4128 | .click(); | ||
4129 | driver.findElement(By.css('.entropy')) | ||
4130 | .getAttribute("value") | ||
4131 | .then(function(entropy) { | ||
4132 | expect(entropy).toBe("00000001"); | ||
4133 | done(); | ||
4134 | }); | ||
4135 | }); | ||
4136 | }); | ||
4137 | |||
4121 | }); | 4138 | }); |