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

Adapt project board specs to new Project Board form

Aaron Contreras8cd6c385d09a
diff --git a/modules/boards/spec/features/action_boards/assignee_board_spec.rb b/modules/boards/spec/features/action_boards/assignee_board_spec.rb
index 0ea6828f7e2..439227ed677 100644
--- a/modules/boards/spec/features/action_boards/assignee_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/assignee_board_spec.rb
@@ -92,7 +92,9 @@ RSpec.describe 'Assignee action board',
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Assignee, expect_empty: true
+ board_page = board_index.create_board title: 'My Assignee Board',
+ action: 'Assignee',
+ expect_empty: true
# Expect no assignees to be present
board_page.expect_empty
@@ -113,7 +115,7 @@ RSpec.describe 'Assignee action board',
board_page.expect_list_option '(none)'
board_page.board(reload: true) do |board|
- expect(board.name).to eq 'Action board (assignee)'
+ expect(board.name).to eq 'My Assignee Board'
queries = board.contained_queries
expect(queries.count).to eq(3)
diff --git a/modules/boards/spec/features/action_boards/custom_field_filters_spec.rb b/modules/boards/spec/features/action_boards/custom_field_filters_spec.rb
index c14bb1ef0c6..1b4e236bce8 100644
--- a/modules/boards/spec/features/action_boards/custom_field_filters_spec.rb
+++ b/modules/boards/spec/features/action_boards/custom_field_filters_spec.rb
@@ -92,7 +92,7 @@ RSpec.describe 'Custom field filter in boards', js: true, with_ee: %i[board_view
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
# expect lists of default status
board_page.expect_list 'Open'
@@ -103,7 +103,7 @@ RSpec.describe 'Custom field filter in boards', js: true, with_ee: %i[board_view
filters.add_filter_by(custom_field.name,
'is (OR)',
- ['A', 'B'],
+ %w[A B],
custom_field.attribute_name(:camel_case))
board_page.expect_changed
diff --git a/modules/boards/spec/features/action_boards/status_board_spec.rb b/modules/boards/spec/features/action_boards/status_board_spec.rb
index 36a6feec7f4..ed018e58abd 100644
--- a/modules/boards/spec/features/action_boards/status_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/status_board_spec.rb
@@ -94,7 +94,7 @@ RSpec.describe 'Status action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
# expect lists of default status
board_page.expect_list 'Open'
@@ -111,7 +111,7 @@ RSpec.describe 'Status action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
board_page.add_list option: 'Whatever'
board_page.expect_list 'Whatever'
@@ -152,7 +152,8 @@ RSpec.describe 'Status action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board title: 'My Status Board',
+ action: 'Status'
# expect lists of default status
board_page.expect_list 'Open'
@@ -161,7 +162,7 @@ RSpec.describe 'Status action board', js: true, with_ee: %i[board_view] do
board_page.expect_list 'Closed'
board_page.board(reload: true) do |board|
- expect(board.name).to eq 'Action board (status)'
+ expect(board.name).to eq 'My Status Board'
queries = board.contained_queries
expect(queries.count).to eq(2)
@@ -298,14 +299,15 @@ RSpec.describe 'Status action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
# expect lists of default status
board_page.expect_list 'Open'
expect(board_page.list_count).to eq(1)
+ board_index.visit!
# Create another status board
- second_board_page = board_index.create_board action: :Status, via_toolbar: true
+ second_board_page = board_index.create_board action: 'Status', via_toolbar: false
# Expect only one list with the default status
second_board_page.expect_list 'Open'
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.rb
index 239d9552f4e..e6b9fa3d327 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
@@ -111,7 +111,7 @@ RSpec.describe 'Status action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
# expect lists of default status
board_page.expect_list 'Open'
diff --git a/modules/boards/spec/features/action_boards/subproject_board_spec.rb b/modules/boards/spec/features/action_boards/subproject_board_spec.rb
index 9afa89bc00f..8b38e17b1b5 100644
--- a/modules/boards/spec/features/action_boards/subproject_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/subproject_board_spec.rb
@@ -82,7 +82,7 @@ RSpec.describe 'Subproject action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Subproject, expect_empty: true
+ board_page = board_index.create_board action: 'Subproject', expect_empty: true
# Expect we can add a child 1
board_page.add_list option: 'Child 1'
@@ -111,7 +111,9 @@ RSpec.describe 'Subproject action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Subproject, expect_empty: true
+ board_page = board_index.create_board title: 'My Subproject Board',
+ action: 'Subproject',
+ expect_empty: true
# Expect we can add a child 1
board_page.add_list option: 'Child 1'
@@ -124,7 +126,7 @@ RSpec.describe 'Subproject action board', js: true, with_ee: %i[board_view] do
board_page.expect_movable 'Child 1', 'Foo', movable: true
board_page.board(reload: true) do |board|
- expect(board.name).to eq 'Action board (subproject)'
+ expect(board.name).to eq 'My Subproject Board'
queries = board.contained_queries
expect(queries.count).to eq(1)
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 34296bee7ee..fbc089a682c 100644
--- a/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/subtasks_board_spec.rb
@@ -27,8 +27,8 @@
#++
require 'spec_helper'
-require_relative './../support//board_index_page'
-require_relative './../support/board_page'
+require_relative '../support//board_index_page'
+require_relative '../support/board_page'
RSpec.describe 'Subtasks action board', js: true, with_ee: %i[board_view] do
let(:type) { create(:type_standard) }
@@ -62,7 +62,7 @@ RSpec.describe 'Subtasks action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Parent_child, expect_empty: true
+ board_page = board_index.create_board action: 'Parent-child', expect_empty: true
# Expect we can add a work package column
board_page.add_list option: 'Parent WP'
@@ -86,7 +86,9 @@ RSpec.describe 'Subtasks action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Parent_child, expect_empty: true
+ board_page = board_index.create_board title: 'My Parent-child Board',
+ action: 'Parent-child',
+ expect_empty: true
# Expect we can add a child 1
board_page.add_list option: 'Parent WP'
@@ -99,7 +101,7 @@ RSpec.describe 'Subtasks action board', js: true, with_ee: %i[board_view] do
board_page.expect_movable 'Parent WP', 'Child', movable: true
board_page.board(reload: true) do |board|
- expect(board.name).to eq 'Action board (parent-child)'
+ expect(board.name).to eq 'My Parent-child Board'
queries = board.contained_queries
expect(queries.count).to eq(1)
@@ -157,7 +159,7 @@ RSpec.describe 'Subtasks action board', js: true, with_ee: %i[board_view] do
it 'prevents adding a work package to its own column' do
board_index.visit!
- board_page = board_index.create_board action: :Parent_child, expect_empty: true
+ board_page = board_index.create_board action: 'Parent-child', expect_empty: true
board_page.add_list option: 'Parent WP'
board_page.expect_list 'Parent WP'
board_page.expect_card 'Parent WP', 'Child'
diff --git a/modules/boards/spec/features/action_boards/version_board_spec.rb b/modules/boards/spec/features/action_boards/version_board_spec.rb
index 25d3ac3227b..90186a811c4 100644
--- a/modules/boards/spec/features/action_boards/version_board_spec.rb
+++ b/modules/boards/spec/features/action_boards/version_board_spec.rb
@@ -75,7 +75,8 @@ RSpec.describe 'Version action board', js: true, with_ee: %i[board_view] do
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Version
+ board_page = board_index.create_board title: 'My Version Board',
+ action: 'Version'
# expect lists of open versions
board_page.expect_list 'Open version'
@@ -96,7 +97,7 @@ RSpec.describe 'Version action board', js: true, with_ee: %i[board_view] do
login_as(user)
end
- it 'allows management of boards' do
+ fit 'allows management of boards' do
board_page = create_new_version_board
board_page.expect_card 'Open version', work_package.subject, present: true
@@ -105,7 +106,7 @@ RSpec.describe 'Version action board', js: true, with_ee: %i[board_view] do
board_page.expect_list_option 'Closed version'
board_page.board(reload: true) do |board|
- expect(board.name).to eq 'Action board (version)'
+ expect(board.name).to eq 'My Version Board'
queries = board.contained_queries
expect(queries.count).to eq(2)
diff --git a/modules/boards/spec/features/board_conflicts_spec.rb b/modules/boards/spec/features/board_conflicts_spec.rb
index e8d1ceed5c0..10eb979f9ba 100644
--- a/modules/boards/spec/features/board_conflicts_spec.rb
+++ b/modules/boards/spec/features/board_conflicts_spec.rb
@@ -61,7 +61,7 @@ RSpec.describe 'Board remote changes resolution', js: true, with_ee: %i[board_vi
board_index.visit!
# Create new board
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
# expect lists of default status
board_page.expect_list 'Open'
diff --git a/modules/boards/spec/features/board_enterprise_spec.rb b/modules/boards/spec/features/board_enterprise_spec.rb
index 08a816ba008..9a768d09546 100644
--- a/modules/boards/spec/features/board_enterprise_spec.rb
+++ b/modules/boards/spec/features/board_enterprise_spec.rb
@@ -27,8 +27,8 @@
#++
require 'spec_helper'
-require_relative './support/board_index_page'
-require_relative './support/board_page'
+require_relative 'support/board_index_page'
+require_relative 'support/board_page'
RSpec.describe 'Boards enterprise spec', :js, :with_cuprite do
shared_let(:admin) { create(:admin) }
@@ -56,8 +56,8 @@ RSpec.describe 'Boards enterprise spec', :js, :with_cuprite do
it 'disabled all action boards' do
page.find('.toolbar-item a', text: 'Board').click
- expect(page).to have_selector('[data-qa-selector="op-tile-block"]:not([disabled])', text: 'Basic')
- expect(page).to have_selector('[data-qa-selector="op-tile-block"]:disabled', count: 5)
+ expect(page).to have_selector('[data-qa-selector="op-tile-block"]:not(.-disabled)', text: 'Basic')
+ expect(page).to have_selector('[data-qa-selector="op-tile-block"].-disabled', count: 5)
end
it 'shows a banner on the action board' do
@@ -85,7 +85,7 @@ RSpec.describe 'Boards enterprise spec', :js, :with_cuprite do
it 'enables all options' do
page.find('.toolbar-item a', text: 'Board').click
- expect(page).to have_selector('[data-qa-selector="op-tile-block"]:not([disabled])', count: 6)
+ expect(page).to have_selector('[data-qa-selector="op-tile-block"]:not(.-disabled)', count: 6)
end
it 'shows the action board' do
diff --git a/modules/boards/spec/features/board_highlighting_spec.rb b/modules/boards/spec/features/board_highlighting_spec.rb
index 40eaa63b0c5..126cc14b345 100644
--- a/modules/boards/spec/features/board_highlighting_spec.rb
+++ b/modules/boards/spec/features/board_highlighting_spec.rb
@@ -74,7 +74,7 @@ RSpec.describe 'Work Package boards spec', js: true, with_ee: %i[board_view] do
it 'navigates from boards to the WP full view and back' do
board_index.visit!
- board_page = board_index.create_board action: :Status
+ board_page = board_index.create_board action: 'Status'
# See the work packages
board_page.expect_query 'Open', editable: false
diff --git a/modules/boards/spec/features/board_management_spec.rb b/modules/boards/spec/features/board_management_spec.rb
index c32b2d30292..7321e2792bd 100644
--- a/modules/boards/spec/features/board_management_spec.rb
+++ b/modules/boards/spec/features/board_management_spec.rb
@@ -116,7 +116,7 @@ RSpec.describe 'Board management spec', js: true, with_ee: %i[board_view] do
board_index.expect_board board_view.name
# Create new board
- board_page = board_index.create_board action: nil
+ board_page = board_index.create_board
board_page.rename_board 'Board test'
# Rename through toolbar
@@ -203,6 +203,19 @@ RSpec.describe 'Board management spec', js: true, with_ee: %i[board_view] do
board_page.delete_board
board_index.expect_board 'Board foo', present: false
end
+
+ it 'allows creating a new project board form via the sidebar' do
+ board_index.visit!
+
+ board_page = board_index.create_board title: 'My Board created via the sidebar',
+ via_toolbar: false
+ board_page.board(reload: true) do |board|
+ expect(board.name).to eq 'My Board created via the sidebar'
+ queries = board.contained_queries
+ expect(queries.count).to eq(1)
+ expect(queries.first.name).to eq 'Unnamed list'
+ end
+ end
end
context 'with view boards + work package permission' do
diff --git a/modules/boards/spec/features/board_navigation_spec.rb b/modules/boards/spec/features/board_navigation_spec.rb
index 8a3f21e7de9..62cd270e6b4 100644
--- a/modules/boards/spec/features/board_navigation_spec.rb
+++ b/modules/boards/spec/features/board_navigation_spec.rb
@@ -74,7 +74,7 @@ RSpec.describe 'Work Package boards spec', js: true, with_ee: %i[board_view] do
# Click back goes back to the board
find('.work-packages-back-button').click
- expect(page).to have_current_path project_work_package_boards_path(project, board_view.id)
+ expect(page).to have_current_path project_work_package_board_path(project, board_view)
# Open the details page with the info icon
card = board_page.card_for(wp)
@@ -98,14 +98,14 @@ RSpec.describe 'Work Package boards spec', js: true, with_ee: %i[board_view] do
end
it 'navigates correctly the path from overview page to the boards page' do
- visit "/projects/#{project.identifier}"
+ visit project_path(project)
item = page.find('#menu-sidebar li[data-name="board_view"]', wait: 10)
item.find('.toggler').click
subitem = page.find('[data-qa-selector="op-sidemenu--item-action--Myboard"]', wait: 10)
# Ends with boards due to lazy route
- expect(subitem[:href]).to end_with "/projects/#{project.identifier}/boards"
+ expect(subitem[:href]).to end_with project_work_package_boards_path(project)
subitem.click
@@ -128,6 +128,7 @@ RSpec.describe 'Work Package boards spec', js: true, with_ee: %i[board_view] do
# Open the details page with the info icon
card = board_page.card_for(wp)
split_view = card.open_details_view
+ split_view.ensure_page_loaded
split_view.expect_subject
split_view.switch_to_tab tab: 'Relations'
diff --git a/modules/boards/spec/features/board_reference_work_package_spec.rb b/modules/boards/spec/features/board_reference_work_package_spec.rb
index ecb427a7695..415d873f6f1 100644
--- a/modules/boards/spec/features/board_reference_work_package_spec.rb
+++ b/modules/boards/spec/features/board_reference_work_package_spec.rb
@@ -70,7 +70,7 @@ RSpec.describe 'Board reference work package spec', js: true, with_ee: %i[board_
board_index.visit!
# Create new board
- board_page = board_index.create_board action: nil
+ board_page = board_index.create_board
board_page.rename_list 'Unnamed list', 'First'
# Filter for Version
@@ -108,7 +108,7 @@ RSpec.describe 'Board reference work package spec', js: true, with_ee: %i[board_
board_index.visit!
# Create new board
- board_page = board_index.create_board action: nil
+ board_page = board_index.create_board
board_page.rename_list 'Unnamed list', 'First'
# Reference an existing work package
diff --git a/modules/boards/spec/features/boards_global_create_spec.rb b/modules/boards/spec/features/boards_global_create_spec.rb
index ee955b78228..8dd0bcde18f 100644
--- a/modules/boards/spec/features/boards_global_create_spec.rb
+++ b/modules/boards/spec/features/boards_global_create_spec.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require 'spec_helper'
-require_relative 'support/board_global_create_page'
+require_relative 'support/board_new_page'
RSpec.describe 'Boards',
'Creating a view from a Global Context',
diff --git a/modules/boards/spec/features/boards_sorting_spec.rb b/modules/boards/spec/features/boards_sorting_spec.rb
index 13b0f2d39be..74416b989c2 100644
--- a/modules/boards/spec/features/boards_sorting_spec.rb
+++ b/modules/boards/spec/features/boards_sorting_spec.rb
@@ -27,8 +27,8 @@
#++
require 'spec_helper'
-require_relative './support/board_index_page'
-require_relative './support/board_page'
+require_relative 'support/board_index_page'
+require_relative 'support/board_page'
RSpec.describe 'Work Package boards sorting spec', js: true, with_ee: %i[board_view] do
let(:admin) { create(:admin) }
@@ -47,38 +47,27 @@ RSpec.describe 'Work Package boards sorting spec', js: true, with_ee: %i[board_v
# By adding each board the sort of table will change
# The currently added board should be at the top
it 'sorts the boards grid and menu based on their names' do
- board_page = board_index.create_board action: nil
+ board_page = board_index.create_board title: 'My Basic Board'
- retry_block do
- board_page.back_to_index
- find('[data-qa-selector="boards-table-column--name"]', text: 'Unnamed board')
- end
-
- expect(page.all('[data-qa-selector="boards-table-column--name"]').map(&:text))
- .to eq ['Unnamed board']
- query_menu.expect_menu_entry 'Unnamed board'
-
- board_page = board_index.create_board action: :Version, expect_empty: true
- retry_block do
- board_page.back_to_index
- find('[data-qa-selector="boards-table-column--name"]', text: 'Action board (version)')
- end
-
- expect(page.all('[data-qa-selector="boards-table-column--name"]').map(&:text))
- .to eq ['Action board (version)', 'Unnamed board']
- query_menu.expect_menu_entry 'Action board (version)'
-
- board_page = board_index.create_board action: :Status
board_page.back_to_index
+ board_index.expect_boards_listed 'My Basic Board'
+ query_menu.expect_menu_entry 'My Basic Board'
- retry_block do
- board_page.back_to_index
- find('[data-qa-selector="boards-table-column--name"]', text: 'Action board (status)')
- end
+ board_page = board_index.create_board title: 'My Action Board',
+ action: 'Version',
+ expect_empty: true
+ board_page.back_to_index
+ board_index.expect_boards_listed 'My Action Board',
+ 'My Basic Board'
+ query_menu.expect_menu_entry 'My Action Board'
- expect(page.all('[data-qa-selector="boards-table-column--name"]').map(&:text))
- .to eq ['Action board (status)', 'Action board (version)', 'Unnamed board']
+ board_page = board_index.create_board title: 'My Status Board',
+ action: 'Status'
+ board_page.back_to_index
- query_menu.expect_menu_entry 'Action board (status)'
+ board_index.expect_boards_listed 'My Status Board',
+ 'My Action Board',
+ 'My Basic Board'
+ query_menu.expect_menu_entry 'My Status Board'
end
end
diff --git a/modules/boards/spec/features/support/board_index_page.rb b/modules/boards/spec/features/support/board_index_page.rb
index 5742ca48e04..d962ab27fb7 100644
--- a/modules/boards/spec/features/support/board_index_page.rb
+++ b/modules/boards/spec/features/support/board_index_page.rb
@@ -28,6 +28,7 @@
require 'support/pages/page'
require_relative 'board_list_page'
+require_relative 'board_new_page'
module Pages
class BoardIndex < BoardListPage
@@ -56,15 +57,20 @@ module Pages
expect(page).to have_conditional_selector(present, 'td.name', text: name)
end
- def create_board(action: nil, expect_empty: false, via_toolbar: false)
+ def create_board(action: 'Basic', title: "#{action} Board", expect_empty: false, via_toolbar: true)
if via_toolbar
- page.find('[data-qa-selector="sidebar--create-board-button"]').click
+ within '.toolbar-items' do
+ click_link 'Board'
+ end
else
- page.find('.toolbar-item a', text: 'Board').click
+ find('[data-qa-selector="sidebar--create-board-button"]').click
end
- text = action == nil ? 'Basic' : action.to_s[0..5]
- find('[data-qa-selector="op-tile-block-title"]', text:).click
+ new_board_page = NewBoard.new
+
+ new_board_page.set_title title
+ new_board_page.set_board_type action
+ new_board_page.click_on_submit
if expect_empty
expect(page).to have_selector('.boards-list--add-item-text', wait: 10)
diff --git a/modules/boards/spec/features/support/board_list_page.rb b/modules/boards/spec/features/support/board_list_page.rb
index 4d4986360f5..5f87238b37a 100644
--- a/modules/boards/spec/features/support/board_list_page.rb
+++ b/modules/boards/spec/features/support/board_list_page.rb
@@ -47,17 +47,29 @@ module Pages
end
def expect_boards_listed(*boards)
+ board_names = if boards.all? { |board| board.to_s == board }
+ boards
+ else
+ boards.map(&:name)
+ end
+
within '#content-wrapper' do
- boards.each do |board|
- expect(page).to have_selector("td.name", text: board.name)
+ board_names.each do |board_name|
+ expect(page).to have_selector("td.name", text: board_name)
end
end
end
def expect_boards_not_listed(*boards)
+ board_names = if boards.all? { |board| board.to_s == board }
+ boards
+ else
+ boards.map(&:name)
+ end
+
within '#content-wrapper' do
- boards.each do |board|
- expect(page).not_to have_selector("td.title", text: board.name)
+ board_names.each do |board_name|
+ expect(page).not_to have_selector("td.title", text: board_name)
end
end
end
diff --git a/modules/boards/spec/features/support/board_global_create_page.rb b/modules/boards/spec/features/support/board_new_page.rb
similarity index 91%
rename from modules/boards/spec/features/support/board_global_create_page.rb
rename to modules/boards/spec/features/support/board_new_page.rb
index 15bbc6c9e2f..93f2e904e81 100644
--- a/modules/boards/spec/features/support/board_global_create_page.rb
+++ b/modules/boards/spec/features/support/board_new_page.rb
@@ -19,7 +19,7 @@ module Pages
end
def set_title(title)
- fill_in 'Title', with: title
+ fill_in I18n.t(:label_title), with: title
end
def set_project(project)
@@ -34,7 +34,7 @@ module Pages
end
def click_on_submit
- click_on 'Create'
+ click_on I18n.t(:button_create)
end
def click_on_cancel_button
diff --git a/modules/boards/spec/features/support/board_page.rb b/modules/boards/spec/features/support/board_page.rb
index 4f5ae76875e..ee0a261a08e 100644
--- a/modules/boards/spec/features/support/board_page.rb
+++ b/modules/boards/spec/features/support/board_page.rb
@@ -264,9 +264,9 @@ module Pages
def visit!
if board.project
- visit project_work_package_boards_path(project_id: board.project.id, state: board.id)
+ visit project_work_package_board_path(board.project, board)
else
- visit work_package_boards_path(state: board.id)
+ visit work_package_board_path(board)
end
end