Commit 43850df6 authored by Clement Ho's avatar Clement Ho

Add user symbol for search spec

parent c94b6481
...@@ -170,7 +170,7 @@ describe "Search", feature: true do ...@@ -170,7 +170,7 @@ describe "Search", feature: true do
sleep 2 sleep 2
expect(page).to have_selector('.filtered-search') expect(page).to have_selector('.filtered-search')
expect(find('.filtered-search').value).to eq("assignee:#{user.username}") expect(find('.filtered-search').value).to eq("assignee:@#{user.username}")
end end
it 'takes user to her issues page when issues authored is clicked' do it 'takes user to her issues page when issues authored is clicked' do
...@@ -178,7 +178,7 @@ describe "Search", feature: true do ...@@ -178,7 +178,7 @@ describe "Search", feature: true do
sleep 2 sleep 2
expect(page).to have_selector('.filtered-search') expect(page).to have_selector('.filtered-search')
expect(find('.filtered-search').value).to eq("author:#{user.username}") expect(find('.filtered-search').value).to eq("author:@#{user.username}")
end end
it 'takes user to her MR page when MR assigned is clicked' do it 'takes user to her MR page when MR assigned is clicked' 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