From 653b2a7630a83a874a90ffca6bcb8275c46d7e87 Mon Sep 17 00:00:00 2001 From: Jack Chapman Date: Mon, 15 Dec 2025 17:25:10 +0000 Subject: [PATCH 1/2] Unquarantine drag and drop specs --- spec/features/boards/issue_ordering_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/features/boards/issue_ordering_spec.rb b/spec/features/boards/issue_ordering_spec.rb index 787d175ff30c89..de7a699fa788c3 100644 --- a/spec/features/boards/issue_ordering_spec.rb +++ b/spec/features/boards/issue_ordering_spec.rb @@ -102,7 +102,7 @@ expect(all('.board-card').last).to have_content(issue3.title) end - it 'moves from bottom to top', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/546388' do + it 'moves from bottom to top' do drag(from_index: 2, to_index: 0) wait_for_requests @@ -118,7 +118,7 @@ expect(first('.board-card')).to have_content(issue2.title) end - it 'moves from bottom to middle', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/546390' do + it 'moves from bottom to middle' do drag(from_index: 2, to_index: 1) wait_for_requests @@ -135,7 +135,7 @@ wait_for_requests end - it 'moves to end of list', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/410100' do + it 'moves to end of list' do expect(all('.board-card').first).to have_content(issue3.title) page.within(find('[data-testid="board-list"]:nth-child(2)')) do @@ -148,7 +148,7 @@ expect(all('.board-card').last).to have_content(issue3.title) end - it 'moves to start of list', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/410100' do + it 'moves to start of list' do expect(all('.board-card').last).to have_content(issue1.title) page.within(find('[data-testid="board-list"]:nth-child(2)')) do @@ -176,7 +176,7 @@ expect(page).to have_selector('.board', count: 4) end - it 'moves to top of another list', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/546391' do + it 'moves to top of another list' do drag(list_from_index: 1, list_to_index: 2) wait_for_requests -- GitLab From 0cdb8b3643e588c38a38027c1465997d9aedefc5 Mon Sep 17 00:00:00 2001 From: Jack Chapman Date: Tue, 16 Dec 2025 16:09:46 +0000 Subject: [PATCH 2/2] Add missing param to CE query definition --- .../javascripts/boards/graphql/issue_move_list.mutation.graphql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/boards/graphql/issue_move_list.mutation.graphql b/app/assets/javascripts/boards/graphql/issue_move_list.mutation.graphql index 4a46d741a78807..b362c8d6d52edc 100644 --- a/app/assets/javascripts/boards/graphql/issue_move_list.mutation.graphql +++ b/app/assets/javascripts/boards/graphql/issue_move_list.mutation.graphql @@ -8,6 +8,7 @@ mutation issueMoveList( $toListId: ID $moveBeforeId: ID $moveAfterId: ID + $positionInList: Int ) { issuableMoveList: issueMoveList( input: { @@ -18,6 +19,7 @@ mutation issueMoveList( toListId: $toListId moveBeforeId: $moveBeforeId moveAfterId: $moveAfterId + positionInList: $positionInList } ) { issuable: issue { -- GitLab