Commit graph

197 commits

Author SHA1 Message Date
Ifedapo Olarewaju
aec4ca798a test: skip all providers tests for now 2018-09-24 11:22:32 +01:00
Ifedapo Olarewaju
88d7f135be test: restore old test behaviour 2018-09-24 10:59:12 +01:00
Ifedapo Olarewaju
36c4ac650e test: increase the test timeout 2018-09-23 17:47:38 +01:00
Ifedapo Olarewaju
20ea951486 test: dont bail 2018-09-23 17:28:56 +01:00
Ifedapo Olarewaju
558daeb727 test: run test only on chrome 2018-09-23 17:14:10 +01:00
Ifedapo Olarewaju
4435749cb7 test: don't reload browser 2018-09-23 17:00:39 +01:00
Ifedapo Olarewaju
291c1bedc5 test: reload browser within the spec to avoid init error 2018-09-23 15:48:04 +01:00
Ifedapo Olarewaju
8b204d437d test: set companion config values when running test 2018-09-17 15:12:11 +01:00
Ifedapo Olarewaju
35784acf58 tests: start companion once 2018-09-10 14:30:12 +01:00
Ifedapo Olarewaju
425f9119ed test: handle google's suspicious login 2018-09-09 18:20:36 +01:00
Ifedapo .A. Olarewaju
47851e91f6
Merge pull request #1013 from transloadit/fix/provider-test
Provider integration test fixes
2018-09-09 17:25:43 +01:00
Kevin van Zonneveld
67af833fdb
More uppy server -> companion renames (#1037)
* Some uppy server -> companion renames

* Fix typos

* Implement most of @goto-bus-stop's feedback

* Nuke Create React App readme

* An Companion -> A Companion

* Companion server -> instance
2018-09-03 14:48:03 +02:00
Renée Kooi
5933c4a1bf
Fix security warnings in create-react-app integration test. 2018-08-20 17:18:09 +02:00
Renée Kooi
95833f66b3
Do not expect env.sh to exist in provider integration test 2018-08-20 17:00:47 +02:00
Renée Kooi
1e3cc35826
Provider integration test fixes
- Skip tests if the credentials for google or instagram are not
available.
- Run a companion process.
2018-08-20 16:44:45 +02:00
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