Commit Graph

173 Commits

Author SHA1 Message Date
Ján Mikláš
edb0920787 Fix UnauthorizedAddress test button not being clickable
[MAILPOET-1882]
2019-03-25 08:27:06 -04:00
Rostislav Wolny
6be3c9d9f7 Configure acceptance tests to run on test domain
[MQ-99]
2019-03-18 12:33:35 -04:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Jan Jakeš
e89d242b7f Use amOnPage instead of clicks in menu 2019-02-06 14:59:15 +03:00
wxa
d4bf85bfdb Remove the default wait timeout constant [MAILPOET-1759] 2019-02-04 11:29:38 +03:00
wxa
6397ec2bdd Fix indentation [MAILPOET-1759] 2019-02-04 11:29:38 +03:00
wxa
e5a6e541cc Override waitFor* AcceptanceTester functions to have a default timeout 2019-02-04 11:28:57 +03:00
Jan Jakeš
6c4aa4ab2d Fix occasionally frozen new tabs on newer Chrome versions
[MAILPOET-1738]
2019-01-31 13:59:41 +01:00
Ján Mikláš
b1e7db1ee0 Destroy Codeception's user session after logout 2019-01-03 09:47:11 +01:00
Ján Mikláš
563e1da7df Unify using $I instead of $this in AcceptanceTester 2019-01-03 09:47:11 +01:00
Ján Mikláš
140d2e98dd Refactor acceptance tests with unified waiting for select2 to load 2018-12-17 18:52:50 +01:00
Ján Mikláš
a0fa3c6a0d Create helper for searching, which handle waiting for element, filling input and clicking button 2018-12-17 17:26:30 +01:00
Ján Mikláš
38aaed77d8 Create helper to load mailhog app and wait for angular to load 2018-12-17 17:25:36 +01:00
Ján Mikláš
eea62cd4f7 Create helper for waiting for list to load 2018-12-17 17:25:02 +01:00
Pavel Dohnal
8e7f9ec73e Add test to edit sign up confirmation email
[MQ-88]
2018-12-04 14:59:11 +01:00
Amine Ben hammou
7fcf9f6f72 Add acceptance test for sign up confirmation
[MQ-87]
2018-11-28 11:58:08 +01:00
wxa
9092aa3029 Make separate setups for integration and unit tests 2018-10-29 17:57:47 +03:00
Michelle Shull
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
Rostislav Wolny
9ed409194c Add helper for opening editor in acceptance test
[MQ-38]
2018-07-25 10:36:37 +02:00
Pavel Dohnal
f991a78722 Save session between acceptance test runs
[MQ-52]
2018-07-23 16:09:22 +01:00
Rostislav Wolny
c868c39696 Add acceptance test for post notification edit [MQ-29] 2018-07-18 15:43:34 +02:00
Pavel Dohnal
427e826ee5 Revert "Fix data creation for first test run"
This reverts commit 4296cd5a3e.
2018-07-17 13:42:47 +01:00
Pavel Dohnal
4296cd5a3e Fix data creation for first test run
[MQ-50]
2018-07-16 14:13:39 +01:00
Pavel Dohnal
4229ba87f3 Create forms delete acceptance tests
[MQ-50]
2018-07-12 11:41:36 +01:00
Vlad
d317eb4fbd Adds unit test 2018-03-20 16:30:28 -04:00
Pavel Dohnal
12434b412f Add code comment 2018-01-31 10:30:33 +00:00
Pavel Dohnal
789c2a7d4e Wait before login 2018-01-31 09:41:15 +00:00
Pavel Dohnal
907356bb0f Wait for login field to be loaded 2018-01-31 09:15:20 +00:00
Pavel Dohnal
9c2aa569ea After login ensure MailPoet present on the page 2018-01-30 15:39:30 +00:00
Pavel Dohnal
9ee6920ebb Use our login function 2018-01-30 15:03:03 +00:00
mrcasual
eee01ee3f1 Merge pull request #1240 from mailpoet/acceptance-multisite
Execute acceptance tests on multisites [MAILPOET-1193]
2018-01-22 18:35:41 -05:00
Pavel Dohnal
ba45ee7e35 Make acceptance login timeouts longer
[MAILPOET-1193]
2018-01-22 10:14:58 +00:00
Vlad
87aca7c667 Uses a helper to intercept WP functions 2018-01-16 08:21:26 -05:00
Pavel Dohnal
ea2a91d15e Fix acceptance tests 2018-01-09 14:36:05 +00:00
Vlad
0b491b7943 Adds method to get current URL 2017-11-23 21:02:41 -05:00
stoletniy
4270e4c315 Check for missing CSS files in acceptance tests [MAILPOET-1177] 2017-10-25 14:04:11 +03:00
stoletniy
4b13395b0c Add JS error checking to acceptance tests [MAILPOET-1179] 2017-10-25 13:34:16 +03:00
Pavel Dohnal
a15b46cbab Fix Code coverage reporting
[MAILPOET-1064]
2017-08-23 12:15:56 +02:00
Pavel Dohnal
127022645e Revert "Update composer.lock"
This reverts commit b1d26b8cee.
2017-08-21 13:39:15 +02:00
Pavel Dohnal
b1d26b8cee Update composer.lock
[PREMIUM-35]
2017-08-21 13:26:13 +02:00
Pavel Dohnal
d844b7e47f Initial acceptance testing setup
[MAILPOET-997]
2017-08-17 08:13:10 +02:00
fred
11cc97b201 Fixed: Unit tests failed if the database prefix was not "wp_" 2017-07-10 18:37:20 +02:00
fred
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
Tautvidas Sipavičius
8d870e85eb Switch to get_bloginfo() from bloginfo() to prevent output 2017-04-10 19:44:32 +03:00
Tautvidas Sipavičius
0cdb426712 Fix ALC filtering for custom taxonomies and post types 2017-04-10 19:23:19 +03:00
Alexey Stoletniy
32097b4512 Test that Premium hooks are executed [PREMIUM-2] 2017-03-21 21:36:36 +03:00
Jonathan Labreuille
d6a68dd4d0 settings column done for welcome emails + WordPress capitalization fix 2016-06-15 16:33:48 +02:00