You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
522 B

  1. var assert = require("assert");
  2. module.exports = {
  3. "Password generation key press non regression test #266": function(browser) {
  4. browser
  5. .url(browser.launch_url)
  6. .waitForElementVisible("#site")
  7. .setValue("#site", "lesspass.com")
  8. .setValue("#login", "test@lesspass.com")
  9. .setValue("#passwordField", ["test@lesspass.com", browser.Keys.ENTER])
  10. .waitForElementVisible("#generated-password")
  11. .assert.value("#generated-password", "hjV@\\5ULp3bIs,6B");
  12. browser.end();
  13. }
  14. };