Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignoring-angular doesn't work? #28

Open
ldodds opened this issue Apr 11, 2016 · 1 comment
Open

ignoring-angular doesn't work? #28

ldodds opened this issue Apr 11, 2016 · 1 comment

Comments

@ldodds
Copy link

ldodds commented Apr 11, 2016

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.

@afarriaga
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants