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

fix spec expectation

ulfertsfcb1ce066242
diff --git a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb b/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
index 0c8b2cef706..13fa1dd300d 100644
--- a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
@@ -191,7 +191,7 @@ describe 'Subtasks action board', type: :feature, js: true do
it 'can add lists via the add modal' do
board_index.visit!
- board_page = board_index.create_board action: I18n.t('js.boards.board_type.action_type.subtasks'), expect_empty: true
+ board_page = board_index.create_board action: I18n.t('js.boards.board_type.board_type_title.subtasks'), expect_empty: true
board_page.add_list option: 'Parent WP'
board_page.expect_list 'Parent WP'
board_page.expect_card 'Parent WP', 'Child'