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

Merge branch 'simplify-issues_weight-e2e-test' into 'master'

Simplify the "issues weight" end-to-end test

See merge request gitlab-org/gitlab!21754
parents aef7e5b0 34f47ffd
...@@ -7,15 +7,8 @@ module QA ...@@ -7,15 +7,8 @@ module QA
Flow::Login.sign_in Flow::Login.sign_in
end end
let(:project) do
QA::Resource::Project.fabricate_via_api! do |project|
project.name = 'the-lord-of-the-rings'
end
end
let(:milestone) do let(:milestone) do
QA::EE::Resource::ProjectMilestone.fabricate_via_api! do |m| QA::EE::Resource::ProjectMilestone.fabricate_via_api! do |m|
m.project = project
m.title = 'the-fellowship-of-the-ring' m.title = 'the-fellowship-of-the-ring'
end end
end end
...@@ -25,7 +18,7 @@ module QA ...@@ -25,7 +18,7 @@ module QA
let(:issue) do let(:issue) do
Resource::Issue.fabricate_via_api! do |issue| Resource::Issue.fabricate_via_api! do |issue|
issue.milestone = milestone issue.milestone = milestone
issue.project = project issue.project = milestone.project
issue.title = 'keep-the-ring-safe' issue.title = 'keep-the-ring-safe'
issue.weight = weight issue.weight = weight
end end
......
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