mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Rename Move to inbox to Move to backlog inbox
This commit is contained in:
@@ -213,7 +213,7 @@ en:
|
||||
copy_work_package_id: "Copy work package ID"
|
||||
move_menu: "Move to position"
|
||||
move_to_backlog_bucket: "Move to backlog bucket"
|
||||
move_to_inbox: "Move to inbox"
|
||||
move_to_inbox: "Move to backlog inbox"
|
||||
move_to_sprint: "Move to sprint"
|
||||
|
||||
work_package_is_closed: "Work package is done, when"
|
||||
|
||||
@@ -358,7 +358,7 @@ RSpec.describe Backlogs::WorkPackageCardMenuComponent, type: :component do
|
||||
end
|
||||
end
|
||||
|
||||
describe "Move to inbox item" do
|
||||
describe "Move to backlog inbox item" do
|
||||
context "when work package is in a sprint" do
|
||||
it "is shown with inbox icon" do
|
||||
render_component
|
||||
|
||||
@@ -53,13 +53,13 @@ RSpec.describe "Move to backlog", :js do
|
||||
|
||||
current_user { user }
|
||||
|
||||
describe "Move to inbox" do
|
||||
describe "Move to backlog inbox" do
|
||||
context "when in a sprint" do
|
||||
let!(:work_package) { create(:work_package, project:, sprint:) }
|
||||
|
||||
it "moves the work package to the backlog inbox" do
|
||||
planning_page.visit!
|
||||
planning_page.click_in_work_package_menu(work_package, "Move to inbox")
|
||||
planning_page.click_in_work_package_menu(work_package, "Move to backlog inbox")
|
||||
|
||||
planning_page.expect_work_package_not_in_sprint(work_package, sprint)
|
||||
planning_page.expect_inbox_item(work_package)
|
||||
@@ -71,7 +71,7 @@ RSpec.describe "Move to backlog", :js do
|
||||
|
||||
it "moves the work package to the backlog inbox" do
|
||||
planning_page.visit!
|
||||
planning_page.click_in_work_package_menu(work_package, "Move to inbox")
|
||||
planning_page.click_in_work_package_menu(work_package, "Move to backlog inbox")
|
||||
|
||||
planning_page.expect_work_package_not_in_backlog_bucket(work_package, bucket_a)
|
||||
planning_page.expect_inbox_item(work_package)
|
||||
|
||||
Reference in New Issue
Block a user