Commit Graph

19283 Commits

Author SHA1 Message Date
Veljko
db1416014e Update tests 2023-04-05 11:32:08 +02:00
Veljko
c2ad02514c Add await for all pages 2023-04-05 11:32:08 +02:00
Veljko
d6c2fa5f96 Add taking screenshots across all tests 2023-04-05 11:32:08 +02:00
Veljko
e63ead696e Update taking screenshots 2023-04-05 11:32:08 +02:00
Veljko
f1cb67bd3f Revert changes 2023-04-05 11:32:08 +02:00
Veljko
c94aad885c Try integration 2023-04-05 11:32:08 +02:00
Veljko
06e60730d3 Integrate k6 cloud and circleci 2023-04-05 11:32:08 +02:00
Veljko
fb6f86543c Revert it back 2023-04-05 11:32:08 +02:00
Veljko
6594975d92 Testing integration 2023-04-05 11:32:08 +02:00
Veljko
423d445d8f Add k6 orb 2023-04-05 11:32:08 +02:00
Veljko
24f6ebaf0c Again move k6 cloud true 2023-04-05 11:32:08 +02:00
Veljko
72d0af6951 Move cloud true to another place 2023-04-05 11:32:08 +02:00
Veljko
0b1d0b4960 Integrate k6 cloud and CircleCI 2023-04-05 11:32:08 +02:00
Veljko
51ee9637d9 Remove caching in CI 2023-04-05 11:32:08 +02:00
Veljko
34b7bf5cad Update expected in newsletter listing test 2023-04-05 11:32:08 +02:00
Veljko
902e275c47 Update config yml 2023-04-05 11:32:08 +02:00
Veljko
774266ee8d Include taking screenshots 2023-04-05 11:32:08 +02:00
Veljko
b488ae71d9 Update onboarding wizard test 2023-04-05 11:32:08 +02:00
Veljko
97848a42f5 Update RoboFile with PW 2023-04-05 11:32:08 +02:00
Veljko
82d6c51365 Update code to align with eslint 2023-04-05 11:32:08 +02:00
Veljko
b1704a268c Switch back to per-vu-iterations 2023-04-05 11:32:08 +02:00
Veljko
99f6d7445a Refactor newsletterStatistics test and add onboardingWizzard 2023-04-05 11:32:08 +02:00
Veljko
59cb38a986 Remove duplicated code 2023-04-05 11:32:08 +02:00
Veljko
f0b7c42275 Update per vu to shared iterations and fix auth method
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
eca4e2104a Cache mysql volume for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
2db1157c63 Increase performance tests mysql start timeouts for data import
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
6141e4a57a Download and import data for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Rodrigo Primo
7680e879d0 Add brand templates feature flag to JS
[MAILPOET-5192]
2023-04-05 11:19:20 +02:00
Rodrigo Primo
22aa07093c Add brand templates feature flag
[MAILPOET-5192]
2023-04-05 11:19:20 +02:00
Rostislav Wolny
b47fc02ca4 Use underprivileged key for stats reporting also when saving settings
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Rostislav Wolny
910eb812c0 Improve variable name in WordPress cron trigger check
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Rostislav Wolny
cbd5c443f2 Ensure that subscriber stats are sent even for valid underprivileged keys
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Jan Jakes
4af1b970e3 Release 4.11.0 2023-04-04 13:57:23 +02:00
Jan Jakes
66259fc9b6 Reintroduce AWS SES sending error test with actual SES response
[MAILPOET-5190]
2023-04-04 06:47:26 +02:00
John Oleksowicz
72c18782cc Simplify and move test to more appropriate spot
MAILPOET-5190
2023-04-04 06:47:26 +02:00
Rodrigo Primo
13e79082a0 Restore subject and preview text tooltips
We used to display a tooltip next to the fields subject and preview text
in the email editor. Those tooltips were accidentally in 4367f44. The
referenced commit changed the code and tried to get the elements used to
display the tooltip before they were present in the browser.

This commit fixes this problem by making sure that the code tries to get
those elements after StartApp._appView.showChildView() runs and the
elements are present.

[MAILPOET-5151]
2023-04-03 14:31:14 +02:00
Rodrigo Primo
332408f4f4 Make sure newsletter segment entities are deleted when list is deleted
This commit adds code to delete corresponding newsletter segment
entities when a given list is deleted. This is necessary to fix an error
when duplicating a newsletter that was sent with a list that was
deleted.

Without this change users see the following SQL error:

```
An exception occurred while executing ‘UPDATE wp_mailpoet_newsletter_segment SET segment_id = ?, updated_at = ? WHERE id = ?’ with params [null, “2023-03-23 09:07:52”, 66]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘segment_id’ cannot be null
```

[MAILPOET-5153]
2023-04-03 14:15:17 +02:00
Oluwaseun Olorunsola
feba707c76 Use dependency injection (DI) for process shortcodes
MAILPOET-5110
2023-04-03 13:36:04 +02:00
Oluwaseun Olorunsola
c75dc63cc5 Process Shortcodes in WooCommerce custom template
MAILPOET-5110
2023-04-03 13:36:04 +02:00
Brezo Cordero
685af267cb Use constant, improve test and naming
[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Brezo Cordero
fb93c73a34 Add premium key verification
[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Brezo Cordero
c0eed5b919 Integration tests for provisioning
[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Brezo Cordero
fc8837e03c Filter for license provisioning
This commit adds a filter that will provision the API key. It only runs on WP.com sites with plugins.

[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Sam Najian
397232e932 Set status of scheduled_task to invalid if it has not subs
[MAILPOET-5134]
2023-04-03 11:53:49 +02:00
Sam Najian
cb786ee57f Write acceptance test to replicate the bug
[MAILPOET-5134]
2023-04-03 11:53:49 +02:00
Rodrigo Primo
47bbba4898 Remove mailpoet/.nvmrc
This file is not needed anymore, as in
7c373a85ba we added a .nvmrc file to the
root directory of this repository.

[MAILPOET-5186]
2023-04-03 11:02:42 +02:00
John Oleksowicz
1d87c4377e Ensure purchase date fields are properly validated
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
4eaaa51bce Fix type issue
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
0c109ea34c Fix rebase issue
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
df3b790c0b Prettier fix
MAILPOET-4986
2023-04-03 10:20:02 +02:00