Skip to content
代码片段 群组 项目
提交 434efdac 编辑于 作者: Sean McGivern's avatar Sean McGivern
浏览文件

Merge branch 'fix-flakey-user-comment-on-issue' into 'master'

Fix flakey time-sensitive user comment on issue test

See merge request gitlab-org/gitlab-ce!19786
No related branches found
No related tags found
无相关合并请求
...@@ -31,11 +31,14 @@ ...@@ -31,11 +31,14 @@
end end
it "adds comment with code block" do it "adds comment with code block" do
comment = "```\nCommand [1]: /usr/local/bin/git , see [text](doc/text)\n```" code_block_content = "Command [1]: /usr/local/bin/git , see [text](doc/text)"
comment = "```\n#{code_block_content}\n```"
add_note(comment) add_note(comment)
expect(page).to have_content(comment) wait_for_requests
expect(page.find('pre code').text).to eq code_block_content
end end
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册