Skip to content
代码片段 群组 项目
未验证 提交 5519dd5c 编辑于 作者: Andrejs Cunskis's avatar Andrejs Cunskis
浏览文件

Merge branch 'fix-flaky-spec-409989' into 'master'

No related branches found
No related tags found
无相关合并请求
......@@ -221,20 +221,23 @@
expect(page).to have_selector(selector, text: label.title, count: 1)
end
it 'allows user to delete list from list settings sidebar', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/409989' do
expect(page).to have_content(label.name)
it 'allows user to delete list from list settings sidebar' do
selector = '[data-testid="board-list-header"]'
expect(page).to have_selector(selector, text: label.title, count: 1)
page.within(find('.board:nth-child(2)')) do
click_button 'Edit list settings'
end
click_button 'Remove list'
page.within('.modal') do
page.within('.gl-drawer-sidebar') do
click_button('Remove list', match: :first)
end
expect(page).not_to have_content(label.name)
page.within('.modal-dialog') do
click_button('Remove list')
end
expect(page).not_to have_selector(selector, text: label.title)
end
end
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册