mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Fix tests on CI. wp/72383
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user