# Test SlapJS UI

Test RenderJS UI
click | //a[@data-i18n="Services" and @accesskey="l"] |
waitForElementPresent | //a[@data-i18n='Services' and @accesskey="u"] |
waitForElementPresent | //h1[@data-i18n='Services'] |
waitForElementPresent | //span[@data-i18n="No records"] |
waitForElementPresent | //a[@data-i18n="Add"] |
click | //a[@data-i18n="Add"] |
waitForElementPresent | //h1[@data-i18n='Software Products'] |
waitForElementPresent | //td/a[text()="Frontend"] |
click | //td/a[text()="Frontend"] |
waitForElementPresent | //h1[@data-i18n='Software Releases'] |
waitForElementPresent | //td/a[text()="Frontend"] |
click | //td/a[text()="Frontend"] |
waitForElementPresent | //span[@data-i18n="Request Service: Frontend"] |
waitForElementPresent | //input[@id="title"] |
type | //input[@id="title"] | TEST-SLAPOSJS-SERVICE-FRONTEND 0
waitForElementPresent | //input[@name="//public-ipv4"] |
type | //input[@name="//public-ipv4"] | http://www.erp5.com
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="New service created."] |
pause | 5000 | 5000
click | //a[@data-i18n="Services" and @accesskey="l"] |
waitForElementPresent | //a[@data-i18n='Services' and @accesskey="u"] |
waitForElementPresent | //h1[@data-i18n='Services'] |
waitForElementPresent | //span[@data-i18n="1 Records"] |
waitForElementPresent | //a[text()="TEST-SLAPOSJS-SERVICE-FRONTEND 0"] |
click | //a[text()="TEST-SLAPOSJS-SERVICE-FRONTEND 0"] |
waitForElementPresent | //a[@data-i18n="Hosting Subscription: TEST-SLAPOSJS-SERVICE-FRONTEND 0"] |
waitForElementPresent | //a[@data-i18n="Destroy"] |
click | //a[@data-i18n="Destroy"] |
waitForElementPresent | //a[@data-i18n="Destroy Hosting Subscription: TEST-SLAPOSJS-SERVICE-FRONTEND 0"] |
waitForElementPresent | //button[@data-i18n="Proceed"] |
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="Service is Destroyed."] |
waitForElementPresent | //span[@data-i18n="No records"] |
-->