aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2019-11-11 10:11:40 +1100
committerIan Coleman <ian@iancoleman.io>2019-11-11 10:11:40 +1100
commit659b06a7b8fac1ba723f0bf95e5d8f630619e2f2 (patch)
treec0540f17dde93a85271cdb2cabcd6ec36ccd9395 /tests
parent653538cd3a8e5e8432df7da7299cff5306389889 (diff)
downloadBIP39-659b06a7b8fac1ba723f0bf95e5d8f630619e2f2.tar.gz
BIP39-659b06a7b8fac1ba723f0bf95e5d8f630619e2f2.tar.zst
BIP39-659b06a7b8fac1ba723f0bf95e5d8f630619e2f2.zip
Test for Pull Request 271
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/tests.js17
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
4123fit('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});