+ assert page.has_button?('Send problem report'), 'Send problem report button not enabled after entering text'
+ click_button 'Send problem report'
+
+ # ajax success updated button texts and added footer message
+ assert page.has_no_text?('Send problem report'), 'Found button - Send problem report'
+ assert page.has_no_button?('Cancel'), 'Found button - Cancel'
+ assert page.has_text?('Report sent'), 'No text - Report sent'
+ assert page.has_button?('Close'), 'No button - Close'
+ assert page.has_text?('Thanks for reporting this issue'), 'No text - Thanks for reporting this issue'
+
+ click_button 'Close'