Skip to content
代码片段 群组 项目
提交 74ace2a4 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Merge branch 'da-fix-broken-master' into 'master'

Fix broken spec for Merge request > Revert modal

See merge request gitlab-org/gitlab-ce!26961
No related branches found
No related tags found
无相关合并请求
......@@ -17,12 +17,14 @@
end
it 'shows the revert modal' do
expect(page).to have_content('Revert this merge request')
page.within('.modal-header') do
expect(page).to have_content 'Revert this merge request'
end
end
it 'closes the revert modal with escape keypress' do
find('#modal-revert-commit').send_keys(:escape)
expect(page).not_to have_content('Revert this merge request')
expect(page).not_to have_selector('#modal-revert-commit', visible: true)
end
end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册