diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0299b2c..823559e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - wp-versions: [ 'latest' ] #[ 'latest' ] + wp-versions: [ 'latest' ] #[ '6.1.1', 'latest' ] php-versions: [ '8.1', '8.2', '8.3', '8.4' ] #[ '7.3', '7.4', '8.0', '8.1' ] # Folder names within the 'tests' folder to run tests in parallel. diff --git a/tests/EndToEnd.suite.yml b/tests/EndToEnd.suite.yml index 2a34a44..079362a 100644 --- a/tests/EndToEnd.suite.yml +++ b/tests/EndToEnd.suite.yml @@ -41,8 +41,10 @@ modules: capabilities: "goog:chromeOptions": args: + - "--headless" - "--disable-gpu" - "--disable-dev-shm-usage" + - "--disable-software-rasterizer" - "--proxy-server='direct://'" - "--proxy-bypass-list=*" - "--no-sandbox" @@ -55,7 +57,7 @@ modules: #import the dump before the tests; this means the test site database will be repopulated before the tests. populate: true # re-import the dump between tests; this means the test site database will be repopulated between the tests. - cleanup: true + cleanup: false reconnect: false url: '%WORDPRESS_URL%' urlReplacement: true diff --git a/tests/EndToEnd/bundle/BundleCustomFieldsCest.php b/tests/EndToEnd/bundle/BundleCustomFieldsCest.php index faedb99..7ffd836 100644 --- a/tests/EndToEnd/bundle/BundleCustomFieldsCest.php +++ b/tests/EndToEnd/bundle/BundleCustomFieldsCest.php @@ -196,6 +196,7 @@ public function testMemberCustomFieldsWhenBundleReactivated(EndToEndTester $I) */ public function _passed(EndToEndTester $I) { + $I->deactivateThirdPartyPlugin($I, 'membermouse-platform'); $I->deactivateConvertKitPlugin($I); $I->resetConvertKitPlugin($I); } diff --git a/tests/EndToEnd/member/MemberCustomFieldsCest.php b/tests/EndToEnd/member/MemberCustomFieldsCest.php index b0e848a..735f849 100644 --- a/tests/EndToEnd/member/MemberCustomFieldsCest.php +++ b/tests/EndToEnd/member/MemberCustomFieldsCest.php @@ -144,6 +144,7 @@ public function testMemberCustomFieldsWhenMembershipLevelChanged(EndToEndTester */ public function _passed(EndToEndTester $I) { + $I->deactivateThirdPartyPlugin($I, 'membermouse-platform'); $I->deactivateConvertKitPlugin($I); $I->resetConvertKitPlugin($I); } diff --git a/tests/EndToEnd/product/ProductCustomFieldsCest.php b/tests/EndToEnd/product/ProductCustomFieldsCest.php index 3b8bb54..146a888 100644 --- a/tests/EndToEnd/product/ProductCustomFieldsCest.php +++ b/tests/EndToEnd/product/ProductCustomFieldsCest.php @@ -98,6 +98,7 @@ public function testMemberCustomFieldsWhenProductPurchased(EndToEndTester $I) */ public function _passed(EndToEndTester $I) { + $I->deactivateThirdPartyPlugin($I, 'membermouse-platform'); $I->deactivateConvertKitPlugin($I); $I->resetConvertKitPlugin($I); } diff --git a/tests/Support/Data/dump.sql b/tests/Support/Data/dump.sql index 9a0be66..a6eab33 100644 --- a/tests/Support/Data/dump.sql +++ b/tests/Support/Data/dump.sql @@ -6303,7 +6303,7 @@ INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload` (43, 'html_type', 'text/html', 'yes'), (44, 'use_trackback', '0', 'yes'), (45, 'default_role', 'subscriber', 'yes'), -(46, 'db_version', '60421', 'yes'), +(46, 'db_version', '60717', 'yes'), (47, 'uploads_use_yearmonth_folders', '1', 'yes'), (48, 'upload_path', '', 'yes'), (49, 'blog_public', '1', 'yes'), @@ -6355,7 +6355,7 @@ INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload` (96, 'auto_update_core_minor', 'enabled', 'yes'), (97, 'auto_update_core_major', 'enabled', 'yes'), (98, 'wp_force_deactivated_plugins', 'a:0:{}', 'yes'), -(99, 'initial_db_version', '60421', 'yes'), +(99, 'initial_db_version', '60717', 'yes'), (100, 'wp_user_roles', 'a:9:{s:13:\"administrator\";a:2:{s:4:\"name\";s:13:\"Administrator\";s:12:\"capabilities\";a:61:{s:13:\"switch_themes\";b:1;s:11:\"edit_themes\";b:1;s:16:\"activate_plugins\";b:1;s:12:\"edit_plugins\";b:1;s:10:\"edit_users\";b:1;s:10:\"edit_files\";b:1;s:14:\"manage_options\";b:1;s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:6:\"import\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:8:\"level_10\";b:1;s:7:\"level_9\";b:1;s:7:\"level_8\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;s:12:\"delete_users\";b:1;s:12:\"create_users\";b:1;s:17:\"unfiltered_upload\";b:1;s:14:\"edit_dashboard\";b:1;s:14:\"update_plugins\";b:1;s:14:\"delete_plugins\";b:1;s:15:\"install_plugins\";b:1;s:13:\"update_themes\";b:1;s:14:\"install_themes\";b:1;s:11:\"update_core\";b:1;s:10:\"list_users\";b:1;s:12:\"remove_users\";b:1;s:13:\"promote_users\";b:1;s:18:\"edit_theme_options\";b:1;s:13:\"delete_themes\";b:1;s:6:\"export\";b:1;}}s:6:\"editor\";a:2:{s:4:\"name\";s:6:\"Editor\";s:12:\"capabilities\";a:34:{s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;}}s:6:\"author\";a:2:{s:4:\"name\";s:6:\"Author\";s:12:\"capabilities\";a:10:{s:12:\"upload_files\";b:1;s:10:\"edit_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;s:22:\"delete_published_posts\";b:1;}}s:11:\"contributor\";a:2:{s:4:\"name\";s:11:\"Contributor\";s:12:\"capabilities\";a:5:{s:10:\"edit_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;}}s:10:\"subscriber\";a:2:{s:4:\"name\";s:10:\"Subscriber\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:7:\"level_0\";b:1;}}s:24:\"mm_role_customer_support\";a:2:{s:4:\"name\";s:7:\"Support\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:17:\"moderate_comments\";b:1;}}s:22:\"mm_role_customer_sales\";a:2:{s:4:\"name\";s:5:\"Sales\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:17:\"moderate_comments\";b:1;}}s:15:\"mm_role_analyst\";a:2:{s:4:\"name\";s:7:\"Analyst\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:17:\"moderate_comments\";b:1;}}s:23:\"mm_role_product_manager\";a:2:{s:4:\"name\";s:15:\"Product Manager\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:17:\"moderate_comments\";b:1;}}}', 'on'), (101, 'fresh_site', '1', 'yes'), (102, 'user_count', '1', 'no'),