Instructions in CONTRIBUTING.md don't seem to work out of the box #7029
Labels
AREA: docs
An issue related to the product documentation.
TYPE: enhancement
The accepted proposal for future implementation.
What is your Scenario?
When trying to contribute to TestCafe, I'm following the instructions from CONTRIBUTING.md. Namely, I do
npm install
, thennpx gulp build
. This is enough to test a modified version of TestCafe against my project vianpm link
, but I was more interested in running the test suite. Using a freshlygit pull
ed version of TestCafe.What is the Current behavior?
npm install
without--legacy-peer-deps
failsThere is no information about what software I need to have installed. The test suite assumes I have all the browsers that TestCafe supports, or at least Chrome and IE.
Running a single functional test suite, e.g.
gulp test-functional-local-headless-firefox
, doesn't pass out of the box.What is the Expected behavior?
npm install
shouldn't require the--legacy-peer-deps
flagWhat is your public website URL? (or attach your complete example)
What is your TestCafe test code?
I run this on Linux, in Vagrant, with Parallels Desktop (although VirtualBox should produce similar results). Below is my Vagrantfile:
The Vagrantfile, as it's currently written, should go in the root folder of TestCafe, then TestCafe will end up in
~/workspace
once youvagrant up && vagrant ssh
.Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
vagrant up
vagrant ssh
cd workspace
, then runnpm install
TestCafe version
Node.js version
No response
Command-line arguments
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
The text was updated successfully, but these errors were encountered: