summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2019-05-27 16:18:03 +1000
committerMark Lapierre <mlapierre@gitlab.com>2019-05-27 16:18:03 +1000
commit9fc4ff52a5e5ef2d09583ea0fe26594080fc7739 (patch)
tree44149767b7aee527934598ab7a5f37e36967b553 /qa
parentd7cbeda57ef5e7b7fce50049c3429e5d46c12043 (diff)
downloadgitlab-ce-9fc4ff52a5e5ef2d09583ea0fe26594080fc7739.tar.gz
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.
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb b/qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb
index 46346d1b984..d345fbfe995 100644
--- a/qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb
+++ b/qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb
@@ -12,7 +12,7 @@ module QA
file_content = 'QA Test - File content'
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.content = file_content
file.commit_message = commit_message_for_create