Commit Graph

21439 Commits

Author SHA1 Message Date
Veljko
de5d34e03a Add a new k6 test adding new form
[MAILPOET-4959]
2023-03-03 11:46:27 +01:00
Veljko
155eb28889 Additionally decrease tresholds checks 2023-03-02 15:21:29 +01:00
Veljko
4d0f7d8b66 Decrease scenario tresholds 2023-03-02 15:21:29 +01:00
Veljko
1fd85ee873 Remove unnecessary circleci configs
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Veljko
4b9f78267c Fix a method in the helper
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Veljko
b09710368a Update subscribers adding test to include experimental k6 2023-03-02 15:21:29 +01:00
Veljko
ae857bdeaa Increased percentage of thresholds
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Jan Jakes
f826ce52d6 Upgrade to k6 v0.43.1
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Veljko
db029bbbaa Revert the password
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Jan Jakes
77cf9997bc Ensure performance tests output directory
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Jan Jakes
d30772ea7c Run performance tests directly from PHP
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Veljko
ccfce23c30 Update xk6browser and circleci config
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
alex-mailpoet
a103f589b8 Change Docker image used and test command
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Veljko
fe6357864d Include performance tests in nightly workflow 2023-03-02 15:21:29 +01:00
Veljko
5e497e3ddb Include performance tests in workflows
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
Veljko
75723d5af6 Add integration between CircleCI and k6
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00
David Remer
13daff5883 Remove status check as the first step might have already been executed
[MAILPOET-5097]
2023-03-02 15:16:13 +01:00
David Remer
c0e226b4bb Do not use associative array
[MAILPOET-5097]
2023-03-02 15:16:13 +01:00
Jan Lysý
212e01dd4c Add check that function error_log exists
[MAILPOET-5026]
2023-03-02 13:59:51 +01:00
Jan Lysý
71aef99607 Remove usage Sending::createFromQueue from SendingQueue worker test
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
Jan Lysý
26a85458a5 Remove usage Sending::createFromQueue from Scheduler test
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
Jan Lysý
cc032b7520 Remove old model from Task test
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
Jan Lysý
20e435872f Add method for update processed subscribers
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
Sam Najian
6a1e734633 Fix WooCommerce wording
[MAILPOET-5098]
2023-03-02 11:30:38 +01:00
Sam Najian
b91f2cde2b Fix another merge conflict issue preventing correct resuming
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
7c425a6b9a Fix wrong import orders
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
f1a2954dca Remove duplicate line
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
5e74dce6bd Defer resetting errors when resuming to confirmation step
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam
a641521e0f Apply suggestions from code review to shorten js imports
[MAILPOET-4983]

Co-authored-by: Oluwaseun Olorunsola <30554163+triple0t@users.noreply.github.com>
2023-03-01 17:46:22 +01:00
Sam Najian
bd3a3a116e Fix failing unit test for coupon block
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
9b87698819 Immediately pause sendingQueue when a newsletter is corrupted
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
f92f045142 Fix issue caused by rebasing trunk
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
c84a6894ba Throw and log the issue if coupon was not found when rendering
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
534bff5a80 Show a notice on top of newsletter listing for corrupt emails
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
ce917280d4 Confirm resuming a corrupt newsletter
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
b6577565b6 Update status of corrupt newsletter after edit
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
9ca259d1d0 Exclude corrupt emails when fetching queue newsletters
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
4242442d8e Fix logger test failing on newly recorded properties
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
0795c2ffff Expose the log for corrupted newsletter on listing page
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
ddd89e70ed Add context and raw message to mailpoet_logs
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
fe93b1a150 Show rendering issue in listing status
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
87925dbd9c Convert queue_status.jsx to tsx and add missing types
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
4192f82d29 Throw instead of directly logging when WC is not active
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
fdf0875905 Pause sending queue when encountering a corrupt newsletter
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
93110826e7 Log when processing the queue for corrupt newsletter
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
976c374cb7 Catch exception when processing coupon block throws
When processing coupon block throws, the exception is
caught, custom exception is thrown and the newsletter status
is updated

[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
51db625911 Add test for loggin when WC is not active
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
2a6b7cd210 Log WC is inactive when trying to generate coupon
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
David Remer
fa73c3bc26 Order subjects by automation_run_id and id
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
286cd94135 Remove subject_keys from Step definition and load information from registry
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00