Commit Graph

24 Commits

Author SHA1 Message Date
Ján Mikláš
8a9cb77fda Fix acceptance tests
[MAILPOET-2788]
2020-09-22 13:13:05 +02:00
Rostislav Wolny
82d2784ed0 Get rid of magic _inject in acceptance tests
After updating to Codeception v4 inject doesn't work since services in DI needs WP to be loaded.
Injecting data factories is also not recommended practice since they are not designed to work as singleton and may that test influence each other and cause some flakiness.
[MAILPOET-2973]
2020-08-04 14:33:14 +02:00
Rostislav Wolny
5ef0007a7f Fix potentially flaky tests that check email was received
[MAILPOET-3019]
2020-06-30 09:16:11 +02:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Ján Mikláš
3f4eb747c5 Fix acceptance tests
[MAILPOET-2383]
2019-12-18 19:02:13 +00:00
Jan Jakeš
3c3baeb9a9 Prefix Swiftmailer class strings missed by PHPScoper, add tests
[MAILPOET-2448]
2019-10-09 10:00:03 +01:00
Ján Mikláš
6956a25c51 Fix acceptance tests that require cron to run
[MAILPOET-2400]
2019-10-03 10:01:55 +02:00
Jan Jakeš
c65bc95caa Set --allow-root for WPCLI globally
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Jan Jakeš
f75a6be554 Rewrite WPCLI commands to a recommended and correctly working array variant
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Pavel Dohnal
a64aff6728 Fix flakey tests
Those acceptance tests shared newsletter subject

When clicking in Mailhog it choose a wrong newsletter sometimes

[MAILPOET-2111]
2019-05-29 07:29:04 -04:00
Ján Mikláš
1ef7ca983c Always create new segment with subscriber when sending newsletter in tests
[MAILPOET-1934]
2019-03-25 11:59:34 -04:00
Rostislav Wolny
e035c5131d Adjust acceptance test timeouts
[MAILPOET-1875]
2019-03-07 10:10:33 +01:00
Pavel Dohnal
ee89a1e4b8 Add longer timeouts 2019-03-06 09:26:53 -05:00
Michelle Shull
ff1b079131 [MQ-176] delete unneeded assertions from acceptance tests 2019-02-21 08:37:01 +01:00
wxa
5ca0f2b6c9 Remove custom timeouts from acceptance tests 2019-02-04 11:28:57 +03:00
Ján Mikláš
140d2e98dd Refactor acceptance tests with unified waiting for select2 to load 2018-12-17 18:52:50 +01:00
Ján Mikláš
38aaed77d8 Create helper to load mailhog app and wait for angular to load 2018-12-17 17:25:36 +01:00
Pavel Dohnal
8e7f9ec73e Add test to edit sign up confirmation email
[MQ-88]
2018-12-04 14:59:11 +01:00
Michelle Shull
816ec7e1d7 code sniffer fixes for 4 files 2018-10-04 14:06:06 +02:00
Michelle Shull
b17d217669 Confirm standard newsletter is sent to a subscriber [MQ-60] 2018-09-26 14:37:01 -04:00
Michelle Shull
556e4a0ce0 Confirm standard newsletter is sent to a subscriber [MQ-60] 2018-09-26 13:43:39 -04:00
Michelle Shull
a72d84b940 Confirm standard newsletter is sent to a subscriber [MQ-60] 2018-09-26 13:21:05 -04:00
Michelle Shull
049074e793 Confirm standard newsletter is sent to a subscriber [MQ-60] 2018-09-26 13:05:30 -04:00