Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
34773c24
Commit
34773c24
authored
Jan 21, 2022
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E2E: Improve expectation errors for gitlab migration specs
parent
9d52d643
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
qa/qa/specs/features/api/1_manage/migration/gitlab_migration_issue_spec.rb
...res/api/1_manage/migration/gitlab_migration_issue_spec.rb
+2
-2
qa/qa/specs/features/api/1_manage/migration/gitlab_migration_mr_spec.rb
...atures/api/1_manage/migration/gitlab_migration_mr_spec.rb
+1
-1
No files found.
qa/qa/specs/features/api/1_manage/migration/gitlab_migration_issue_spec.rb
View file @
34773c24
...
...
@@ -40,13 +40,13 @@ module QA
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347608'
)
do
expect_import_finished
expect
(
imported_issues
.
count
).
to
eq
(
1
)
aggregate_failures
do
expect
(
imported_issues
.
count
).
to
eq
(
1
)
expect
(
imported_issue
).
to
eq
(
source_issue
.
reload!
)
expect
(
imported_comments
.
count
).
to
eq
(
1
)
expect
(
imported_comments
.
first
[
:body
]
).
to
include
(
source_comment
[
:body
])
expect
(
imported_comments
.
first
&
.
fetch
(
:body
)
).
to
include
(
source_comment
[
:body
])
end
end
end
...
...
qa/qa/specs/features/api/1_manage/migration/gitlab_migration_mr_spec.rb
View file @
34773c24
...
...
@@ -52,9 +52,9 @@ module QA
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348478'
)
do
expect_import_finished
expect
(
imported_mrs
.
count
).
to
eq
(
1
)
aggregate_failures
do
expect
(
imported_mrs
.
count
).
to
eq
(
1
)
# TODO: remove custom comparison after member migration is implemented
# https://gitlab.com/gitlab-org/gitlab/-/issues/341886
expect
(
imported_mr
.
comparable
.
except
(
:author
)).
to
eq
(
source_mr
.
reload!
.
comparable
.
except
(
:author
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment