Commit Graph

21 Commits

Author SHA1 Message Date
452d541b74 DEV: Add env variable to allow easier debugging of smoke tests
Set `DEBUG_NODE=1` when running `rake smoke:test` and use your favorite tool to debug the smoke tests. See https://nodejs.org/en/docs/guides/debugging-getting-started/ for more information.

The debugger will break at the beginning of the smoke tests when the env variable is set.
2019-10-24 17:48:15 +02:00
8cd13b22a1 DEV: allows smoke test to run on macOS (#7735) 2019-06-07 18:20:48 +02:00
50e6ee55a9 DEV: add "WAIT_FOR_URL" env to smoke test
This allows you to wait up to N seconds for the smoke test url to come up
in some cases you want to kick off the smoke test prior to having the smoke
test env ready to accept connections
2019-05-20 17:23:09 +10:00
c00dab89e4 Fix the build take 2. 2019-05-13 11:22:48 +08:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
b91a3c12a5 Revert "Smoke test should wait up to 5 minutes before it fails"
This reverts commit 34d4712133994c754cff5d9d810f0a9d2ee8cae4.
2018-06-11 08:47:57 +08:00
32c0ff4831 DEV: Install dependencies before running smoke test. 2018-06-05 18:46:41 +08:00
db4af262dc DEV: Create smoke test screenshot directory in rake task. 2018-05-30 16:20:18 +08:00
fe5a48997c DEV: Store smoke tests failure image in a dedicated tmp folder. 2018-05-30 15:59:07 +08:00
34d4712133 Smoke test should wait up to 5 minutes before it fails 2018-05-15 14:40:33 +02:00
4986132e1b Fix missing variable in smoke test rake task. 2017-12-20 14:49:41 +08:00
6a4f391e38 Switch to chrome headless mode instead of phantomjs. 2017-12-19 16:00:43 +08:00
8d44642b97 Add smoke test script that runs in chrome headless. 2017-12-18 16:39:01 +08:00
b0e4555a86 Allow Basic Authentication to be set in smoke test. 2017-05-17 19:24:43 +08:00
2473a00b26 FIX: improve smoke tests 2015-07-27 11:07:42 +02:00
Sam
51709a0a27 BUGFIX: don't require env if its not needed 2014-06-20 10:55:16 +10:00
Sam
6daef624c3 BUGFIX: smoke test was broken 2014-04-10 16:57:23 +10:00
cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
97ceea8878 add delay and trivial 200 code check 2013-02-21 16:37:17 +11:00
012941ea62 basic smoke test script 2013-02-21 16:01:40 +11:00
2226207ecd smoke test 2013-02-21 16:01:40 +11:00