You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
I'm running a Rails project with Rspec, Capybara and Poltergeist and I'm currently fighting with a problem related to React components, I have a feature with a button managed by React with an onclick event that only render some content, running my tests against that feature with Poltergeist driver my tests fail once the click_on function doesn't trigger the action.
The curios thing is that I tried with chromedriver and selenium and both work well.
I'm running in an os x (sierra) and my project configuration is:
Are you 100% all JS is getting transpiled to ES5 compatible? Unfortunately parse time errors for ES6 features like let can be silently swallowed by PhantomJS, so you end up with no errors but also with no JS being actually run.
teampoltergeist/poltergeist#895
Unfortunately parse time errors for ES6 features like *let* can be silently swallowed by PhantomJS, so you end up with no errors but also with no JS being actually run.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hey guys,
I'm running a Rails project with Rspec, Capybara and Poltergeist and I'm currently fighting with a problem related to React components, I have a feature with a button managed by React with an
onclick
event that only render some content, running my tests against that feature with Poltergeist driver my tests fail once theclick_on
function doesn't trigger the action.The curios thing is that I tried with
chromedriver
andselenium
and both work well.I'm running in an os x (sierra) and my project configuration is:
We're writing modules using
es6
transpiled by babel, and we don't have javascript errors inlogs
The text was updated successfully, but these errors were encountered: