Commit Graph

173 Commits

Author SHA1 Message Date
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
Jan Jakeš
395a66228a Fix PHP 7.4 deprecations in test setup
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
Jan Jakeš
fa4dcb246f Try to fix flaky WooCommerce checkout optin checkbox
[MAILPOET-2543]
2019-12-02 20:11:48 +00:00
Jan Jakeš
7e6872b6dd Retry clicks failed on 'element click intercepted' to avoid flakiness
[MAILPOET-2543]
2019-12-02 20:11:48 +00:00
Rostislav Wolny
a1ac7cb4fd Add acceptance test for basic form editing
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Jan Jakeš
6c2ff1ca73 Make test actually fail when errors or exceptions found
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
Jan Jakeš
f8b74aef96 Check errors from both error.log and exception.log
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
Jan Jakeš
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Rostislav Wolny
56c0eb8cba Add comments for scroll offsets
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
c69328b228 Fix payment selection in orderProduct
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Jan Jakeš
adb0b8fb4a Cleanup EntityManager for data factories in acceptance tests
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
e3176a3edf Check all test support files with PHPStan
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
a2982de3a8 Check all test support files with Code Sniffer
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
02ac03be02 Remove old unused test support files
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
85a55e62bf Fix exceptions caused by strictness of new WPCLI module
[MAILPOET-2356]
2019-09-24 14:02:07 +01: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
Jan Jakeš
0cd5091fa8 Fix flakiness when using logout/login and/or registration
[MAILPOET-2356]
2019-09-24 14:02:07 +01:00
Pavel Dohnal
03cb02caac Disable acceptance tests skipping on master
[MAILPOET-2358]
2019-09-19 14:48:59 +02:00
Jan Jakeš
8e4031322f Fix coding style in DefaultsExtension
[MAILPOET-2302]
2019-09-04 14:01:24 -04:00
Jan Jakeš
db22b87239 Replace acceptance tests dump with settings in DefaultsExtension
[MAILPOET-2302]
2019-09-04 14:01:24 -04:00
Jan Jakeš
bfd0c0ab03 Clenup WordPress install in acceptance tests entrypoint, simplify setup
[MAILPOET-2302]
2019-09-04 14:01:24 -04:00
Jan Jakeš
42df4e5d97 Improve comment and whitespace
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
8666bbc7cf Add extension to associate errors with tests
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
fb2f58d849 Rename SettingsExtension to DefaultsExtension, improve method naming
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
71bcfd0910 Add UserFlags data factory and defaults for tests
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
7409823a1f Clean MailHog data before every test
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
d4d16b4bf4 Fix and simplify plugin version injection in dump for tests
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
363aaa8339 Purge database before running acceptance tests
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00
Jan Jakeš
4aff0368ac Prevent unwanted execution of migrations in acceptance tests
[MAILPOET-2276]
2019-08-20 09:18:23 +01:00
Jan Jakeš
fcd4894f08 Run each test with initial DB state
[MAILPOET-2276]
2019-08-20 09:18:23 +01:00
Ján Mikláš
a2856bafca Faster and more robust helper for searching in listing
[MAILPOET-2224]
2019-08-15 16:35:39 +01:00
Jan Jakeš
9b4163e9dc Fix discovered notices and warnings
[MAILPOET-2239]
2019-08-12 14:43:37 +02:00
Ján Mikláš
e2a5def345 Add codeception extension to set default settings for every acceptance test
[MAILPOET-1990]
2019-07-30 04:31:28 -04:00
Ján Mikláš
63e000037f Remove no longer needed require_once
[MAILPOET-1990]
2019-07-30 04:31:28 -04:00
Rostislav Wolny
240c11eed0 Add acceptance test for authorized emails notice
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Ján Mikláš
78c822dec0 More robust wait when editing newsletter
[MAILPOET-1974]
2019-05-16 08:26:16 -04:00
Amine Ben hammou
6608621ea8 Test forms confirmation messages [MAILPOET-1636] 2019-05-07 11:23:55 -04:00
Amine Ben hammou
591f75c49a Replace uniqid with random_bytes 2019-05-02 09:47:01 -04:00
wxa
4c4ff0cba6 Add acceptance tests for WC checkout opt-in [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
wxa
823b7610ef Add product ordering helpers to AcceptanceTester [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
Rostislav Wolny
cba6ab0fa2 Add helper for creating an order in acceptance test
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Ján Mikláš
47b264406f Test image width and position
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Ján Mikláš
c44eaebad8 Fix potential flakiness
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Ján Mikláš
151fe8e514 Test product title alignment
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Ján Mikláš
e2215e1cee Test product title format
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Pavel Dohnal
72fc8cecf2 Add test for sender warning
[MAILPOET-1890]
2019-03-28 07:19:22 -04:00
Rostislav Wolny
3c41b671ed Add WooCommerce plugin to acceptance tests
[MAILPOET-1936]
2019-03-27 08:38:08 -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