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
attempt to fix flickering my_page spec
ulfertsad5ed3dac293
diff --git a/modules/my_page/spec/features/my/my_page_spec.rb b/modules/my_page/spec/features/my/my_page_spec.rbindex df5b8bdcd0c..922006795a1 100644--- a/modules/my_page/spec/features/my/my_page_spec.rb+++ b/modules/my_page/spec/features/my/my_page_spec.rb@@ -90,9 +90,11 @@ RSpec.describe 'My page', :js doenddef find_area(name)- index = grid.widgets.sort_by(&:id).each_with_index.detect { |w, _index| w.options["name"] == name }.last+ retry_block do+ index = grid.widgets.sort_by(&:id).each_with_index.detect { |w, _index| w.options["name"] == name }.last- Components::Grids::GridArea.new(".grid--area.-widgeted:nth-of-type(#{index + 1})")+ Components::Grids::GridArea.new(".grid--area.-widgeted:nth-of-type(#{index + 1})")+ endendit 'renders the default view, allows altering and saving' do