Fix tests on CI. wp/72383

This commit is contained in:
David F
2026-03-26 10:46:47 +01:00
parent 7922573407
commit f6bd0d815f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ RSpec.describe "Role creation", :js do
# Workflow routes are not resource-oriented.
visit(url_for(controller: :workflows, action: :index, only_path: true))
within "li", text: type.name do
click_link "Edit"
click_link type.name
end
click_button existing_role.name
+1 -1
View File
@@ -71,7 +71,7 @@ RSpec.describe "Types", :js do
# Workflow routes are not resource-oriented.
visit(url_for(controller: :workflows, action: :index, only_path: true))
within "li", text: "A new type" do
click_link "Edit"
click_link "A new type"
end
from_id = existing_workflow.old_status_id