Commit Graph

16 Commits

Author SHA1 Message Date
Joe Haddad
aad5987a03 Bootstrap with Yarn when available (#2673)
* Bootstrap with Yarn if we can

* Update test scripts

* Check OS and npm concurrency ability

* Windows support

* Update bootstrap.js

* Install yarn before bootstrap
2017-06-29 00:45:45 -04:00
Dan Abramov
657b3fd6c0 Test Node 8 on Travis (#2659)
* Test Node 8 on Travis

We still test Node 7 on AppVeyor

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh

* Update e2e-simple.sh

* Update e2e-simple.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh
2017-06-29 00:09:13 +01:00
Dan Abramov
9559ba486e Put react-scripts in dependencies, not devDependencies (#2657)
* Put react-scripts in dependencies, not devDependencies

* Sort dependencies on eject

* Remove CI check
2017-06-28 14:04:26 +01:00
Ro Savage
32f82c03cb Added cache clear to e2e scripts (#2400)
* Added cache clear to e2e scripts

* Install latest yarn on AppVeyor to avoid windows crashing bug in yarn

* Alternative fix for yarn crashing e2e tests on windows machines
2017-05-29 19:00:43 +01:00
Joe Haddad
70768b321e Add react-error-overlay package (#2111)
* ༼ つ ◕_◕ ༽つ stack-frame-overlay

* Fix linting

* Remove auto overlay

* Fix e2e

* Pull in the rest

* Appease flow

* Correct dep

* Remove old repo references

* Check flow on test

* Test overlay in e2e

* Add cross env

* Rename package

* Make sure it gets built post-install

* Update the README

* Remove extra builds now that there's a postinstall script

* Revert "Remove extra builds now that there's a postinstall script"

This reverts commit 8bf601dbd36c1e0da7f785fa9ade70ab08ed8772.

* Remove broken script

* Fix some dev ergo
2017-05-10 19:56:30 -04:00
Joe Haddad
a53f22b76d Fix AppVeyor CI (#2010) 2017-04-21 22:05:06 -04:00
Lorenzo Palmes
1e1a3cbf10 Test for accidental extraneous dependencies (#1825)
* Added test to check for accidental dependencies

* Refactored test into a function

* Removed non capturing group from grep

* Update e2e-installs.sh
2017-03-23 19:49:05 -04:00
Joe Haddad
3fa5e8e7d7 Properly extract package name for installing tgz of scoped packages (#1706)
* Properly extract package name

* Download package if need be ...

* Oops

* Add e2e test based on #1537, but without specific filename

* Pass packageName through promises

A little bit more verbose but explicit and doesn't rely on shared mutable state.

* Fix up directory name in test

* Tweak failure message

* Fix lint
2017-03-05 23:45:29 +00:00
Ade Viankakrisna Fadlil
4ec5af39ac add double quotes to escape spaces in paths in e2e (#1707)
* add double quotes to escape spaces in path

* Change $* to "$@" props to @n3tr

* escape spaces in path for all e2e tests
2017-03-05 15:42:10 +00:00
Joe Haddad
43139bc093 Re-enable e2e-install directory test 2017-03-01 20:11:08 -05:00
Joe Haddad
a3a223aa1e Add appveyor.yml (#1648)
* Add appveyor.yml

* Execute mocha directly in e2e test

* Replace e2e process substitution

* Kill nohup node processes after e2e

* Disable known failing Windows test

* Only build master
2017-02-27 18:41:49 -05:00
Vicente Jr Yuchitcho
6876c40259 Gracefully handle initial installation error (#1512)
* Gracefully handle initial installation error

* Print out message when problem occurs
* Delete project folder on errors

* Fix directory deleting message

Resolves #1505
2017-02-25 11:48:53 -05:00
Dan Abramov
745d341ffb Use Yarn latest in e2e (#1534)
* Use Yarn latest in e2e

* Here too

* And here plz
2017-02-15 00:34:05 +00:00
Marcus R. Brown
f840b4d4ba Fix test -e with wildcard arguments. (#1503)
The `test` command fails with multiple arguments when given a unary operator such as '-e'. Add a function that can test one or more files by looping over all files.
2017-02-12 01:34:15 +00:00
Fabrizio Castellarin
1d586aaf31 E2e jsdom fix (#1470)
* E2E: run tests when react is ready

* Entangle e2e with callbacks

* Remove unused e2e lines
2017-01-30 19:24:12 +00:00
Fabrizio Castellarin
9099570b94 Use a more sophisticated template for end-to-end testing. (#1187)
* Use a more sophisticated template for end-to-end testing.

* Not publish integration tests to npm

* Use "commander" for  cli argv handling

* Handle different scripts version forms and exits without a name given

* Prepare the commands for testing with a template

* Fix dev "template" path

* Add various features to test

* Test various features separately

* Test language features

* Comment unused e2e.sh lines

* Add "development" tests

* Test environment variables

* Test webpack plugins

* Replace kitchensink README

* Switch integration tests from jest to mocha

* Use `fs-extra`

* Use the correct folders

* Do some cleanup

* Print a better message for `--template`

* Test `npm start` with and without https

* Separate fast e2e testing from kitchensink testing

* Hide `--internal-testing-template` (former `--template`) CLI option
2017-01-23 20:43:16 +01:00