XavierDo
5c3aaacd2e
[IMP] mail: correctly patch mail status manager timers
...
We want to avoid that a `setTimeout` started in one test has an impact on other
tests. This is especially true with the status update loop. Since mail_service
is used in multiple tests, the safest solution is to patch timeouts everytime
we make a call to getMailServices.
There is no need for an unpatch, the patch become the default behaviour until
the page is refresh at the end of tests.
It is possible to manually add the patch after calling `getMailServices`
```
this.services = mailTestUtils.getMailServices(this);
this.timeoutMock = mailTestUtils.patchMailTimeouts();
```
This can be usefull if we want to get the timeoutMock to simulate time changes.
Task: 1856205
2019-02-07 12:53:14 +00:00
..
2019-02-08 10:11:41 +00:00
2019-01-27 01:37:55 +01:00
2019-02-08 10:11:41 +00:00
2019-01-21 17:38:09 +01:00
2019-02-06 11:57:29 +00:00
2019-01-09 15:56:53 +00:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-02-06 11:57:29 +00:00
2019-02-05 11:44:21 +00:00
2019-01-21 17:38:09 +01:00
2019-01-31 16:59:58 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 03:14:28 +01:00
2019-01-31 16:59:58 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-31 16:59:58 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-02-07 15:11:51 +00:00
2019-01-31 11:30:54 +00:00
2019-02-07 08:54:33 +00:00
2019-02-07 12:48:12 +00:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-02-04 13:27:22 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-07 10:35:54 +00:00
2019-01-27 01:37:55 +01:00
2019-02-11 08:04:29 +00:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 01:37:55 +01:00
2019-02-05 11:32:14 +00:00
2019-02-08 18:03:29 +00:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-02-01 12:16:54 +00:00
2019-02-05 11:32:14 +00:00
2019-02-06 11:57:29 +00:00
2019-01-31 16:59:58 +01:00
2019-01-21 17:38:09 +01:00
2019-02-07 12:53:03 +00:00
2019-01-27 03:14:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-01 12:16:54 +00:00
2019-02-01 12:16:54 +00:00
2019-01-21 11:29:30 +00:00
2019-01-27 01:37:55 +01:00
2019-02-06 10:34:40 +00:00
2019-02-05 12:09:14 +00:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-15 15:23:24 +00:00
2019-01-15 15:23:24 +00:00
2019-01-27 03:14:28 +01:00
2019-01-30 14:03:33 +00:00
2019-01-27 01:37:55 +01:00
2019-01-21 17:38:09 +01:00
2019-02-07 07:33:44 +00:00
2019-01-14 10:34:50 +01:00
2019-01-21 11:29:30 +00:00
2019-02-05 15:36:54 +00:00
2019-01-16 14:26:14 +01:00
2018-12-20 14:35:30 +00:00
2018-12-05 18:46:15 +01:00
2019-01-31 16:59:58 +01:00
2019-01-02 15:15:55 +00:00
2019-01-21 12:33:03 +01:00
2019-02-05 11:48:28 +00:00
2019-01-18 08:35:33 +00:00
2019-01-21 12:33:03 +01:00
2019-01-18 08:35:33 +00:00
2019-01-18 08:35:33 +00:00
2019-01-18 08:35:33 +00:00
2019-01-21 17:38:09 +01:00
2019-01-25 09:34:53 +00:00
2019-01-04 14:54:08 +01:00
2019-01-27 03:14:28 +01:00
2019-02-07 12:11:44 +00:00
2019-02-07 12:53:14 +00:00
2019-02-07 08:54:33 +00:00
2019-02-05 11:32:14 +00:00
2019-02-04 13:27:22 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-02-08 08:53:00 +00:00
2019-01-21 17:38:09 +01:00
2019-02-01 08:13:25 +00:00
2019-01-27 01:37:55 +01:00
2019-01-21 17:38:09 +01:00
2019-01-31 16:59:58 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-02-06 11:57:29 +00:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 03:14:28 +01:00
2019-02-06 13:03:03 +00:00
2019-02-08 14:39:16 +00:00
2019-01-31 16:59:58 +01:00
2019-01-28 19:45:46 +01:00
2018-12-24 11:07:31 +00:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-02-07 04:36:18 +00:00
2019-01-27 03:14:28 +01:00
2019-02-04 13:27:22 +01:00
2019-01-27 03:14:28 +01:00
2019-02-05 11:32:14 +00:00
2019-01-21 17:38:09 +01:00
2019-02-05 12:09:14 +00:00
2019-01-21 17:38:09 +01:00
2019-02-06 06:03:18 +00:00
2019-01-21 17:38:09 +01:00
2019-01-30 14:03:33 +00:00
2019-02-01 10:36:14 +00:00
2019-01-30 14:03:33 +00:00
2019-02-06 09:55:13 +00:00
2019-02-11 08:04:29 +00:00
2019-02-04 13:27:22 +01:00
2019-02-11 08:04:29 +00:00
2019-01-21 17:38:09 +01:00
2019-02-11 08:04:29 +00:00
2019-02-06 12:58:58 +00:00
2019-01-27 01:37:55 +01:00
2019-02-11 08:04:29 +00:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-02-11 08:04:29 +00:00
2019-02-11 08:04:29 +00:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-02-07 13:13:15 +00:00
2019-02-06 11:57:29 +00:00
2019-02-11 08:04:29 +00:00
2019-02-04 13:27:22 +01:00
2019-01-27 01:37:55 +01:00
2019-02-06 13:20:52 +00:00
2019-01-21 17:38:09 +01:00
2019-02-07 08:54:33 +00:00
2019-02-04 13:27:22 +01:00
2019-01-21 17:38:09 +01:00
2019-01-06 03:24:31 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-21 17:38:09 +01:00
2019-02-08 15:41:51 +00:00
2019-01-27 03:14:28 +01:00
2019-02-08 14:38:51 +00:00
2019-01-21 17:38:09 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-02-08 14:39:16 +00:00
2019-01-27 01:37:55 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 03:14:28 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-02-07 12:13:28 +00:00
2019-02-05 11:39:11 +00:00
2018-12-13 11:17:23 +00:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00
2019-02-05 11:39:11 +00:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-02-07 12:13:28 +00:00
2019-02-06 09:55:13 +00:00
2019-02-07 13:11:19 +00:00
2019-01-29 13:17:12 +01:00
2019-02-04 13:27:22 +01:00
2019-01-21 17:38:09 +01:00
2019-01-27 01:37:55 +01:00
2019-01-27 03:14:28 +01:00
2019-01-31 16:59:58 +01:00
2019-01-23 18:15:18 +01:00
2019-02-08 16:26:44 +00:00
2018-12-07 14:15:46 +00:00
2019-01-21 17:38:09 +01:00
2019-01-21 17:38:09 +01:00