Skip to content

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

no longer do illegal resize in spec

ulferts1eb113e20984
diff --git a/modules/overviews/spec/features/managing_overview_page_spec.rb b/modules/overviews/spec/features/managing_overview_page_spec.rb
index a56b264974b..e9d474b7d6d 100644
--- a/modules/overviews/spec/features/managing_overview_page_spec.rb
+++ b/modules/overviews/spec/features/managing_overview_page_spec.rb
@@ -103,7 +103,7 @@ describe 'Overview page managing', type: :feature, js: true, with_mail: false do
table_area = Components::Grids::GridArea.new('.grid--area.-widgeted:nth-of-type(6)')
table_area.expect_to_span(1, 1, 2, 2)
- table_area.resize_to(2, 2)
+ table_area.resize_to(1, 2)
overview_page.expect_and_dismiss_notification message: I18n.t('js.notice_successful_update')
@@ -125,10 +125,10 @@ describe 'Overview page managing', type: :feature, js: true, with_mail: false do
## Because of the added column and the resizing the other widgets have moved down
description_area.expect_to_span(2, 1, 3, 2)
- status_area.expect_to_span(1, 2, 3, 3)
+ status_area.expect_to_span(2, 2, 4, 3)
details_area.expect_to_span(3, 1, 4, 2)
- overview_area.expect_to_span(4, 1, 5, 3)
- members_area.expect_to_span(3, 2, 4, 3)
- table_area.expect_to_span(1, 1, 2, 2)
+ overview_area.expect_to_span(5, 1, 6, 3)
+ members_area.expect_to_span(4, 2, 5, 3)
+ table_area.expect_to_span(1, 1, 2, 3)
end
end