Show the checksum value in the entropy details

This commit is contained in:
Ian Coleman
2018-03-12 10:23:28 +11:00
parent d6cade868f
commit 09d63290a4
3 changed files with 44 additions and 0 deletions

View File

@@ -2922,4 +2922,19 @@ it('Can encrypt private keys using BIP38', function(done) {
});
}, bip38delay + 5000);
it('Shows the checksum for the entropy', function(done) {
driver.findElement(By.css('.use-entropy'))
.click();
driver.findElement(By.css('.entropy'))
.sendKeys("00000000000000000000000000000000");
driver.sleep(generateDelay).then(function() {
driver.findElement(By.css('.checksum'))
.getText()
.then(function(text) {
expect(text).toBe("1");
done();
});
});
});
});