# Test SlapJS UI

Test RenderJS UI
assertTextPresent | Done. |
open | ${base_url}/ERP5Site_removeTestUserList |
assertTextPresent | Done. |
assertTextPresent | Done. |
open | ${base_url}/web_site_module/hostingjs/ |
waitForElementPresent | //input[@value='Login'] |
waitForElementPresent | //a[text()=' Subscribe '] |
clickAndWait | //a[text()=' Subscribe '] |
waitForElementPresent | //input[@name='first_name'] |
waitForElementPresent | //input[@name='first_name'] |
waitForElementPresent | //input[@value='Request User'] |
type | //input[@name='first_name'] | Test
type | //input[@name='last_name'] | User
type | //input[@name='default_email_text'] | demo@nexedi.com
type | //input[@name='reference'] | testSlapOSJSSubscribeUser
type | //input[@name='password'] | testSlapOSJSSubscribeUser
type | //input[@name='password_confirmation'] | testSlapOSJSSubscribeUser
type | //input[@name='career_subordination_title'] | testSlapOSJSSubscribeOrganisation
type | //input[@name='default_telefone_text'] | 1234567890
type | //input[@name='default_address_street_address'] | 1234567890
type | //input[@name='default_address_zip_code'] | 75000
type | //input[@name='default_address_city'] | Paris
assertTextPresent | One email will be send to you to confirm your email. |
clickAndWait | //input[@value='Request User'] |
assertTextNotPresent | Selected login is already in use, please choose different one. |
waitForElementPresent | //input[@value='Login'] |
assertTextPresent | Credential Request Created. |
assertTextPresent | Done. |
open | ${base_url}/web_site_module/hostingjs/ |
waitForElementPresent | __ac_name |
type | __ac_name | testSlapOSJSSubscribeUser
type | __ac_password | testSlapOSJSSubscribeUser
waitForElementPresent | //input[@value="Login"] |
clickAndWait | //input[@value="Login"] |
waitForElementPresent | //button[@data-i18n='Menu'] |
click | //button[@data-i18n='Menu'] |
waitForElementPresent | //a[@data-i18n='Logout'] |
click | //a[@data-i18n='Logout'] |
waitForElementPresent | //input[@value='Confirm'] |
click | //input[@value='Confirm'] |
waitForElementPresent | //input[@value='Login'] |