aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/tests.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 0e93343..7710b7a 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -2009,11 +2009,7 @@ it('Allows the user to set the BIP32 root key', function(done) {
2009}); 2009});
2010 2010
2011// Setting BIP32 root key clears the existing phrase, passphrase and seed 2011// Setting BIP32 root key clears the existing phrase, passphrase and seed
2012// TODO this doesn't work in selenium with chrome
2013it('Confirms the existing phrase should be cleared', function(done) { 2012it('Confirms the existing phrase should be cleared', function(done) {
2014 if (browser == "chrome") {
2015 pending("Selenium + Chrome headless bug for alert, see https://stackoverflow.com/q/45242264");
2016 }
2017 driver.findElement(By.css('.phrase')) 2013 driver.findElement(By.css('.phrase'))
2018 .sendKeys('A non-blank but invalid value'); 2014 .sendKeys('A non-blank but invalid value');
2019 driver.findElement(By.css('.root-key')) 2015 driver.findElement(By.css('.root-key'))
@@ -2027,11 +2023,7 @@ it('Confirms the existing phrase should be cleared', function(done) {
2027}); 2023});
2028 2024
2029// Clearing of phrase, passphrase and seed can be cancelled by user 2025// Clearing of phrase, passphrase and seed can be cancelled by user
2030// TODO this doesn't work in selenium with chrome
2031it('Allows the clearing of the phrase to be cancelled', function(done) { 2026it('Allows the clearing of the phrase to be cancelled', function(done) {
2032 if (browser == "chrome") {
2033 pending("Selenium + Chrome headless bug for alert, see https://stackoverflow.com/q/45242264");
2034 }
2035 driver.findElement(By.css('.phrase')) 2027 driver.findElement(By.css('.phrase'))
2036 .sendKeys('abandon abandon ability'); 2028 .sendKeys('abandon abandon ability');
2037 driver.sleep(generateDelay).then(function() { 2029 driver.sleep(generateDelay).then(function() {