Commit c22215ec authored by Walmyr Lima's avatar Walmyr Lima

Fix check mentions for xss test

By simply tagging @eve the comment does not turn into a link, while
by tagging @#{user.username} it turns into a link that when clicked
could lead to a xss atack, and this is what made me change the test
parent 85ed3ffe
......@@ -42,7 +42,7 @@ module QA
Page::Project::Issue::Show.perform do |show|
show.select_all_activities_filter
show.comment('cc-ing you here @eve')
show.comment("cc-ing you here @#{user.username}")
expect do
expect(show).to have_content("cc-ing you here")
......
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