testcafe: Pages do not load with Turbolinks enabled
Are you requesting a feature or reporting a bug?
bug
What is the current behavior?
TestCafe does not work with Turbolinks
enabled applications.
Many Ruby on Rails application have turbolinks enabled. It would be great to see if there is something that could be done to allow e2e testing of RoR with TestCafe https://github.com/turbolinks/turbolinks
What is the expected behavior?
Pages should load normally but don’t
How would you reproduce the current behavior (if this is a bug)?
Removing Turbolinks makes testcafe work as expected where pages load normally as expected
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
Specify your
- operating system: Mac OS X
- testcafe version: 0.15.0
- node.js version: 7.10.0
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (9 by maintainers)
@LavrovArtem @AlexanderMoskovkin – great news:
Ignore my earlier comment today I forgot to run the application server (yes, I am idiot) !!!
And guess what, with the latest release testcafe (0.16.0-alpha4) now works as expected with turbolinks on a rails application (plus webpack)
Thank you very much!
Hi @irobayna! How is your progress? Could you please try the last alpha?
npm install -g testcafe@0.16.0-alpha4
@AlexanderMoskovkin @LavrovArtem Thanks! Don’t hesitate to reach back if you need further details, etc
I’ve reproduced the problem on a site that uses Turbolink https://github.com/DevExpress/testcafe-hammerhead/issues/1133
Hi @irobayna,
It seems there is some conflict between Turbolink and our proxy, we’ll investigate why it happens and how we can deal with it.