Skip to content
Snippets Groups Projects
Commit c7aeb512 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix pre-selected assignee spinach

parent 5d9788b0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -107,8 +107,7 @@ class ProjectIssues < Spinach::FeatureSteps
end
 
Then 'I should see first assignee from "Shop" as selected assignee' do
issues_assignee_selector = "#issue_assignee_id_chzn/a"
wait_until { page.has_content?("Details") }
issues_assignee_selector = "#assignee_id_chzn > a"
project = Project.find_by_name "Shop"
assignee_name = project.users.first.name
page.find(issues_assignee_selector).should have_content(assignee_name)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment