[Test] spec/services/notes/quick_actions_service_spec.rb | Notes::QuickActionsService#execute behaves like note on noteable that supports quick actions /add_child when using work item iid behaves like adds child work items adds child work items
Test metadata (don't modify)
Field | Value |
---|---|
File URL | spec/services/notes/quick_actions_service_spec.rb#L580 |
Filename | spec/services/notes/quick_actions_service_spec.rb |
Description | Notes::QuickActionsService#execute behaves like note on noteable that supports quick actions /add_child when using work item iid behaves like adds child work items adds child work items |
Test level | unit |
Hash | 92893a36a7e473b97081d8f8367224d506607dbf0 |
Reference duration | 0.57 seconds |
Expected duration | < 45.4 seconds |
Stack trace
Failure/Error: expect(noteable.work_item_children).to eq(children)
expected: [#<WorkItem id:125 namespace1/project-1#2>, #<WorkItem id:126 namespace1/project-1#3>]
got: #<ActiveRecord::Associations::CollectionProxy []>
(compared using ==)
Diff:
@@ -1,3 +1,2 @@
-[#<WorkItem id:125 namespace1/project-1#2>,
- #<WorkItem id:126 namespace1/project-1#3>]
+[]
Shared Example Group: "adds child work items" called from ./spec/services/notes/quick_actions_service_spec.rb:378
Shared Example Group: "note on noteable that supports quick actions" called from ./spec/services/notes/quick_actions_service_spec.rb:580
Reports (4)
- 2024-04-10: https://gitlab.com/gitlab-org/gitlab/-/jobs/6587825171 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1246701396)
- 2024-04-04: https://gitlab.com/gitlab-org/gitlab/-/jobs/6543556840 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1239274873)
- 2024-03-29: https://gitlab.com/gitlab-org/gitlab/-/jobs/6507755790 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1232761628)
- 2024-03-25: https://gitlab.com/gitlab-org/gitlab/-/jobs/6473071424 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1226924681)
Edited by TEST_FAILURES_PROJECT_TOKEN