How do I write a Capybara assertion that checks for the presence of a button and its enabled or disabled state?

后端 未结 0 1940
野的像风
野的像风 2021-02-11 13:50

I have an app that enables/disables buttons in response to things that happen in the UI.

I can easily use capybara to detect if a button exists

should ha         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题