Test Purpose: After the user arrives on the home page verify the create file feature
Steps:
Naviage to the home page
Enter a file name in the Create Tmp File text field
Click the Create Tmp File submit button
Verify a message is displayed on the home page that the file was created
Login to the remote machine and ensure that the file exists
# File /home/cliff/l_bkup/svn/co/cyberconnect/qa_robusta/qa_observer/sites/demo/test_cases/home_page.rb, line 77 def test_file_created @demo_flows.home @demo_flows.home_page.create_file_text_field.set('blah') @demo_flows.home_page.submit_create_file.click wait_for(2) { @demo_flows.home_page.file_status.text != '' } assert_equal 'file created', @demo_flows.home_page.file_status.text assert @remote_unix.file_exists?('/tmp/blah') end