capybara-angular icon indicating copy to clipboard operation
capybara-angular copied to clipboard

ignoring-angular doesn't work?

Open ldodds opened this issue 8 years ago • 1 comments

In a feature I have:

ignoring_angular do
   visit "/"
end

If I have this in my capybara env.rb

include Capybara::Angular::DSL

Then the wait for angular always happens. I think the @ignoring_angular variable isn't been set correctly.

However if I have:

World(Capybara::Angular::DSL)

Then it works as advertised.

ldodds avatar Apr 11 '16 15:04 ldodds

I've got the same experience.

Using the namespace with World makes it work nicely, however, including it with include makes it happen every time which interferes with most of our test suit because of elements not being found.

afarriaga avatar Jul 12 '16 07:07 afarriaga