Rename tests/selenium to tests/end-to-end
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
606f66b5df
commit
9a0d34b01d
2
.github/workflows/test-selenium.yml
vendored
2
.github/workflows/test-selenium.yml
vendored
@ -136,7 +136,7 @@ jobs:
|
||||
TESTSUITE_DATABASE_PREFIX: "selenium"
|
||||
TESTSUITE_SELENIUM_HOST: "127.0.0.1"
|
||||
TESTSUITE_SELENIUM_PORT: "4444"
|
||||
run: ./vendor/bin/phpunit --testsuite selenium --no-logging --no-coverage --stop-on-skipped --testdox tests/selenium/${{ matrix.test-name }}Test.php
|
||||
run: ./vendor/bin/phpunit --testsuite end-to-end --no-logging --no-coverage --stop-on-skipped --testdox tests/end-to-end/${{ matrix.test-name }}Test.php
|
||||
|
||||
- name: Output logs and stop server
|
||||
env:
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"PhpMyAdmin\\Tests\\": "tests/unit",
|
||||
"PhpMyAdmin\\Tests\\Selenium\\": "tests/selenium/"
|
||||
"PhpMyAdmin\\Tests\\Selenium\\": "tests/end-to-end/"
|
||||
}
|
||||
},
|
||||
"repositories": [
|
||||
|
||||
@ -15263,92 +15263,92 @@ parameters:
|
||||
-
|
||||
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotNull\\(\\) with Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebElement will always evaluate to true\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/Database/OperationsTest.php
|
||||
path: tests/end-to-end/Database/OperationsTest.php
|
||||
|
||||
-
|
||||
message: "#^Call to function is_string\\(\\) with non\\-falsy\\-string will always evaluate to true\\.$#"
|
||||
count: 2
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access property \\$public_url on mixed\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Class PhpMyAdmin\\\\Tests\\\\Selenium\\\\TestBase has an uninitialized property \\$sessionId\\. Give it default value or assign it in the constructor\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
|
||||
count: 5
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Only booleans are allowed in &&, string given on the left side\\.$#"
|
||||
count: 2
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Only booleans are allowed in a negated boolean, string\\|null given\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Only booleans are allowed in an elseif condition, string\\|false given\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Only booleans are allowed in an if condition, int given\\.$#"
|
||||
count: 2
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Only booleans are allowed in an if condition, string\\|false given\\.$#"
|
||||
count: 2
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$by of method Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver\\:\\:findElement\\(\\) expects Facebook\\\\WebDriver\\\\WebDriverBy, mixed given\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$by of static method Facebook\\\\WebDriver\\\\WebDriverExpectedCondition\\:\\:presenceOfElementLocated\\(\\) expects Facebook\\\\WebDriver\\\\WebDriverBy, mixed given\\.$#"
|
||||
count: 2
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$by of static method Facebook\\\\WebDriver\\\\WebDriverExpectedCondition\\:\\:visibilityOfElementLocated\\(\\) expects Facebook\\\\WebDriver\\\\WebDriverBy, mixed given\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$handle of method Facebook\\\\WebDriver\\\\Remote\\\\RemoteTargetLocator\\:\\:window\\(\\) expects string, mixed given\\.$#"
|
||||
count: 3
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Property PhpMyAdmin\\\\Tests\\\\Selenium\\\\TestBase\\:\\:\\$sqlWindowHandle \\(string\\|null\\) does not accept mixed\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Strict comparison using \\=\\=\\= between Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver and null will always evaluate to false\\.$#"
|
||||
count: 1
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Variable static method call on Facebook\\\\WebDriver\\\\WebDriverBy\\.$#"
|
||||
count: 4
|
||||
path: tests/selenium/TestBase.php
|
||||
path: tests/end-to-end/TestBase.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'Servers' on mixed\\.$#"
|
||||
|
||||
@ -35,8 +35,8 @@
|
||||
<testsuite name="unit">
|
||||
<directory suffix="Test.php">tests/unit</directory>
|
||||
</testsuite>
|
||||
<testsuite name="selenium">
|
||||
<directory suffix="Test.php">tests/selenium</directory>
|
||||
<testsuite name="end-to-end">
|
||||
<directory suffix="Test.php">tests/end-to-end</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<logging>
|
||||
|
||||
@ -11986,12 +11986,12 @@
|
||||
<code><![CDATA[$tempName]]></code>
|
||||
</PossiblyInvalidOperand>
|
||||
</file>
|
||||
<file src="tests/selenium/ExportTest.php">
|
||||
<file src="tests/end-to-end/ExportTest.php">
|
||||
<PossiblyUnusedMethod>
|
||||
<code><![CDATA[exportDataProvider]]></code>
|
||||
</PossiblyUnusedMethod>
|
||||
</file>
|
||||
<file src="tests/selenium/TestBase.php">
|
||||
<file src="tests/end-to-end/TestBase.php">
|
||||
<DeprecatedConstant>
|
||||
<code><![CDATA[ChromeOptions::CAPABILITY_W3C]]></code>
|
||||
</DeprecatedConstant>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<directory name="app"/>
|
||||
<directory name="public/setup"/>
|
||||
<directory name="src"/>
|
||||
<directory name="tests/selenium"/>
|
||||
<directory name="tests/end-to-end"/>
|
||||
<directory name="tests/unit"/>
|
||||
<file name="public/index.php"/>
|
||||
<ignoreFiles>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user