# Test SlapJS UI

Test RenderJS UI
click | //a[@data-i18n="Networks"] |
waitForElementPresent | //a[@data-i18n='Networks'] |
waitForElementPresent | //h1[@data-i18n='Networks'] |
waitForElementPresent | //span[@data-i18n="No records"] |
waitForElementPresent | //a[@data-i18n="Add"] |
click | //a[@data-i18n="Add"] |
waitForElementPresent | //input[@id="title"] |
type | //input[@id="title"] | TEST-SLAPOSJS-NETWORK 0
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="New Network created."] |
waitForElementPresent | //a[@data-i18n="Computer Network :TEST-SLAPOSJS-NETWORK 0"] |
type | //input[@id="title"] | TEST-SLAPOSJS-NETWORK 1
click | //button[@type="submit" and @data-i18n="Save"] |
waitForElementPresent | //button[@type="submit" and text()="Data Updated"] |
pause | 5000 | 5000
click | //a[@data-i18n="Networks"] |
waitForElementPresent | //a[@data-i18n='Networks'] |
waitForElementPresent | //h1[@data-i18n='Networks'] |
waitForElementPresent | //span[@data-i18n="1 Records"] |
waitForElementPresent | //a[text()="TEST-SLAPOSJS-NETWORK 1"] |
click | //a[text()="TEST-SLAPOSJS-NETWORK 1"] |
waitForElementPresent | //a[@data-i18n="Computer Network :TEST-SLAPOSJS-NETWORK 1"] |
waitForElementPresent | //a[@data-i18n="Delete"] |
click | //a[@data-i18n="Delete"] |
waitForElementPresent | //a[@data-i18n="Delete Network: TEST-SLAPOSJS-NETWORK 1"] |
waitForElementPresent | //button[@data-i18n="Proceed"] |
click | //button[@data-i18n="Proceed"] |
waitForElementPresent | //button[@type="submit" and text()="Network is Deleted."] |
waitForElementPresent | //span[@data-i18n="No records"] |