diff --git a/tests/cocroachdb.html b/tests/cocroachdb.html index 7181c3e3..f8b4e960 100644 --- a/tests/cocroachdb.html +++ b/tests/cocroachdb.html @@ -156,6 +156,32 @@ verifyTextPresent1 item has been affected. + + + + + + + + + + + + + + + + + + + + + + + + +
Enum
openhttp://localhost:8080/adminer/?pgsql=localhost:26257&username=ODBC&db=adminer_test&ns=public
clicklink=Create type
typename=namealive
runScriptdocument.querySelector('[name="as"]').value = "AS ENUM('alive', 'deceased')"
clickAndWait//input[@value='Save']
clicklink=interprets
clicklink=Alter table
clickname=add[3]
typename=fields[4][field]alive
selectname=fields[4][type]label=alive
clickname=fields[4][null]
clickAndWait//input[@value='Save']
clicklink=alive
verifyTextPresent'alive', 'deceased'
chooseOkOnNextConfirmationDrop alive?
clickAndWait//input[@value='Drop']
verifyTextPresentcannot drop type
openhttp://localhost:8080/adminer/?pgsql=localhost:26257&username=ODBC&db=adminer_test&ns=public&edit=interprets&where%5Bid%5D=1
click//input[@value='deceased']
clickAndWait//input[@value='Save']
verifyTextPresentdeceased
+ diff --git a/tests/pgsql.html b/tests/pgsql.html index f6590509..f13b77e7 100644 --- a/tests/pgsql.html +++ b/tests/pgsql.html @@ -153,6 +153,32 @@
Explain
verifyTextPresent1 item has been affected.
+ + + + + + + + + + + + + + + + + + + + + + + + +
Enum
openhttp://localhost:8080/adminer/?pgsql=&username=ODBC&db=adminer_test&ns=public
clicklink=Create type
typename=namealive
runScriptdocument.querySelector('[name="as"]').value = "AS ENUM('alive', 'deceased')"
clickAndWait//input[@value='Save']
clicklink=interprets
clicklink=Alter table
clickname=add[3]
typename=fields[4][field]alive
selectname=fields[4][type]label=alive
clickname=fields[4][null]
clickAndWait//input[@value='Save']
clicklink=alive
verifyTextPresent'alive', 'deceased'
chooseOkOnNextConfirmationDrop alive?
clickAndWait//input[@value='Drop']
verifyTextPresentcannot drop type
openhttp://localhost:8080/adminer/?pgsql=&username=ODBC&db=adminer_test&ns=public&edit=interprets&where%5Bid%5D=1
click//input[@value='deceased']
clickAndWait//input[@value='Save']
verifyTextPresentdeceased
+
Explain