Commit graph

182 commits

Author SHA1 Message Date
Ifedapo .A. Olarewaju
d0cbac80c7 e2e test for providers (#990) 2018-08-14 10:25:27 +02:00
Renée Kooi
8232fcf665
Wait a bit longer between dashboard toggling 2018-07-23 14:16:47 +02:00
Renée Kooi
33dd05fd39
Maybe fix aria-hidden absence check in Edge 2018-07-23 13:13:32 +02:00
Renée Kooi
e8c7a04f5d
Fix webpack css inclusion check 2: electric boogaloo 2018-07-23 12:43:18 +02:00
Renée Kooi
e47b40e7e0
Click the button inside the dashboardtab 2018-07-23 11:32:43 +02:00
Renée Kooi
33cc8ec528
Fix webpack css inclusion check 2018-07-23 11:18:05 +02:00
Renée Kooi
b04fe98d38
Reenable CRA test. 2018-07-23 11:18:04 +02:00
Renée Kooi
507689d9ca
Polyfill Map and Set in React integration test
So that it works in IE10
2018-07-23 11:18:04 +02:00
Ifedapo Olarewaju
863f89fa50 use safari 10 for e2e test 2018-07-23 09:44:01 +01:00
Artur Paikin
92ec901db7 try tests without safari 2018-07-21 22:52:48 -04:00
Artur Paikin
42202a4d05 see if disabling React tests will solve endtoend test issues 2018-07-21 16:02:07 -04:00
Artur Paikin
a7ac93a1c0 remove DragDrop and ProgressBar from tests since they are not used
leave comments to test using multiple CSS files from plugins — they break each other 😱
2018-07-21 16:01:41 -04:00
Artur Paikin
fee5e05917 add autoProceed: true to tests 2018-07-19 23:35:42 -04:00
Renée Kooi
fedfb98fa7 Split integration tests and add one using create-react-app (#952)
* Split up integration tests.

* Remove unused bits from xhr-limit integration test.

* Use a shared base config for local and remote webdriver tests.

* Remove npmignores

These are no longer needed because we publish from packages/* and not
the root.

* Keep xhr-limit disabled because it still does not work

* Extract integration test helper functions to utils.js.

* Stash React integration test stub

* Fix build steps for CRA integration test.

* Add Webpack CSS test and CRA mount/unmount test

* Add DashboardModal integration tests.

* Add suites to wdio so we can run single tests.

* Fix create-react-app CI build.
2018-07-18 11:24:55 +02:00
Renée Kooi
72689d01ac
Export Plugin class from @uppy/core. 2018-06-28 12:20:21 +02:00
Artur Paikin
356585f4af update to status-bar and xhr-upload in: tests, website, dependencies, examples 2018-06-21 16:20:55 -04:00
Renée Kooi
811ed885c6
Add Promise polyfill in integration tests. 2018-06-21 16:07:01 +02:00
Renée Kooi
6ad3768596
Call browser.url() before each test. 2018-06-21 14:42:43 +02:00
Renée Kooi
73e8c0d50e
Use verdaccio to simulate publishes before integration tests. 2018-06-21 13:54:10 +02:00
Renée Kooi
d494e7df3c
Unit test fixes. 2018-06-18 15:49:59 +02:00
Renée Kooi
c68599dee9
Make integration tests run with new package setup
Unfortunately had to undo the `npm pack` PR for this for now :(
2018-06-18 15:30:56 +02:00
Renée Kooi
6e24d0e4c9
Update build scripts. 2018-06-18 11:33:45 +02:00
Renée Kooi
16d0d4253a
Move Plugin class to @uppy/core package.
Steps taken:

```bash
git mv src/core/Plugin.js packages/@uppy/core/src
vim packages/@uppy/core/src/index.test.js # Update require
sed -i 's/[./]*\/core\/Plugin/@uppy\/core\/lib\/Plugin/' src/**/*.js
vim test/mocks/* # manually update require() calls
vim website/src/docs/writing-plugins.md # manually update require() calls
```
2018-06-14 16:31:19 +02:00
Artur Paikin
a60c2f0c64 ignore node_modules in test/endtoend 2018-06-13 12:50:47 -04:00
Renée Kooi
968b98ed29
.eslintrc → .eslintrc.json 2018-06-07 13:18:39 +02:00
Ifedapo Olarewaju
db00701944 run integration tests with installed uppy 2018-06-03 08:04:58 +01:00
Renée Kooi
815b41792a
Fix locale e2e test. 2018-05-24 15:18:24 +02:00
Renée Kooi
22e026e04b
Revert "Fix locale e2e test."
This reverts commit db5b870ff0.

This was supposed to be committed on a different branch.
2018-05-22 14:45:43 +02:00
Renée Kooi
db5b870ff0
Fix locale e2e test. 2018-05-22 14:37:57 +02:00
Renée Kooi
37768e1531
core: Remove .run(). 2018-04-30 12:17:13 +02:00
Renée Kooi
acc819c2ed
Make addFile() synchronous. 2018-04-09 09:36:20 +02:00
Renée Kooi
5884904fbc
Use CommonJS in test files 2018-03-19 10:48:36 +01:00
Renée Kooi
a057009cf9
Remove unused files from published package (#586)
Ooooops…

Installed package size:

 - Before: 84M
 - After: 5.9M

The npmignore files are in nested folders, then they override the `files` config in package.json. It seemed difficult to change the `files` config to exclude all these things, so I opted for this instead.
2018-02-01 16:17:35 +01:00
Renée Kooi
a68f452110
disable failing test for now 2018-01-08 21:40:13 +01:00
Renée Kooi
daf2e2bd9a
simpler .started length check 2018-01-08 11:16:16 +01:00
Renée Kooi
456a4a8673
Fix content type response in XHRUpload test 2018-01-08 11:16:00 +01:00
Renée Kooi
07463ee474
Add test for XHRUpload limit option 2018-01-08 10:06:11 +01:00
Artur Paikin
95d78620e3 https fixes test? 2018-01-05 16:03:28 -05:00
Artur Paikin
86b3d3c640 update endtoend test selectors 2017-12-20 00:45:36 -05:00
Artur Paikin
85fe3442e4 remove .js from import 2017-12-09 13:21:20 -05:00
Artur Paikin
ed9aa1a537 🚨this.core to this.uppy everywhere
danger again
2017-12-08 17:34:33 -05:00
Artur Paikin
b3a9a4bdb7 remove old acceptance tests 2017-11-28 19:12:00 -05:00
Artur Paikin
d40db2874e fix Plugin path in tests 2017-11-28 19:11:15 -05:00
Artur Paikin
65f0553bd3 add iOS and Android 2017-11-08 16:43:29 -05:00
Artur Paikin
3e950dfe51 add user/key back 2017-11-07 15:17:33 -05:00
Artur Paikin
7d881151a4 try removing sauce connect, user and key 2017-11-07 15:01:04 -05:00
Artur Paikin
b5f15978d5 Revert "is this starting another tunnel?"
This reverts commit 6c76b01afb.
2017-11-07 14:58:28 -05:00
Artur Paikin
6c76b01afb is this starting another tunnel? 2017-11-07 14:56:28 -05:00
Artur Paikin
da0efb48e0 add tunnel-identifier and build: job number 2017-11-07 14:30:37 -05:00
Artur Paikin
d1fe35f501 configs for local and remote sauce tests 2017-11-07 14:05:05 -05:00