Commit Graph

35 Commits

Author SHA1 Message Date
8d50f092b5 DEV: Use classes for styling user and group cards (#8913)
Styling based on element-ids, it is impossible for themes/plugins to display multiple cards on a single page. Using classes is a more flexible approach. The element-ids are maintained for backwards compatibility with existing plugins/themes.
2020-02-13 09:58:17 +00:00
50357b161e DEV: Restore { visible: true } for login button in smoke test
This was removed erroneously in 38b4e3b5a7775c7fc0ac675a89ad7593e7101a06
2020-01-07 12:58:08 +00:00
38b4e3b5a7 DEV: Add smoke test to github actions (#8580) 2020-01-07 12:54:01 +00:00
c83ae9a79f DEV: Add option to login at beginning of smoke tests
This is useful for testing sites which do not have any public topics.
2019-11-14 18:28:15 +01:00
85c08b84a5 DEV: Add a short wait to smoke test to prevent rate limiting 2019-10-24 18:36:27 +02:00
d4d2cb124c DEV: Make smoke tests more reliable 2019-10-24 17:51:48 +02:00
decbc9194d DEV: Fix basic auth in smoke test 2019-10-24 17:43:26 +02:00
7bb94e8716 DEV: Increase wait duration between smoke test further during edit.
Otherwise, the app detects that we're replying too quickly.
2019-06-14 12:21:54 +08:00
62f4284865 DEV: 302 status is normal in smoke test
Login can redirect there are potentially other cases
2019-06-14 14:21:07 +10:00
5b55252e10 DEV: Add more wait between edit so we don't end up replying too quickly. 2019-06-13 09:14:17 +08:00
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
Sam
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