Commit Graph

40 Commits (66a43646a71bdc13df6bf86ffb17622fccb615e3)

Author SHA1 Message Date
John McLear 93180c287b
tests: in Travis, also run the backend tests
This change introduces automatic execution of the backend tests in Travis.

Implements #2351.
2020-04-03 03:27:05 +02:00
muxator 4a17443a2e tests: future proof travis/runner.sh and make it more robust
This change only slightly modifies the bahaviour of travis/runner.sh, but:

1. speeds up the tests, because it does not install dependencies before running
   them. Dependencies are already installed by .travis.yml in its "install"
   section;
2. if for some reason Etherpad does not start, there is a sudden failure,
   instead of launching the front end tests anyway, and then having to wait 10
   minutes for them to time out;
3. it is compatible with a different way of installing etherpad dependencies
   ("npm ci" instead of "npm install"), whereas the previous one broke. This
   will probably be introduced in a while, so this change future-proofs for it
   (see #3778).
4. it is more robust, because it detects more reliably the paths, and changes
   between them correctly;

Please note that the script now requires bash instead of a generic posix shell.
This may break on platforms which default to a different shell (FreeBSD, MacOS?)
2020-03-29 23:59:28 +02:00
John McLear 8f2ad7a0e8 tests: use latest Safari in Saucelab front end tests
I verified that, as of today, "latest" Safari version works on Saucelabs.
2020-03-26 23:26:25 +01:00
John McLear 88d05d3e66 tests: configure the OS/Browsers versions on which tests will be run
For all the supported operating systems, the latest version of each browser is
supported, with the Exception of Win 8 / IE 10, which has an explicit version
pinned.
2020-03-23 23:51:51 +01:00
John McLear 3085f46f32 tests: explicit tunnel version URI in sauce_tunnel.sh
For an explanation, see bf0bb58c70.
2020-03-23 23:51:51 +01:00
muxator f6436be486 tests: quote bash variables in sauce_tunnel.sh 2020-03-23 23:51:51 +01:00
muxator bf0bb58c70 ci: no need to include java
The dependency on java was introduced in 2012 (c021cf52d8) to start
Sauce-Connect from sauce labs.

Probably at the time it was a runtime dependency, but it is no longer the case
today. It is possible that java was already not needed when db003a1460 changed
from downloading Sauce-Connect-latest.zip to sc-latest-linux.tar.gz.

Moreover, I am quite sure tests/frontend/travis/sauce_tunnel.sh no longer works
today, because tests/frontend/travis/sauce_tunnel.sh downloads from an url that
gives HTTP/404 now: sc-latest-linux.tar.gz if no longer a valid file name, we
would need to explicitly download a specific version.
2019-12-25 00:28:38 +01:00
Luiza Pagliari 7729e5a1a9
[fix:test] Use promise chain instead of chain (is deprecated) (#3419)
Fix warning when running tests: "chain api has been deprecated, use
promise chain instead."
2018-07-09 17:09:02 -03:00
Luiza Pagliari a85eb395b4 [fix] Fix path on test script 2017-04-06 03:12:45 -03:00
Luiza Pagliari db003a1460 [fix] Use new SauceConnect provided by Sauce Labs
Could not dowload "Sauce-Connect-latest.zip" anymore, need to change to
new version of SauceConnect.
2017-04-06 03:05:38 -03:00
John McLear 0dfecb3af7 change target for IE 9 test 2015-04-12 14:05:49 +01:00
John McLear 4ef6604ca9 dont test against IE8 any more as we dont care about it 2015-04-12 13:16:32 +01:00
Luc Didry 3d8452b143 Replace tabs indentation with spaces indentation
Some files are obviously external libraries, I didn't touch them
2013-12-05 08:41:29 +01:00
Eric Schrijver b34224559d ‘Etherpad Lite’ -> ‘Etherpad’ 2013-09-29 13:57:37 +02:00
Chia-liang Kao 837d3bcfbf Update sauce key 2013-06-15 11:16:40 +08:00
Chia-liang Kao f8729d2188 use SAUCE_ACCESS_KEY 2013-06-07 01:00:22 +08:00
Peter 'Pita' Martischka 03d3cd9f24 back to sauce connect download from sauce labs 2012-11-11 19:07:41 -08:00
Peter 'Pita' Martischka 08a2d28a99 build sauce url after session got initalized 2012-11-03 18:09:58 +00:00
Peter 'Pita' Martischka 801ed8646b output sauce test url 2012-11-03 17:51:01 +00:00
Peter 'Pita' Martischka 8d6dbd2bf6 Make sauce sessions public 2012-11-03 17:46:02 +00:00
Peter 'Pita' Martischka c99a256acd Download sauce connect from google drive, thats much faster 2012-11-03 17:10:37 +00:00
Peter 'Pita' Martischka 3ee4fadf8a workaround for IE8's stupidness, use a \n for new lines 2012-11-03 17:02:28 +00:00
Peter 'Pita' Martischka 95f17d490d typo 2012-11-03 16:50:48 +00:00
Peter 'Pita' Martischka 600d428ec2 I'm so stupid... 2012-11-03 16:21:28 +00:00
Peter 'Pita' Martischka 401243e9b0 Don't test with browsers with very low usage 2012-11-03 16:20:05 +00:00
Peter 'Pita' Martischka ecdd39bca6 Let's try 5 tests in parrallel 2012-11-03 16:11:41 +00:00
Peter 'Pita' Martischka 5e90db6487 another typo 2012-11-03 16:11:15 +00:00
Peter 'Pita' Martischka 4e4c720cb0 fixed type 2012-11-03 16:05:12 +00:00
Peter 'Pita' Martischka 0fd6051f52 test in different browsers 2012-11-03 15:55:14 +00:00
Peter 'Pita' Martischka 90e1014688 Colors :) 2012-11-03 13:20:44 +00:00
Peter 'Pita' Martischka c8dfa6d7ae less noise 2012-11-01 23:46:04 +00:00
Peter 'Pita' Martischka 9712e66de5 take control over remote test run 2012-11-01 23:21:10 +00:00
Peter 'Pita' Martischka 0409ebb30b bloody sauce connect logs... 2012-11-01 23:20:28 +00:00
Peter 'Pita' Martischka 82dfb2df21 run test lib for a minute in sauce with firefox 2012-11-01 22:17:31 +00:00
Peter 'Pita' Martischka 1346222d1c keep sauce tunnel alive 2012-11-01 21:46:50 +00:00
Peter 'Pita' Martischka d6ca5b54f7 try to build up the sauce labs tunnel, and tear it down after its etablished 2012-10-30 21:49:04 +00:00
Peter 'Pita' Martischka 90751ff2e5 ... 2012-10-29 23:45:22 +00:00
Peter 'Pita' Martischka 52b73f46e1 can it start the script? 2012-10-29 23:43:27 +00:00
Peter 'Pita' Martischka 23c5cd83b9 travis, will you like this? 2012-10-28 18:51:05 +00:00
Peter 'Pita' Martischka c021cf52d8 download and start the sauce connector in travis 2012-10-28 16:48:51 +00:00