Commit Graph

122 Commits

Author SHA1 Message Date
Rostislav Wolny
261b50fe38 Remove Storybook from configs
[MAILPOET-6110]
2024-06-28 12:56:38 +02:00
Rostislav Wolny
0fa4f62aeb Remove storybook commands
[MAILPOET-6110]
2024-06-28 12:56:38 +02:00
Jan Lysý
55194bc9c8 Add integration tests using WordPress beta
[MAILPOET-6096]
2024-06-27 10:42:11 +02:00
Jan Lysý
f58959e760 Add acceptance tests using WordPress beta
The job runs only if the last version from WordPress feeds is beta
[MAILPOET-6096]
2024-06-27 10:42:11 +02:00
Rostislav Wolny
45335e8260 Remove already updated packages from ignore list in the update command
[MAILPOET-5490]
2024-06-27 08:44:03 +02:00
Rostislav Wolny
a55725838d Update list of dependencies skipped by the update script
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
Rostislav Wolny
1d32461b3d Workaround for the issue with chai v5 and ES modules
I couldn't make it work with the Babel loader. There is a possible
solution using ts-node as a loader. I didn't want to install another
package, so I chose a different workaround.
mocha-env.mjs is processed as a module thanks to the suffix, and it
sets chai. expect globally, and then I updated tests to use the global expect.

Please see https://github.com/chaijs/chai/issues/1568
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
Rostislav Wolny
73434e1ef7 Workaround for legacy newsletter editor tests after updating chai
Chain newly has to be imported as module and doesn't support CommonJs
[MAILPOET-6008]
2024-06-19 12:12:59 +02:00
Veljko
207d0b954c Update RoboFile with new parameters and delete cot plugin 2024-05-06 14:45:09 +02:00
Jan Lysý
52c6f698c9 Add WP CLI command for creating testing email template
[MAILPOET-5971]
2024-04-22 10:32:47 +02:00
Mike Jolley
0d6fe6e5eb Apply rules to tests and tasks 2024-03-21 16:57:59 +01:00
Rostislav Wolny
c39b498e59 Remove test dependency on WooCommerce Blocks
The plugin was integrated into WooCommerce Core and is no longer available for download.
[MAILPOET-5925]
2024-02-28 10:38:10 -06:00
Rostislav Wolny
bbc4a86759 Rename flag for skipping tests in webpack build
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
Rostislav Wolny
8ef77dbe58 Add support for skipping build of JS tests and skip when building zip
This commit addresses issue with insufficient resources on Circle CI
to avoid using larger executor instances.
[MAILPOET-5714]
2024-02-19 11:44:33 +01:00
veljko
305db25376 Update k6 to latest and improve running tests 2024-02-18 09:27:48 +01:00
John Oleksowicz
5d8d7adc08 Add command to install just PHP dependencies
MAILPOET-4237
2024-02-08 11:13:35 -06:00
alex-mpoet
a86f75a1e7 Update CodeSniffer ignores
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
Pavel Dohnal
06d7397c0d Reset old plugins
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
Jan Lysý
0f58d5028b Bump min PHP versions when running PHPCS
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
David Remer
2931af3547 Add command to create automation triggers 2023-10-09 10:06:56 +02:00
Jan Jakes
49dd627a76 Update references to renamed files
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
John Oleksowicz
40cbec0bf6 Create robo command to update JS dependencies
MAILPOET-4391
2023-10-02 10:00:28 +02:00
Veljko
22074731ed Refactor all k6 tests and update RoboFile 2023-09-22 16:43:21 +02:00
Veljko
df83158dfb Update k6 to latest version and update test suite 2023-09-22 16:43:21 +02:00
Jan Lysý
c3c10ff557 Remove JS compilation from JS newsletter tests
JS is compiled in the build job, so this steps seems to be redundant.
[MAILPOET-5571]
2023-09-06 11:19:20 +02:00
Rostislav Wolny
33e7e2d5f1 Fix typos in migration levels related strings
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
acd5846f70 Change migration level constants to lowercase
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
ec8b5260dd Improve command for creating new migrations
Use required parameter instead of optional option
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
8454925e9a Update functionality for generating new migrations to support levels
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rodrigo Primo
560e388702 Bump min and max PHP versions when running PHPCS
[MAILPOET-4939]
2023-05-17 17:35:41 +03:00
Jan Jakes
7b082353f5 Run CodeSniffer in multiple processes
[MAILPOET-5335]
2023-05-16 10:38:49 -05:00
alex-mailpoet
f12bb8e680 Run Semgrep check on build
[MAILPOET-5230]
2023-04-26 10:01:51 +02:00
Rodrigo Primo
a3cf1daeae Remove code coverage code as it is not used anymore
[MAILPOET-2440]
2023-04-20 16:21:34 +02:00
John Oleksowicz
520e7166cf Don't stop on first failure
MAILPOET-5145
2023-04-07 12:11:12 -05: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
97848a42f5 Update RoboFile with PW 2023-04-05 11:32:08 +02:00
Veljko
59cb38a986 Remove duplicated code 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
6141e4a57a Download and import data for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Veljko
06874645c7 Add nightly testing and update CircleCI and RoboFile
[MAILPOET-4954
2023-03-30 11:03:28 +02:00
Jan Jakes
30f5a48b9d Use the new ESLint config for ./do qa:fix-file
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
Jan Jakes
0cb684151f Use JS ESLint configs instead of JSON
This is to avoid ERR_IMPORT_ASSERTION_TYPE_MISSING on recent Node.js with updated ESLint.
Fixes errors like the following: ".eslintrc.es6.json" needs an import assertion of type "json"

[MAILPOET-5061]
2023-03-27 15:24:38 +02:00
Sam Najian
ba619fb7ac Exclude irrelevant files from being parsed for translations
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
cac89e472a Adjust translations:build command to use wp from vendor dir
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
005c5196c9 Fix memory issue when building translations
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
e21cc48dc2 Add vendor/soundasleep back to RoboFile::qaLintBuild
Update it so that it's added from vendor-prefixed

[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Sam Najian
7185d1286e Update traces of vendor/soundaslee in Robofile
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
alex-mailpoet
0cbe4fa9fd Add AutomateWoo opt-in acceptance test
[MAILPOET-5057]
2023-03-06 11:22:58 +01:00
Jan Jakes
f826ce52d6 Upgrade to k6 v0.43.1
[MAILPOET-4945]
2023-03-02 15:21:29 +01:00