Commit c7aeb5127e3e7e852ed76096ad90a68ebd1195fa
1 parent
5d9788b0
Exists in
master
and in
4 other branches
Fix pre-selected assignee spinach
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
features/steps/project/project_issues.rb
... | ... | @@ -107,8 +107,7 @@ class ProjectIssues < Spinach::FeatureSteps |
107 | 107 | end |
108 | 108 | |
109 | 109 | Then 'I should see first assignee from "Shop" as selected assignee' do |
110 | - issues_assignee_selector = "#issue_assignee_id_chzn/a" | |
111 | - wait_until { page.has_content?("Details") } | |
110 | + issues_assignee_selector = "#assignee_id_chzn > a" | |
112 | 111 | project = Project.find_by_name "Shop" |
113 | 112 | assignee_name = project.users.first.name |
114 | 113 | page.find(issues_assignee_selector).should have_content(assignee_name) | ... | ... |