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.
 
 
 
 
 
 

21 line
548 B

  1. var assert = require("assert");
  2. module.exports = {
  3. "Set default options": function(browser) {
  4. browser
  5. .url(browser.launch_url)
  6. .waitForElementVisible("#site")
  7. .setValue("#site", "lesspass.com")
  8. .setValue("#login", "test@lesspass.com")
  9. .click(".showOptions__btn")
  10. .waitForElementVisible("#saveOptions__btn")
  11. .click("#saveOptions__btn")
  12. .click("#title")
  13. .refresh()
  14. .assert.value("#site", "lesspass.com")
  15. .assert.value("#login", "test@lesspass.com");
  16. browser.end();
  17. }
  18. };