e8de30939d
DEV: Fix the smoke test
2019-05-21 19:02:19 +02:00
92a6f71fd3
DEV: Update smoke test to test editing of a post.
2019-05-21 17:44:46 +08: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
7dc58d62e4
DEV: Clear topic title input each smoke test.
...
There may be pre-filled topic title as a result of a draft.
2019-05-09 14:02:45 +08:00
4ee8e77073
Apply prettier.
2018-09-11 09:16:03 +08:00
bc7d9c61e6
Revert smoke test accidentally default to non headless mode.
2018-06-05 19:21:46 +08:00
a276ffc7b3
Run smoke test without sandbox for now.
2018-06-05 19:08:36 +08:00
478c86e0a4
DEV: Update preview step to be more reliable.
2018-06-05 16:58:15 +08:00
c27863aad2
DEV: Better output when assertion fails in smoke test.
2018-06-05 10:54:56 +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
30279a4843
DEV: Allow smoke test failure screenshot path to be configured.
2018-05-30 15:42:46 +08:00
9788ea9cb7
DEV: Write into Rails's tmp instead of system tmp for somke test screenshot.
2018-05-28 16:14:22 +08:00
9d6d161628
DEV: Take screenshot when smoke test fails.
2018-05-28 14:19:43 +08:00
857a4e0006
FIX: Viewport in smoke test configured incorrectly.
2018-05-28 10:58:36 +08:00
3f8e3a6f73
Don't intercept requests in smoke tests.
2018-05-17 16:56:39 +08:00
441a52ad17
DEV: add more information about failed smoke test
...
log the http status code and path that failed
2018-05-17 16:43:00 +10:00
6cab53abd4
Puppeteer page.authenticate
messes up CSRF tokens in forms.
2018-01-04 21:30:04 +08:00
af1e2865f7
Re-introduce ability to handle basic authentication in smoke tests.
2018-01-03 14:24:06 +08:00
47585202cb
Handle promise in smoke test.
2017-12-23 09:29:22 +08:00
8f6e2b7186
Fix unhandled promise in smoke test.
2017-12-21 10:32:43 +08:00
e49c7147ce
Use default timeout (30s) for smoke tests
2017-12-20 14:41:49 +01:00
e6fc543aef
Use higher timeouts for smoke_test
2017-12-20 12:47:22 +01:00
6e0b2a9f37
Bump timeout when logging in in smoke_test.
2017-12-20 17:08:57 +08:00
8d44642b97
Add smoke test script that runs in chrome headless.
2017-12-18 16:39:01 +08:00