mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Update select panel button label
This commit is contained in:
@@ -63,7 +63,7 @@ See COPYRIGHT and LICENSE files for more details.
|
||||
scheme: :primary,
|
||||
data: { action: "click->admin--workflow-role-select#apply" }
|
||||
)
|
||||
) { t(:button_save) }
|
||||
) { t(:button_apply) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -272,7 +272,7 @@ RSpec.describe "Workflow edit with multiple roles", :js do
|
||||
click_button "2 roles selected"
|
||||
find("[data-item-id='#{role.id}']").click
|
||||
find("[data-item-id='#{role2.id}']").click
|
||||
within("select-panel") { click_button "Save" }
|
||||
within("select-panel") { click_button "Apply" }
|
||||
|
||||
expect(page).to have_no_text("2 roles selected")
|
||||
expect(page).to have_button(role.name)
|
||||
|
||||
@@ -45,7 +45,7 @@ module Workflows
|
||||
click_button from_role.name
|
||||
find("[data-item-id='#{to_role.id}']").click
|
||||
find("[data-item-id='#{from_role.id}']").click
|
||||
within("select-panel") { click_button "Save" }
|
||||
within("select-panel") { click_button "Apply" }
|
||||
end
|
||||
|
||||
def add_status_via_dialog(status)
|
||||
|
||||
Reference in New Issue
Block a user