Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.dist.testing
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ CHROMEDRIVER_HOST=localhost
CHROMEDRIVER_PORT=9515

# The user agents used in end-to-end tests.
TEST_SITE_HTTP_USER_AGENT=HeadlessChrome
TEST_SITE_HTTP_USER_AGENT_MOBILE=HeadlessChromeMobile
TEST_SITE_HTTP_USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 WordPress/7.0.1;PHP/8.4.1;ConvertKit/3.3.6;http://example.com"
TEST_SITE_HTTP_USER_AGENT_MOBILE="Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Mobile Safari/537.36 WordPress/7.0.1;PHP/8.4.1;ConvertKit/3.3.6;http://example.com"

# Kit specific variables.
CONVERTKIT_API_ACCOUNT_ID=841415
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# Defines the WordPress and PHP Versions matrix to run tests on.
strategy:
matrix:
wp-versions: [ 'latest' ] #[ '6.1.1', 'latest' ]
wp-versions: [ '7.1-RC3' ] #[ '6.1.1', 'latest' ]
php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] #[ '7.3', '7.4', '8.0', '8.1' ]

# Steps to install, configure and run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
strategy:
fail-fast: false
matrix:
wp-versions: [ 'latest' ] #[ '6.1.1', 'latest' ]
wp-versions: [ '7.1-RC3' ] #[ '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.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"license": "GPLv3",
"require": {
"convertkit/convertkit-wordpress-libraries": "2.1.7"
"convertkit/convertkit-wordpress-libraries": "2.6.0"
},
"require-dev": {
"php-webdriver/webdriver": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/Support/Helper/ThirdPartyPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function activateThirdPartyPlugin($I, $name)
$I->waitForElementVisible('body.plugins-php');

// Activate the Plugin.
$I->checkOption('//*[@data-slug="' . $name . '"]/th/input');
$I->checkOption('//*[@data-slug="' . $name . '"]//input[@type="checkbox"]');
$I->selectOption('action', 'activate-selected');
$I->click('#doaction');

Expand Down Expand Up @@ -66,7 +66,7 @@ public function deactivateThirdPartyPlugin($I, $name)
$I->waitForElementVisible('body.plugins-php');

// Deactivate the Plugin.
$I->checkOption('//*[@data-slug="' . $name . '"]/th/input');
$I->checkOption('//*[@data-slug="' . $name . '"]//input[@type="checkbox"]');
$I->selectOption('action', 'deactivate-selected');
$I->click('#doaction');

Expand Down
Loading