Commit 9fc4ff52 authored by Mark Lapierre's avatar Mark Lapierre

Add file via browser when testing the UI

Now that it's possible to add a file via the API
we need to make sure the UI test uses the
browser UI fabrication, not the API.
parent d7cbeda5
...@@ -12,7 +12,7 @@ module QA ...@@ -12,7 +12,7 @@ module QA
file_content = 'QA Test - File content' file_content = 'QA Test - File content'
commit_message_for_create = 'QA Test - Create new file' commit_message_for_create = 'QA Test - Create new file'
Resource::File.fabricate! do |file| Resource::File.fabricate_via_browser_ui! do |file|
file.name = file_name file.name = file_name
file.content = file_content file.content = file_content
file.commit_message = commit_message_for_create file.commit_message = commit_message_for_create
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment