aboutsummaryrefslogtreecommitdiff
path: root/tests/spec
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec')
-rw-r--r--tests/spec/tests.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 4f774e8..f3ffbbf 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -2504,31 +2504,6 @@ it('Uses ltub by default for litecoin, but can be set to xprv', function(done) {
2504 }); 2504 });
2505}); 2505});
2506 2506
2507// BIP32 tab can use P2WPKH Nested In P2SH
2508// github issue 91 part 2
2509// https://github.com/iancoleman/bip39/issues/91
2510// generate new addresses from xpub?
2511it('Uses xprv by default for litecoin, but can be set to ltpv', function(done) {
2512 // use p2wpkh addresses
2513 driver.executeScript(function() {
2514 $(".p2wpkh-nested-in-p2sh").prop("checked", true);
2515 });
2516 // use bip32 tab
2517 driver.findElement(By.css('#bip32-tab a'))
2518 .click()
2519 // use testnet
2520 selectNetwork("BTC - Bitcoin Testnet");
2521 // Set root xpub to BIP49 official test vector account 0
2522 driver.findElement(By.css('.root-key'))
2523 .sendKeys("tpubDD7tXK8KeQ3YY83yWq755fHY2JW8Ha8Q765tknUM5rSvjPcGWfUppDFMpQ1ScziKfW3ZNtZvAD7M3u7bSs7HofjTD3KP3YxPK7X6hwV8Rk2");
2524 driver.sleep(generateDelay).then(function() {
2525 getFirstAddress(function(address) {
2526 expect(address).toBe("2Mww8dCYPUpKHofjgcXcBCEGmniw9CoaiD2");
2527 done();
2528 });
2529 });
2530});
2531
2532// github issue 99 2507// github issue 99
2533// https://github.com/iancoleman/bip39/issues/99#issuecomment-327094159 2508// https://github.com/iancoleman/bip39/issues/99#issuecomment-327094159
2534// "warn me emphatically when they have detected invalid input" to the entropy field 2509// "warn me emphatically when they have detected invalid input" to the entropy field