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
Remove loading indicator wait because there is not indicator on the subproject board, reduce wait time for non-presence expectation.
Dombi Attila986427c56fde
diff --git a/modules/boards/spec/features/action_boards/subproject_board_spec.rb b/modules/boards/spec/features/action_boards/subproject_board_spec.rbindex eabcbdb58bf..f6e81ffbece 100644--- a/modules/boards/spec/features/action_boards/subproject_board_spec.rb+++ b/modules/boards/spec/features/action_boards/subproject_board_spec.rb@@ -155,7 +155,9 @@ 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_reload++ # TODO: The board reloading is flickering after the move_card action.+ # It needs to be fixed.board_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/support/board_page.rb b/modules/boards/spec/features/support/board_page.rbindex 3b6b822394a..09204566889 100644--- a/modules/boards/spec/features/support/board_page.rb+++ b/modules/boards/spec/features/support/board_page.rb@@ -138,7 +138,9 @@ module Pageswithin_list(list_name) doexpect(page).to have_conditional_selector(present,'[data-test-selector="op-wp-single-card--content-subject"]',- text: card_title)+ text: card_title,+ # Wait only 1 second for non-presence expectation+ wait: present ? 10 : 1)endend