Commit df14a8b0 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'shorten-test-code-3' into 'master'

Shorten test code

See merge request gitlab-org/gitlab!23073
parents b542296c c2fc5013
...@@ -27,11 +27,10 @@ module QA ...@@ -27,11 +27,10 @@ module QA
Flow::Project.add_member(project: project, username: user.username) Flow::Project.add_member(project: project, username: user.username)
issue = Resource::Issue.fabricate_via_api! do |issue| Resource::Issue.fabricate_via_api! do |issue|
issue.title = 'issue title' issue.title = 'issue title'
issue.project = project issue.project = project
end end.visit!
issue.visit!
Page::Project::Issue::Show.perform do |show| Page::Project::Issue::Show.perform do |show|
show.select_all_activities_filter show.select_all_activities_filter
......
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