Commit Graph

42 Commits

Author SHA1 Message Date
Rostislav Wolny
12ae18c87e Fix iframe testing in acceptance tests
[MAILPOET-2973]
2020-08-04 14:33:14 +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
c2c47a1c84 Add success message to subscription management form
[MAILPOET-1635]
2020-08-03 10:23:17 +02:00
Pavel Dohnal
8e63a83c14 Replace sent to
[MAILPOET-2929]
2020-06-08 10:16:34 +02:00
Rostislav Wolny
e915acf28d Use better selector for getting List-Unsubscribe header value in tests
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Rostislav Wolny
1bb941d691 Remove unnecessary automation id for unsubscribe confirmation
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Rostislav Wolny
609dfd8163 Update unsubscribe link acceptance tests to test also link in header
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Rostislav Wolny
1f744453d4 Switch unsubscribe url shortcode to the confirm page
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
Jan Jakeš
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
Jan Jakeš
3ef92bacba Avoid name collisions in acceptance tests
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01: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
Rostislav Wolny
56c0eb8cba Add comments for scroll offsets
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
158a914ff0 Fix scrolling in manage subscription test
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Jan Jakeš
2e836c174e Check acceptance tests with PHPStan, fix discovered problems
[MAILPOET-2429]
2019-10-17 15:55:15 +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š
d157f78b0b Fix and speedup flaky ManageSubscriptionLinkCest
[MAILPOET-2276]
2019-08-20 09:18:23 +01:00
Pavel Dohnal
bf424c3eb1 Remove unnecessary requires
[MAILPOET-2075]
2019-06-20 13:27:00 -04:00
Pavel Dohnal
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Ján Mikláš
a1bec7e68e Fix button not clickable in ManageSubscriptionLinkCest
[MAILPOET-1842]
2019-03-28 15:32:50 -04:00
Pavel Dohnal
be22169364 Use texts from the first template in tests
[MAILPOET-1617]
2019-03-27 08:24:57 -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
a657554f66 Do not wait for template to confirm being saved on send page
[MAILPOET-1797]
2019-03-05 13:47:15 -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
Pavel Dohnal
52cc6d5604 Create a data factory for settings
[MAILPOET-1665]
2018-12-20 10:46:33 +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
Pavel Dohnal
cc4ff09aea Small acceptance tests improvements 2018-10-02 13:54:06 +02:00
Fred. P
75bad97b10 Newsletter template thumbnail redesign
Redesigned the template selection screen to
look like the WordPress theme selector.

The main changes relate to:
* style changes, to achieve the new look
* jsx templates, to work with new css changes
* template, removed the description field

[MAILPOET-1306]
2018-05-22 10:23:07 +02:00
stoletniy
b9546b61a8 Fix acceptance tests, update counters [MAILPOET-903] 2018-02-14 19:57:14 +03:00
Pavel Dohnal
9ee6920ebb Use our login function 2018-01-30 15:03:03 +00:00
Pavel Dohnal
1342389602 Wait for target
MailHog adds target='_blank' to our links.
But we were too quick clicking the links before the target was added

MAILPOET-1260
2018-01-03 11:46:20 +00:00
Vlad
e5d7f66561 Adds new id to create standard/notification newsletters 2017-11-23 21:02:36 -05:00
Vlad
fc326131ae Rebased master 2017-11-08 14:04:45 +00:00
Vlad
a19753205f Increases timeout value when tests are run on slow hosts 2017-11-08 14:04:45 +00:00
Vlad
f1918ac953 Removes timeouts and uses data-automation-id as element selector 2017-11-08 14:04:45 +00:00
Pavel Dohnal
d399ddf6b6 Fixed acceptance tests for me 2017-11-08 14:04:45 +00:00
Vlad
17764b708f Adds check for JS errors 2017-11-08 14:04:45 +00:00
Vlad
7f5bc8681c Adds acceptance tests for unsubscribe/manage subscription links 2017-11-08 14:04:45 +00:00