testcafe: 'TypeError: this.res.setHeader is not a function' error appears, when specified 'http://localhost:3000' page url (Firefox only)
Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
FF window is opened, navigation on url is done, failing occurs on next line after navigation, testCafe stops execution.

What is the expected behavior?
TestCafe should continue tests execution
How would you reproduce the current behavior (if this is a bug)?
- Install latest testCafe version.
- Install latest FF version.
- Trigger tests execution in FF.:
testcafe.js firefox ./{somePathToTests} s -r spec,nunit:./${somePathToResults} -e --selector-timeout 2000
Provide the test code and the tested page URL (if applicable)
Tested page URL: http://localhost:3000
Test code:

Specify your
- operating system: Mac OS X 10.12.0
- testcafe version: 0.20.0, 0.19.2
- node.js version: v8.9.4
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (1 by maintainers)
Commits related to this issue
- fix `'TypeError: this.res.setHeader is not a function' error appears, when specified 'http://localhost:3000' page url (Firefox only)` (related to DevExpress/testcafe#2438) — committed to LavrovArtem/testcafe-hammerhead by LavrovArtem 6 years ago
- fix `'TypeError: this.res.setHeader is not a function' error appears, when specified 'http://localhost:3000' page url (Firefox only)` (related to DevExpress/testcafe#2438) (#1686) — committed to DevExpress/testcafe-hammerhead by LavrovArtem 6 years ago
- fix `'TypeError: this.res.setHeader is not a function' error appears, when specified 'http://localhost:3000' page url (Firefox only)` (related to DevExpress/testcafe#2438) (#1686) — committed to AndreyBelym/testcafe-hammerhead by LavrovArtem 6 years ago
Hi @iegor-zabielin , I’ve just published
testcafe@0.20.5with the fix! Please, update your TestCafe installation, and feel free to reopen the issue if the problem isn’t fixed in your environment.