diff --git a/features/steps/project/project_issues.rb b/features/steps/project/project_issues.rb index 23142f5cb1e3c409444432ea4d955309a0de2c7a..88bfac638d0510883c1136d3d3f10a9817960614 100644 --- a/features/steps/project/project_issues.rb +++ b/features/steps/project/project_issues.rb @@ -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)