Commit Graph

53 Commits

Author SHA1 Message Date
92d0dfc0e1 Merge pull request #1440 from mailpoet/post-notification-template
Acceptance test create post notification template [MQ-38]
2018-07-26 07:39:25 -04:00
9ed409194c Add helper for opening editor in acceptance test
[MQ-38]
2018-07-25 10:36:37 +02:00
f991a78722 Save session between acceptance test runs
[MQ-52]
2018-07-23 16:09:22 +01:00
c868c39696 Add acceptance test for post notification edit [MQ-29] 2018-07-18 15:43:34 +02:00
427e826ee5 Revert "Fix data creation for first test run"
This reverts commit 4296cd5a3e.
2018-07-17 13:42:47 +01:00
4296cd5a3e Fix data creation for first test run
[MQ-50]
2018-07-16 14:13:39 +01:00
4229ba87f3 Create forms delete acceptance tests
[MQ-50]
2018-07-12 11:41:36 +01:00
d317eb4fbd Adds unit test 2018-03-20 16:30:28 -04:00
12434b412f Add code comment 2018-01-31 10:30:33 +00:00
789c2a7d4e Wait before login 2018-01-31 09:41:15 +00:00
907356bb0f Wait for login field to be loaded 2018-01-31 09:15:20 +00:00
9c2aa569ea After login ensure MailPoet present on the page 2018-01-30 15:39:30 +00:00
9ee6920ebb Use our login function 2018-01-30 15:03:03 +00:00
eee01ee3f1 Merge pull request #1240 from mailpoet/acceptance-multisite
Execute acceptance tests on multisites [MAILPOET-1193]
2018-01-22 18:35:41 -05:00
ba45ee7e35 Make acceptance login timeouts longer
[MAILPOET-1193]
2018-01-22 10:14:58 +00:00
87aca7c667 Uses a helper to intercept WP functions 2018-01-16 08:21:26 -05:00
ea2a91d15e Fix acceptance tests 2018-01-09 14:36:05 +00:00
0b491b7943 Adds method to get current URL 2017-11-23 21:02:41 -05:00
4270e4c315 Check for missing CSS files in acceptance tests [MAILPOET-1177] 2017-10-25 14:04:11 +03:00
4b13395b0c Add JS error checking to acceptance tests [MAILPOET-1179] 2017-10-25 13:34:16 +03:00
a15b46cbab Fix Code coverage reporting
[MAILPOET-1064]
2017-08-23 12:15:56 +02:00
127022645e Revert "Update composer.lock"
This reverts commit b1d26b8cee.
2017-08-21 13:39:15 +02:00
b1d26b8cee Update composer.lock
[PREMIUM-35]
2017-08-21 13:26:13 +02:00
d844b7e47f Initial acceptance testing setup
[MAILPOET-997]
2017-08-17 08:13:10 +02:00
11cc97b201 Fixed: Unit tests failed if the database prefix was not "wp_" 2017-07-10 18:37:20 +02:00
c78933f7c4 Numerous fixes following the code review:
H1 title should be "Welcome to MailPoet version 3!", as per wireframes
remove logo in top right of the page
remove the classes feature-section one-col to the parent
new styles for #logger
progress bar: ensure that the color and size for the font are the same as our current progress bar.
display the progress bar at 100% when the import of subscribers and lists is complete
move loadSQL() function in tests/_support/Helper/Database.php
remove CSS browser prefixes
use AMD module definition to embed the JavaScript
remove extra whitespace in JavaScript file
remove the redundant functions descriptions
rename objectPlugin to mailpoet_mp2_migrator
replace private $chunks_size by the constant CHUNK_SIZE
add the constant IMPORT_TIMEOUT_IN_SECONDS
replace Helpers::mysqlDate() by $datetime->formatTime(time(), \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT)
make the log messages translatable
fix PHPDoc
replace Env::$plugin_name by 'mailpoet' in the translation functions
use $snake_case for variable names, use lowercaseCamelCase for method names, use CamelCase for class names
define MP2 table names as constants
add spaces around ternary operators
use the models for MP3 entities, instead of counting via raw SQL queries
use \ORM::for_table('some_table')::count()
2017-06-12 13:13:05 +02:00
8d870e85eb Switch to get_bloginfo() from bloginfo() to prevent output 2017-04-10 19:44:32 +03:00
0cdb426712 Fix ALC filtering for custom taxonomies and post types 2017-04-10 19:23:19 +03:00
32097b4512 Test that Premium hooks are executed [PREMIUM-2] 2017-03-21 21:36:36 +03:00
d6a68dd4d0 settings column done for welcome emails + WordPress capitalization fix 2016-06-15 16:33:48 +02:00
61df4899cd - Refactor WP DateTime helper
- Add a unit test helper to stub out Wordpress functions
2016-05-18 18:14:54 +03:00
7960811987 Add missing tests files. 2015-10-14 15:56:25 +02:00
2cc24ae965 - Added acceptance tests for the Newsletters page
- Added a shim to make PhantomJS work with React (temporary workaround)
- Removed asset compilation during acceptance testing
Closes #111
2015-09-07 20:05:55 -04:00
e1f8ac0f91 Unit Test Listing
- added unit test for Listing Handler
- added unit test helper to generate Subscribers
2015-09-03 16:45:52 +02:00
304bc9419e Remove generated tests from the repo.
Codeception creates a dynamic class to handle test helpers.
It shouldn't be on git.
2015-08-03 15:56:06 +02:00
7b291ae594 Support tests. 2015-08-03 14:31:26 +02:00
1456cd0a85 changed Twig syntax to Ruby style to avoid conflict with HBS templates + added missing files from makepot 2015-07-31 12:44:06 +02:00
021192a4c5 Test helpers. 2015-07-30 22:02:36 +02:00
acc3854ba9 fixed conflict and removed test in initializer 2015-07-29 16:56:23 +02:00
9e2df5c1d7 started migrating form editor + i18n added makepot with twig templates support 2015-07-29 16:54:06 +02:00
3c6239066a Support tests. 2015-07-29 15:38:40 +02:00
d736420f3d Support tests. 2015-07-28 23:17:40 +02:00
ffbc54ffb7 added loadEnv to unit test and removed bootstrap code + added basic acceptance test for form widget (had to increase the wait value oh web driver to bypass JS animations delay) 2015-07-28 11:40:31 +02:00
8aea2675f2 added acceptance test for formwidget + added utility method to login into WP for acceptance tests + fixed unit test of form renderer 2015-07-27 18:12:47 +02:00
b10edea821 added user and password in dot env file + updated activation acceptance test - fixing issue #18 2015-07-24 16:52:58 +02:00
e753a36acf - migrated Host Web & SMTP classes from MP3 (with unit tests)
- added dependencies in relation to issue #13 (still ongoing)
2015-07-24 11:51:32 +02:00
104fe02687 Revert activation logic in tests. 2015-07-22 18:03:05 +02:00
3a572a99ff - renamed DKIM class method to camelCase and updated unit test - re-added acceptance suite yml file to the repo and updated gitignore 2015-07-22 11:42:17 +02:00
f5cb2467ea Add .env support. 2015-07-21 18:20:38 +02:00
8137a30f46 modal library - added automatic setting of template renderer whether Handlebars is defined, defaults to pure html - fixed modal title issue (remove handlebars syntax from overlay template) - added a sample file for acceptance tests config - robo task to auto create acceptance tests config file based on sample 2015-07-20 20:45:47 +02:00