aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2019-12-18 10:32:25 +1100
committerIan Coleman <ian@iancoleman.io>2019-12-18 10:32:25 +1100
commit9cf02dd452bec4d0fe4e894dbe19f0b4f7ddc50a (patch)
tree1c4a4c133eca5a1621d25450ee2d80d1d85268fb /tests
parentf12242014d1ed5c7606c3350a9780c3883abc565 (diff)
downloadBIP39-9cf02dd452bec4d0fe4e894dbe19f0b4f7ddc50a.tar.gz
BIP39-9cf02dd452bec4d0fe4e894dbe19f0b4f7ddc50a.tar.zst
BIP39-9cf02dd452bec4d0fe4e894dbe19f0b4f7ddc50a.zip
Make seed field editable
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/tests.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 260ff2c..0e93343 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -4336,4 +4336,17 @@ it('Allows entropy type to be manually selected', function(done) {
4336 }); 4336 });
4337}); 4337});
4338 4338
4339// https://github.com/iancoleman/bip39/issues/388
4340// Make field for bip39 seed editable
4341it('Generates addresses when seed is set', function(done) {
4342 driver.findElement(By.css('.seed'))
4343 .sendKeys("20da140d3dd1df8713cefcc4d54ce0e445b4151027a1ab567b832f6da5fcc5afc1c3a3f199ab78b8e0ab4652efd7f414ac2c9a3b81bceb879a70f377aa0a58f3");
4344 driver.sleep(generateDelay).then(function() {
4345 getFirstAddress(function(address) {
4346 expect(address).toBe("1Di3Vp7tBWtyQaDABLAjfWtF6V7hYKJtug");
4347 done();
4348 });
4349 });
4350});
4351
4339}); 4352});