Login
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200
selectname=langlabel=English
clickAndWaitcss=#lang > input[type="submit"]
typeid=usernameODBC
typename=auth[password]ODBC12
clickAndWait//input[@value='Login']
verifyTextPresentJSON
Create table
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic
clickAndWaitlink=Create table
typenameinterprets
typefields[1][field]name
selectfields[1][type]label=text
clickAndWait//input[@value='Save']
verifyTextPresentTable has been created.
Alter table
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic&table=interprets
clickAndWaitlink=Alter table
clickadd[2]
typefields[3][field]albums
selectfields[3][type]label=integer
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
Insert
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic&edit=interprets
typefields[name]Michael Jackson
clickAndWait//input[@value='Save']
verifyTextPresenthas been inserted.
Select
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic&select=interprets
clicklink=Search
selectname=where[0][col]label=name
selectname=where[0][op]label=should
typename=where[0][val]Jackson
clicklink=Sort
selectname=order[0]label=albums
clickAndWaitxpath=//input[@value='Select']
verifyTextPresent1 row
Update
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic&select=interprets
clickAndWaitlink=edit
typefields[albums]1
clickAndWait//input[@value='Save']
verifyTextPresentItem has been updated.
Delete
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic&select=interprets
clickname=check[]
waitForCheckedname=check[]
chooseOkOnNextConfirmationAre you sure?
clickdelete
verifyTextPresent1 item has been affected.
Drop
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC&db=elastic&create=interprets
chooseOkOnNextConfirmationDrop interprets?
clickname=drop
verifyTextPresentNo tables.
Logout
open/adminer/elastic.php?elastic=https%3A%2F%2Flocalhost:9200&username=ODBC
clickAndWaitlogout
verifyTextPresentLogout successful.
open/coverage.php