Commit 33d23d98 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'acunskis-improve-error-message' into 'master'

E2E: Print full failures object in project migration spec

See merge request gitlab-org/gitlab!74510
parents 27226790 16ae5e97
...@@ -83,7 +83,7 @@ module QA ...@@ -83,7 +83,7 @@ module QA
aggregate_failures do aggregate_failures do
expect(imported_projects.first).to eq(source_project) expect(imported_projects.first).to eq(source_project)
expect(project_import_failures).to be_empty expect(project_import_failures).to be_empty, "Expected no errors, was: #{project_import_failures}"
end end
end end
end end
...@@ -125,7 +125,7 @@ module QA ...@@ -125,7 +125,7 @@ module QA
aggregate_failures do aggregate_failures do
expect(imported_issues.count).to eq(1) expect(imported_issues.count).to eq(1)
expect(imported_issue.reload!).to eq(source_issue) expect(imported_issue.reload!).to eq(source_issue)
expect(project_import_failures).to be_empty expect(project_import_failures).to be_empty, "Expected no errors, was: #{project_import_failures}"
end end
end end
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