diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 24bdfee..1219a54 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -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-beta4' ] #[ '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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 577c9d4..283acb0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -81,7 +81,7 @@ jobs: strategy: fail-fast: false matrix: - wp-versions: [ 'latest' ] #[ '6.1.1', 'latest' ] + wp-versions: [ '7.1-beta4' ] #[ '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/Support/Helper/ThirdPartyPlugin.php b/tests/Support/Helper/ThirdPartyPlugin.php index 9ca7f73..54e9e3f 100644 --- a/tests/Support/Helper/ThirdPartyPlugin.php +++ b/tests/Support/Helper/ThirdPartyPlugin.php @@ -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'); @@ -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');