Update select panel button label

This commit is contained in:
Mir Bhatia
2026-04-29 17:38:34 +02:00
parent ddcf770886
commit 7803ad638d
3 changed files with 3 additions and 3 deletions
@@ -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)
+1 -1
View File
@@ -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)