diff options
-rw-r--r-- | qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb b/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb index d3bb3659e8e..1519bbf9e31 100644 --- a/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb +++ b/qa/qa/specs/features/browser_ui/2_plan/issue/check_mentions_for_xss_spec.rb @@ -3,7 +3,7 @@ module QA context 'Plan' do describe 'check xss occurence in @mentions in issues' do - before do + it 'user mentions a user in comment' do QA::Runtime::Env.personal_access_token = QA::Runtime::Env.admin_personal_access_token unless QA::Runtime::Env.personal_access_token @@ -39,9 +39,7 @@ module QA issue.project = project end issue.visit! - end - it 'user mentions a user in comment' do Page::Project::Issue::Show.perform do |show| show.select_all_activities_filter show.comment('cc-ing you here @eve') |