OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix Board spec timing issue
Dombi Attilaf5f74e744ed9
diff --git a/modules/boards/spec/features/action_boards/status_type_moving_board_spec.rb b/modules/boards/spec/features/action_boards/status_type_moving_board_spec.rbindex 2483a30268d..bf2defa39e8 100644--- a/modules/boards/spec/features/action_boards/status_type_moving_board_spec.rb+++ b/modules/boards/spec/features/action_boards/status_type_moving_board_spec.rb@@ -132,6 +132,8 @@ RSpec.describe 'Status action board', :js, with_ee: %i[board_view] do# Move task to closedboard_page.move_card(0, from: 'Open', to: 'Closed')+ board_page.wait_for_lists_reload+board_page.expect_card('Open', 'Open task item', present: false)board_page.expect_card('Closed', 'Open task item', present: true)@@ -143,7 +145,9 @@ RSpec.describe 'Status action board', :js, with_ee: %i[board_view] dosleep 2# Move bug to open- board_page.move_card(0, from: 'Closed', to: 'Open')+ board_page.move_card(1, from: 'Closed', to: 'Open')+ board_page.wait_for_lists_reload+board_page.expect_card('Closed', 'Closed bug item', present: false)board_page.expect_card('Open', 'Closed bug item', present: true)diff --git a/modules/boards/spec/features/action_boards/subproject_board_spec.rb b/modules/boards/spec/features/action_boards/subproject_board_spec.rbindex 0573ab22203..eabcbdb58bf 100644--- a/modules/boards/spec/features/action_boards/subproject_board_spec.rb+++ b/modules/boards/spec/features/action_boards/subproject_board_spec.rb@@ -155,6 +155,7 @@ RSpec.describe 'Subproject action board', :js, with_ee: %i[board_view] do# Move item to Child 2 listboard_page.move_card(0, from: 'Child 1', to: 'Child 2')+ board_page.wait_for_lists_reloadboard_page.expect_card('Child 1', 'Task 1', present: false)board_page.expect_card('Child 2', 'Task 1', present: true)diff --git a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb b/modules/boards/spec/features/action_boards/subtasks_board_spec.rbindex ca86390bffc..6bba1883cce 100644--- a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb+++ b/modules/boards/spec/features/action_boards/subtasks_board_spec.rb@@ -135,6 +135,7 @@ RSpec.describe 'Subtasks action board', :js, with_ee: %i[board_view] do# Move item to Child 2 listboard_page.move_card(0, from: 'Parent WP', to: 'Other WP')+ board_page.wait_for_lists_reloadboard_page.expect_card('Parent WP', 'Second child', present: false)board_page.expect_card('Other WP', 'Second child', present: true)