Commit graph

232 commits

Author SHA1 Message Date
Artur Paikin
d321be016f use newer OSes for tests 2019-04-19 09:47:18 +03:00
Ifedapo Olarewaju
adeb2fecfa update docs, tests, and examples with companionUrl rename 2019-04-15 14:56:37 +01:00
Renée Kooi
5709647728
typescript: fix uppy package use with allowSyntheticImports: false
Synthetic default imports allow you to `import X from 'x'` if `'x'` is a
CommonJS module. Our `uppy` package relied on that (probably forgot to
update it in a previous patch). If users had set
`allowSyntheticDefaultImports: false`, they would not be able to use the
`uppy` package.

We should at some point go through the typings again and set everything
to the tightest options, because that'll work with the widest array of
users, but for now let's just unbreak this particular case.

Fixes #1395
2019-04-01 11:47:52 +02:00
Artur Paikin
130b79076c try build with newer Chrome 2019-03-29 22:11:25 +03:00
Kevin van Zonneveld
5f4f1cf17e
Refactor npm scripts, clean up unused ones (#1392)
Co-Authored-By: Artur Paikin <artur@arturpaikin.com>
2019-03-29 14:55:23 +01:00
Artur Paikin
086370178b what if chrome 50 is the reason for tests failing 2019-03-28 15:19:48 +03:00
Artur Paikin
31f82ab785 disable url-plugin again for now 2019-02-15 21:26:55 +03:00
Artur Paikin
56794135b8 try enabling/fixing url-plugin test on travis 2019-02-01 16:41:19 +03:00
Artur Paikin
2704e31579 temp disable url and transloadit tests 2019-01-31 19:17:41 +03:00
Renée Kooi
8466f66356
Add polyfills 2018-12-20 14:52:57 +01:00
Renée Kooi
7eed66d6f9
Set tsify target to ES3 2018-12-20 14:52:57 +01:00
Renée Kooi
0949f462cd
can we log that 2018-12-20 14:52:57 +01:00
Renée Kooi
7fd5af46df
Move programmatic click to test.js 2018-12-20 14:52:57 +01:00
Renée Kooi
5699e5962b
Add typescript integration test. 2018-12-20 14:52:57 +01:00
Artur Paikin
895103e402 add core styles to create-react-app tests 2018-11-22 14:23:32 +03:00
Artur Paikin
5b25f2341c build like this? 2018-11-20 17:23:12 +03:00
Renée Kooi
6694350493
fix skip 🤦‍♀️ 2018-11-15 15:58:03 +01:00
Renée Kooi
8e2aa30091
Skip consistently failing thumbnail test on IE for now 2018-11-15 15:44:51 +01:00
Renée Kooi
052b5641f4
Drop Chrome 69 test because it crashes 2018-11-05 14:56:43 +01:00
Renée Kooi
abd3b07359
Fix integration test mocha config. 2018-11-05 11:11:22 +01:00
Ifedapo Olarewaju
24807c2e41 test: fix url-plugin test 2018-10-26 01:21:08 +01:00
Ifedapo Olarewaju
f632e1453b test: disable url-plugin tests 2018-10-15 15:44:47 +01:00
Ifedapo Olarewaju
69a06376f0 test: use "waitForExist" 2018-10-15 08:22:26 +01:00
Ifedapo Olarewaju
2e7281e48f test: change upload complete selector for url-plugin 2018-10-15 07:56:59 +01:00
Ifedapo Olarewaju
c42e1078ed test: disable autoproceed for url-plugin test 2018-10-15 07:35:36 +01:00
Ifedapo Olarewaju
44a8070377 test: integration test for url plugin 2018-10-14 20:20:16 +01:00
Renée Kooi
a9366ecae6
Enable thumbnail test in IE and Edge. 2018-10-08 14:23:15 +02:00
Artur Paikin
27e3bde603 use base64toBlob in selectFakeFile 2018-10-07 19:40:39 -04:00
Artur Paikin
c16dc71fef don’t use arrow function, for *this* to work 2018-10-05 23:24:45 -04:00
Artur Paikin
b6f9ab2bb0 skip test if TRANSLOADIT_KEY is not set, use waitForExist 2018-10-05 18:39:34 -04:00
Artur Paikin
cf8abf2fd7
Merge branch 'master' into chore-transloadit-e2e 2018-10-02 23:31:49 -04:00
Artur Paikin
f11f5e5921 Add Transloadit test 2018-10-02 23:28:28 -04:00
Renée Kooi
a67a558eec
Working test
Add tests for thumbnail:* events.

Show build output

Try adding a non image file?

fixes

Add -b flags to local acceptance tests

fix hanging thumbnail test

Add a corrupt image

revoke

Require passing integration tests

extended debugging?

Try more browser versions

it helps to pick a browser that's available

sort stuff in .travis.yml and add whitespace for easier navigation

[REVERT BEFORE MERGE] only run acceptance tests on this pr

make sure lerna publishes stuff to local

do git tag version during integration test

update lerna

fix install / bootstrap execution order

?

--no-ci

dont do npm ls because it errors with lerna

set a git branch name

blehbleh

ughhhhhhhhhhhh

onerror?

no onerror i guess

onerror 2

Revert "onerror 2"

This reverts commit 64d88551fa1cd337b27e25d16a604dd781a15b43.

onerror 3

more debug data

disable browsers that work

fix syntax for older browsers

thumbnails suite

check different edge versions

abc

use addeventlistener for error, which is different from onerror

no clue

skip thumb test in edge or whatever

Re enable other browsers.

re enable tasks

fix edge skip

this one was intentionally disabled

Remove debug leftovers

edge → supportschoosefile

:ready → :all-generated
2018-10-01 15:18:49 +02:00
Renée Kooi
a68bcc1459
Use FileInput in thumbnails test 2018-10-01 11:36:17 +02:00
Renée Kooi
044d56fd71
Start work on thumbnails integration test 2018-10-01 11:36:13 +02:00
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