David Taylor
b1b53da71d
DEV: Improve performance of system test sign_in
helper ( #19579 )
...
Previously, calling `sign_in` would cause the browser to be redirected to `/`, and would cause the Ember app to boot. We would then call `visit()`, causing the app to boot for a second time.
This commit adds a `redirect=false` option to the `/session/username/become` route. This avoids the unnecessary boot of the app, and leads to significantly faster system spec run times.
In local testing, this takes the full system-spec suite for chat from ~6min to ~4min.
2022-12-22 16:03:27 +00:00
..
2022-12-15 20:12:53 +03:00
2022-05-17 13:06:08 -05:00
2022-10-11 20:11:44 -03:00
2021-12-09 12:30:27 +00:00
2021-03-17 08:55:23 +03:00
2022-12-16 08:50:31 +10:00
2022-10-19 18:10:06 +01:00
2022-11-07 09:24:55 -07:00
2022-12-05 20:22:05 +02:00
2022-09-27 22:06:40 +05:30
2022-06-20 16:57:46 +10:00
2021-06-22 13:00:04 -05:00
2022-02-16 07:57:35 +05:30
2021-01-27 10:29:24 -06:00
2021-12-08 21:46:54 +04:00
2021-06-23 14:55:17 -05:00
2022-11-30 14:29:07 -03:00
2022-04-19 18:24:38 -03:00
2020-08-28 11:46:53 -07:00
2020-10-09 12:51:24 +01:00
2021-11-25 09:34:39 +02:00
2022-05-17 13:06:08 -05:00
2022-12-14 13:18:09 +04:00
2022-12-08 13:47:59 +10:00
2022-09-20 12:43:28 -03:00
2022-11-17 15:51:58 +10:00
2022-05-05 09:48:22 +08:00
2022-02-01 15:26:58 -03:00
2022-11-09 20:57:42 +05:30
2022-12-08 09:44:29 +08:00
2020-10-22 12:50:22 +08:00
2020-11-05 12:18:26 -05:00
2021-03-11 08:21:24 -03:00
2022-10-18 15:19:54 -03:00
2022-06-16 14:38:43 +01:00
2022-09-29 09:24:33 +10:00
2022-06-20 16:33:05 +02:00
2022-12-08 09:44:29 +08:00
2022-12-01 07:09:57 +08:00
2022-07-12 20:52:55 +03:00
2022-08-15 15:15:15 +01:00
2022-05-24 11:31:24 -04:00
2022-12-22 16:03:27 +00:00
2021-08-17 14:05:51 -04:00
2022-04-12 10:33:59 -03:00
2022-12-13 16:03:53 -03:00
2021-07-26 14:22:54 +10:00
2022-04-28 11:51:03 +02:00
2021-04-21 19:15:53 +02:00
2022-08-19 15:41:56 -04:00
2022-10-18 18:20:10 +01:00
2022-12-08 17:14:43 -03:00
2022-09-29 09:24:33 +10:00
2022-02-23 15:46:40 +01:00
2022-04-28 11:51:03 +02:00
2022-12-13 16:03:53 -03:00
2022-10-27 11:26:14 +08:00
2022-11-24 19:16:28 +04:00
2022-12-08 09:44:29 +08:00
2021-11-25 09:34:39 +02:00
2022-12-15 23:21:07 +02:00
2022-06-17 14:50:21 +02:00