我在我的 Gemfile 中添加了 activeadmin。
我跑了:
rails g active_admin:install Admin User
rake db:migrate
然后我跑了:
bundle exec rake test:integrations
我得到了这个错误:
Capybara::Poltergeist::ClickFailed:
Click at co-ordinates [330.5, 714] failed. Poltergeist detected another element
with CSS selector 'html body div#ui-datepicker-div.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all div.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all div.ui-datepicker-title span.ui-datepicker-month'
at this position. It may be overlapping the element you are trying to click.
我尝试按照本文中的建议排除 activeadmin js 和 css ,但仍然出现错误。
有谁知道如何解决这个问题?