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
fix tests related to the removal of back button on board page
Christophe Bliard17d9a222f5f2
diff --git a/modules/boards/spec/features/support/board_page.rb b/modules/boards/spec/features/support/board_page.rbindex bd5335c9b56..199825038fd 100644--- a/modules/boards/spec/features/support/board_page.rb+++ b/modules/boards/spec/features/support/board_page.rb@@ -34,6 +34,8 @@ module Pagesinclude ::Components::NgSelectAutocompleteHelpersdef initialize(board)+ super()+@board = boardend@@ -131,7 +133,9 @@ module Pages# Expect the given titled card in the list name to be present (expect=true) or not (expect=false)def expect_card(list_name, card_title, present: true)within_list(list_name) do- expect(page).to have_conditional_selector(present, '[data-qa-selector="op-wp-single-card--content-subject"]', text: card_title)+ expect(page).to have_conditional_selector(present,+ '[data-qa-selector="op-wp-single-card--content-subject"]',+ text: card_title)endend@@ -152,7 +156,9 @@ module Pagesdef expect_movable(list_name, card_title, movable: true)within_list(list_name) doexpect(page).to have_selector('[data-qa-selector="op-wp-single-card"]', text: card_title)- expect(page).to have_conditional_selector(movable, '[data-qa-selector="op-wp-single-card"][data-qa-draggable]', text: card_title)+ expect(page).to have_conditional_selector(movable,+ '[data-qa-selector="op-wp-single-card"][data-qa-draggable]',+ text: card_title)endend@@ -183,7 +189,7 @@ module Pagesdef add_list_with_new_value(name)open_and_fill_add_list_modal name- page.find('.op-select-footer--label', text: 'Create ' + name).click+ page.find('.op-select-footer--label', text: "Create #{name}").clickenddef save@@ -260,7 +266,9 @@ module Pagesenddef back_to_index- find('[data-qa-selector="op-back-button"]').click+ within '#main-menu' do+ click_link 'Boards'+ endenddef expect_editable_board(editable)