# Test SlapJS UI

Test RenderJS UI
click | //a[@data-i18n="Account"] |
waitForElementPresent | //a[@data-i18n='Account'] |
waitForElementPresent | //a[@data-i18n='Your Account : Demo User Functional'] |
waitForElementPresent | //label[text()="First Name"] |
waitForElementPresent | //label[text()="Last Name"] |
waitForElementPresent | //label[text()="Email"] |
type | //input[@id="first_name"] | DEMO A
type | //input[@id="last_name"] | DEMO B
type | //input[@id="default_email_text"] | demoA@nexedi.com
waitForElementPresent | //button[@data-i18n="Save"] |
click | //button[@data-i18n="Save"] |
waitForElementPresent | //button[@type="submit" and text()="Data Updated"] |
waitForElementPresent | //a[@data-i18n="Token"] |
click | //a[@data-i18n="Token"] |
waitForElementPresent | //a[@data-i18n="Request New Token"] |
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="Token is Requested."] |
waitForElementPresent | //label[text()="Your Token"] |
click | //a[@data-i18n="Request New Token"] |
waitForElementPresent | //a[@data-i18n="Request Certificate"] |
click | //a[@data-i18n="Request Certificate"] |
waitForElementPresent | //a[@data-i18n="Request New Certificate"] |
waitForElementPresent | //button[@data-i18n="Proceed"] |
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="Certificate is Requested."] |
waitForElementPresent | //textarea[@name="certificate"] |
waitForElementPresent | //textarea[@name="key"] |
waitForElementPresent | //a[@data-i18n="Request New Certificate"] |
click | //a[@data-i18n="Request New Certificate"] |
waitForElementPresent | //a[@data-i18n="Request Certificate"] |
click | //a[@data-i18n="Request Certificate"] |
waitForElementPresent | //a[@data-i18n="Request New Certificate"] |
waitForElementPresent | //button[@data-i18n="Proceed"] |
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="This person already has one certificate, please revoke it before request a new one.."] |
waitForElementPresent | //a[@data-i18n="Request New Certificate"] |
click | //a[@data-i18n="Request New Certificate"] |
waitForElementPresent | //a[@data-i18n="Revoke Certificate"] |
click | //a[@data-i18n="Revoke Certificate"] |
waitForElementPresent | //a[@data-i18n="Revoke Person Certificate"] |
waitForElementPresent | //button[@data-i18n="Proceed"] |
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="Certificate is Revoked."] |