Ray Schamp
c3ebfa5c6d
Mock responsibly
...
/ht @paulkaplan
2017-11-03 09:28:56 -04:00
Ray Schamp
0e0c689e22
Fix tests
...
Previously we tested the ProjectLoader helper object, but now all loading is confined to storage. Unfortunately I wasn't able to get enzyme to wait for the storage promise to resolve within componentDidUpdate, so I can't test the actual results of storage.load, just what it was called with.
2017-11-03 09:28:56 -04:00
Paul Kaplan
9d8447d797
Merge pull request #848 from paulkaplan/fix-unstable-test
...
Wait for scroll animations correctly
2017-11-02 17:11:03 -04:00
Paul Kaplan
eddc8c4345
Wait for scroll animations
2017-11-02 16:47:56 -04:00
Paul Kaplan
17d7f65584
Ensure loading extension again scrolls back down
2017-11-02 11:43:58 -04:00
Paul Kaplan
fb103de1fb
Add a test to make sure the block menus update when switching sprites.
2017-10-23 10:23:50 -04:00
Paul Kaplan
2d56c81625
Update tests to include reporter clicking and variable clicking.
2017-10-23 10:02:20 -04:00
Eric Rosenbaum
1217da5e0e
Remove pen category from examples integration test
2017-10-19 14:27:05 -04:00
Eric Rosenbaum
4b47f0a894
Integration test for adding pen extension
2017-10-19 14:24:25 -04:00
Paul Kaplan
c3b7305d27
Update other deps
2017-10-13 12:57:19 -04:00
Paul Kaplan
1e26992f45
Fix enzyme tests
2017-10-13 12:57:19 -04:00
Ray Schamp
c5404bffa7
Update enzyme usage for 3.1.0
...
Add a setup file that configures the React adapter. Fix one deprecated usage for ProjectLoaderHOC tests.
There are some tests still broken, but these weren't called out by Enzyme.
2017-10-13 12:56:44 -04:00
Chris Willis-Ford
f5289655a8
Merge branch 'develop' into fix-tests-on-windows
2017-10-11 09:51:53 -07:00
Paul Kaplan
5ca2693b60
Scope clickText calls using tab ids
2017-10-06 09:48:10 -04:00
Christopher Willis-Ford
b490934f40
Register chromedriver path
...
Adding `import 'chromedriver';` causes the module to register the path
to `chromedriver` / `chromedriver.exe` automatically, fixing this error:
```
The ChromeDriver could not be found on the current PATH. Please download the latest version of the ChromeDriver from http://chromedriver.storage.googleapis.com/index.html and ensure it can be found on your PATH.
at Error (native)
```
2017-09-20 00:01:55 +01:00
Christopher Willis-Ford
accd92d9a3
Adjust clickText to search only in body
...
This should fix the integration test failures on the extensions branch.
Thanks @paulkaplan for figuring this out!
2017-09-18 10:51:58 -07:00
Paul Kaplan
b3b254bec9
Fix linting
2017-08-18 15:15:00 -04:00
Paul Kaplan
61e9c25468
Merge branch 'develop' into safari-audio
2017-08-18 15:05:58 -04:00
Paul Kaplan
50f168172e
Add controls container for turbo mode indicator
2017-08-17 17:26:37 -04:00
Paul Kaplan
f017ed7220
Merge pull request #625 from rschamp/library-examples
...
Add GUI-as-library examples
2017-08-17 15:16:17 -04:00
Ray Schamp
d54320b20b
Test that blocks-only can use the blocks palette
2017-08-17 10:30:45 -04:00
Ray Schamp
4ac3dd68f0
Add tests for the ProjectLoaderHOC
2017-08-17 10:12:56 -04:00
Ray Schamp
7fc0858dcc
Update linting for tests to match src
2017-08-17 10:12:43 -04:00
Paul Kaplan
0332606574
Update snapshots
2017-08-17 08:42:55 -04:00
Ray Schamp
944249bb73
Add tests for examples
2017-08-16 14:57:05 -04:00
Paul Kaplan
7c42b525e5
Update audio effects mock to use callback API
2017-08-15 09:30:34 -04:00
Paul Kaplan
59968ba031
Merge pull request #612 from paulkaplan/fix-lint-warnings
...
Fix all lint warnings except todo comments (including a bug!)
2017-08-14 14:52:28 -04:00
Paul Kaplan
4ad873020f
Merge pull request #605 from paulkaplan/context-menu
...
Context menu
2017-08-14 13:49:18 -04:00
Paul Kaplan
4b7b418b68
remove unused import
2017-08-14 13:40:42 -04:00
Paul Kaplan
4fe264e924
Fix all lint warnings except todo comments (including a bug!)
2017-08-13 12:59:41 -04:00
Paul Kaplan
b03e23740d
Merge branch 'develop' into sound-editor--effects-backend
2017-08-11 10:30:45 -04:00
Paul Kaplan
d0fc523f6b
Merge pull request #584 from paulkaplan/selenium-with-jest
...
Add end-to-end testing using selenium-webdriver
2017-08-11 10:27:49 -04:00
Paul Kaplan
c6cf17d0e1
Fix test to not be so specific
2017-08-10 10:29:45 -04:00
Paul Kaplan
46b1f85d9f
Update jest tests for intl and contextmenu
2017-08-10 10:08:05 -04:00
jwzimmer
afdd4de82d
switched to async, await keywords & updated README with Paul
2017-08-09 12:24:03 -04:00
Paul Kaplan
a1c9c203df
Add undo/redo functionality and tests
2017-08-05 13:23:18 -04:00
Paul Kaplan
e356c17315
Add tests for the audio effects
2017-08-04 13:54:13 -04:00
Paul Kaplan
d1014d299d
Add audio effects and container test
2017-08-04 12:21:45 -04:00
Paul Kaplan
8dfdb34248
Add more interesting green flag test
2017-08-03 13:43:12 -04:00
Paul Kaplan
406230d172
Run build without production flag to surface errors
2017-08-03 13:34:03 -04:00
Paul Kaplan
a84e7fa71f
Rework for import
2017-08-03 13:26:55 -04:00
Paul Kaplan
bd6e64d045
Click all the effect buttons
2017-08-03 13:16:46 -04:00
Paul Kaplan
96b7b6edcf
Add travis support for chrome
2017-08-03 13:16:46 -04:00
Paul Kaplan
dfd42a121b
Add integration tests with selenium
2017-08-03 13:16:46 -04:00
Paul Kaplan
c72bc657ac
Remove unused variable
2017-08-03 13:10:22 -04:00
Paul Kaplan
5d8da5052a
Add effect buttons and tests for the component
2017-08-03 13:10:22 -04:00
Paul Kaplan
b6f5a6e33c
Internationalize and update testing to handle react-intl
2017-08-02 15:40:02 -04:00
Paul Kaplan
b9c6f3fb44
Add trimming and tests to the sound editor
2017-08-01 15:36:37 -04:00
Paul Kaplan
0bf242e06a
Use div for cleaner snapshots
2017-07-27 08:47:45 -04:00
Paul Kaplan
bbf641914b
Extract IconButton component and reuse for the sprite and backdrop buttons
2017-07-26 17:26:41 -04:00