capybara: page.should have_no_content doesn't work correctly for display:none element

后端 未结 4 2102
你的背包
你的背包 2020-12-16 22:10

I would like to use page.should have_no_content to check if the page doesn\'t display the label to user, here what it is in HTML:

  • 4条回答
    提交回复
    热议问题