Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

28 rindas
993 B

  1. var assert = require("assert");
  2. module.exports = {
  3. "Login logout tests": function(browser) {
  4. browser
  5. .url(browser.launch_url)
  6. .waitForElementVisible(".fa-sign-in")
  7. .click(".fa-sign-in")
  8. .waitForElementVisible("#baseURL")
  9. .assert.value("#baseURL", "https://lesspass.com")
  10. .setValue("#email", "test@lesspass.com")
  11. .setValue("#passwordField", "test@lesspass.com")
  12. .waitForElementVisible("#fingerprint .fa-cutlery")
  13. .waitForElementVisible("#fingerprint .fa-subway")
  14. .waitForElementVisible("#fingerprint .fa-plane")
  15. .waitForElementVisible("#encryptMasterPassword__btn")
  16. .click("#encryptMasterPassword__btn")
  17. .waitForElementVisible("#fingerprint .fa-university")
  18. .waitForElementVisible("#fingerprint .fa-btc")
  19. .waitForElementVisible("#fingerprint .fa-subway")
  20. .waitForElementVisible("#signInButton")
  21. .click("#signInButton")
  22. .waitForElementVisible("#site");
  23. browser.end();
  24. }
  25. };