# Test SlapJS UI

Test RenderJS UI
Request a Software
Select a Software Product
waitForElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//h1[contains(text(), 'Software Products')] |
assertElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//h1[contains(text(), 'Software Products')] |
waitForElementPresent | //td/a[text()="Frontend"] |
click | //td/a[text()="Frontend"] |
Select a Software Release
waitForElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//h1[contains(text(), 'Software Releases')] |
assertElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//h1[contains(text(), 'Software Releases')] |
click | //td/a[text()="Frontend"] |
Fill Request form
waitForElementPresent | //input[@id="title"] |
type | //input[@id="title"] | TEST-SLAPOSJS-SERVICE-FRONTEND 0
waitForElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"] |
assertElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"] |
waitForElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[text()="Custom Personal"] |
assertElementPresent | //div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"]//option[text()="Custom Personal"] |
select | //div[contains(@data-gadget-url, 'gadget_erp5_page_slap_parameter_form.html')]//select[@name="software_type"] | Custom Personal
waitForElementPresent | //input[@name="//public-ipv4"] |
type | //input[@name="//public-ipv4"] | http://www.erp5.com
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"] |