Commit Graph

20858 Commits

Author SHA1 Message Date
John Oleksowicz
f90e869402 Clean up after automations too
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
6a2da4645b Remove apparently unnecessary DB query
Removing this code didn't result in any tests failing, so I can only
assume it isn't required for anything.

We were occasionally seeing primary key constraint violations when
attempting to execute this query.

MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
8bb917cd09 Prevent high order IDs from breaking tests
These tests were starting to fail if previous tests had created more
orders than the batch size

MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
9455eebb60 Add back scheduled task cleanup
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
d112d4088f Fix issue with IDs
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
376dca1098 Remove unnecessary truncating
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cf67ad2a83 Add missing parent::_after calls
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
c848c62ee9 Remove unnecessary cleanup code
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8 Extract customer creation/cleanup
This also ensures that cleanup always runs after all integration tests

MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
f9d6e65ece Ensure personal data exporter includes all custom fields
The test testExportSubscriberWithCustomField was only passing before
because we were truncating tables in between tests, so the custom field
id ended up matching the subscriber custom field id coincidentally.

MAILPOET-5145
MAILPOET-5185
2023-04-07 12:11:12 -05:00
John Oleksowicz
2292ab09a8 Don't assume auto increment of 1
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
4c3e7e62d4 Split up problematic test
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
33f744e9be Simplify problematic test
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
c75bc388c9 Remove unnecessary cleanup code
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
57eb438eb8 Don't assume auto increment of 1
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
ae442e191c Add database cleaner for integration tests
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
520e7166cf Don't stop on first failure
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Veljko
c25567ae64 Remove name parameter from circleci config
[MAILPOET-5196]
2023-04-07 15:45:50 +02:00
Veljko
c8c88a8704 If there is no k6 cloud token set in env dont stream to cloud
[MAILPOET-5196]
2023-04-07 15:45:50 +02:00
Veljko
f994d1b232 Streamline test results output to k6 cloud
[MAILPOET-5196]
2023-04-07 15:45:50 +02:00
Veljko
d6991eaa17 Update env sample file 2023-04-05 11:32:08 +02:00
Veljko
0e15b459c0 Reorder tests 2023-04-05 11:32:08 +02:00
Veljko
3212da8deb Set scenario thresholds to pass in 95% times 2023-04-05 11:32:08 +02:00
Veljko
57dbb2fdb4 Set scenario thresholds to be on a safe side 2023-04-05 11:32:08 +02:00
Veljko
6acebd9145 Update newsletter stats test 2023-04-05 11:32:08 +02:00
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