diff --git a/.gitignore b/.gitignore
index 131e7cf1..9eb1a893 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
/editor/adminer-dark.css
/adminer*.php
/editor*.php
+/tests/pdo-*.html
/vendor/
adminer-plugins/
adminer-plugins.php
diff --git a/tests/generate-pdo.php b/tests/generate-pdo.php
new file mode 100755
index 00000000..24fdaa67
--- /dev/null
+++ b/tests/generate-pdo.php
@@ -0,0 +1,16 @@
+#!/usr/bin/env php
+
open | /coverage.php?coverage=0 | | \n", "", $file);
+ $file = preg_replace("~//input\[@value='Login']~", "\\0 | \nverifyTextPresent | PDO_", $file, 1);
+ file_put_contents("pdo-$filename", $file);
+ }
+}
diff --git a/tests/pgsql.html b/tests/pgsql.html
index dcb3d408..cec4f9d2 100644
--- a/tests/pgsql.html
+++ b/tests/pgsql.html
@@ -16,7 +16,6 @@
|
select | name=auth[driver] | label=PostgreSQL |
type | id=username | ODBC |
type | name=auth[password] | ODBC |
-type | name=auth[db] | adminer_test |
clickAndWait | //input[@value='Login'] | |
diff --git a/tests/sqlite.html b/tests/sqlite.html
index 8fbacf08..eda36752 100644
--- a/tests/sqlite.html
+++ b/tests/sqlite.html
@@ -16,7 +16,7 @@
select | name=auth[driver] | label=SQLite |
type | id=username | ODBC |
type | name=auth[password] | YOUR_PASSWORD_HERE |
-click | css=input[type="submit"] | |
+click | //input[@value='Login'] | |
click | link=Create database | |
type | name=name | adminer_test |
click | css=input[type="submit"] | |