Commit graph

21 commits

Author SHA1 Message Date
Renée Kooi
a1eeaa386b
Update babel-eslint and jest
Fixes the `no-unused-vars` issue.

Disables the preflight check in CRA, it has its own isolated module tree
so it was useless anyway.
2019-10-11 16:11:52 +02:00
Renée Kooi
c62ec3665d Update eslint to v6 (#1777)
* Update eslint

* Do eslint --fix

* Do not access Object.prototype method 'hasOwnProperty' from target object

* utils: add hasProperty

* eslint --fix

* Disable quote-props for locale files

* add back quotes in locale files

* revert locale files to state on master

* Update react-scripts
2019-08-13 21:45:30 +03:00
Renée Kooi
54c347dfb7
ci: use a fancy matrix (#1709)
* ci: try a fancy matrix

* ci: separate lint build

* build: update some dependencies for node 12 compat

* ci: do typing checks as part of LINT run

* ci: conditionally run ACCEPTANCE and WEBSITE jobs

* ci: is sauce checking domain names or what?

* ci: only build the website when we actually deploy it

* Revert "ci: is sauce checking domain names or what?"

This reverts commit a29fc7ecf9.

* ci: i might have misinterpreted this config?

* ci: rename acceptance → endtoend for consistency

* test: may need to update element reference after click?

* ci: try to only use sauce connect for endtoend runs

* ci: fix sauce_connect property name

* ci: comment the travis config a bit [skip ci]
2019-07-09 11:22:49 +02:00
Renée Kooi
0a40f2c444
Update webdriverio to v5 (#1675)
* build: update webdriverio to v5

* build: update wdio services config syntax

* e2e test updates for wdio 5

* Sync pinned versions between repo root and companion

* build: enable all e2e tests for this PR run

* waitForExist

* test: await browser.url() calls

* test: awaitify url-plugin test

* test: use sauceConnect

* test: upload files to sauce before using them

* fall back to fakechoosefile a lot?

* fall back to fakechoosefile more

* Disable file selection on saucelabs

* test: need to await this thing

* test: make more-sure that the input is visible

* test: use currently low load transloadit region so i dont have to wait

* test: update but disable xhr-limit

* test: change the order

* test: newer firefoxes

* test: change the order back

* kinda sucks that they only have super old browsers on linux

* ci: disable url-plugin and transloadit e2e tests again

* test: use local tus-node-server for integration tests

* test: use envify to check env variables and select appropriate URL

* test: use companion.test:1080 for tus uploads on Travis

* test: fix env vars in typescript and CRA tests

* test: use getBoundingClientRect, may work better in android

* test: try getSize AND getBoundingClientRect

* test: do not check image width in android

* test: allow retrying tests that are prone to flakiness

* test: be more verbose during e2e tests

* test: force <input> visibility in more tests

* test: warn if using test:endtoend not on CI
2019-07-05 13:45:43 +02:00
Renée Kooi
4ec41b544a
update react-scripts 2019-05-27 15:52:22 +02:00
Renée Kooi
f97b3931bb
Upgrade eslint. 2019-05-20 11:28:44 +02:00
Ifedapo Olarewaju
adeb2fecfa update docs, tests, and examples with companionUrl rename 2019-04-15 14:56:37 +01:00
Artur Paikin
895103e402 add core styles to create-react-app tests 2018-11-22 14:23:32 +03: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
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
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
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