diff options
author | Ian Coleman <ian@iancoleman.io> | 2019-12-18 10:57:29 +1100 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2019-12-18 10:57:29 +1100 |
commit | 206cbafceb0ebaa2c70bfbb6c62eb0231904ddc8 (patch) | |
tree | 9461a9d8ddfdd37a072128d47bc6f20ef55debb5 /tests | |
parent | 9cf02dd452bec4d0fe4e894dbe19f0b4f7ddc50a (diff) | |
download | BIP39-206cbafceb0ebaa2c70bfbb6c62eb0231904ddc8.tar.gz BIP39-206cbafceb0ebaa2c70bfbb6c62eb0231904ddc8.tar.zst BIP39-206cbafceb0ebaa2c70bfbb6c62eb0231904ddc8.zip |
Remove pending from some tests using chrome
Unfortunately firefox pending tests still do not work.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/tests.js | 8 |
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 | ||
2013 | it('Confirms the existing phrase should be cleared', function(done) { | 2012 | it('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 | ||
2031 | it('Allows the clearing of the phrase to be cancelled', function(done) { | 2026 | it('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() { |