Commit efc679e4 authored by Robert Speicher's avatar Robert Speicher
Browse files

Fix "I see current user as the first user" step

Why did this break? `¯\_(ツ)_/¯`
parent f9bccda54eb4
......@@ -59,15 +59,14 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
end
step 'I click "author" dropdown' do
first('.ajax-users-select').click
first('#s2id_author_id').click
end
step 'I see current user as the first user' do
expect(page).to have_selector('.user-result', visible: true, count: 4)
expect(page).to have_selector('.user-result', visible: true, count: 3)
users = page.all('.user-name')
expect(users[0].text).to eq 'Any Assignee'
expect(users[1].text).to eq 'Unassigned'
expect(users[2].text).to eq current_user.name
expect(users[0].text).to eq 'Any Author'
expect(users[1].text).to eq current_user.name
end
step 'I submit new issue "500 error on profile"' do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment