diff --git a/tests/0-login.html b/tests/0-login.html deleted file mode 100644 index d8358f99..00000000 --- a/tests/0-login.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - -Login - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Login
opencoverage.php?coverage=0
openadminer/?username=ODBC
selectname=langlabel=English
clickAndWaitcss=#lang > input[type="submit"]
verifyTextPresentLogged as
clickAndWaitlink=SQL command
typequeryDROP DATABASE IF EXISTS adminer_test
clickAndWait//input[@value='Execute']
verifyTextPresentQuery executed OK
- - diff --git a/tests/1-create-database.html b/tests/1-create-database.html deleted file mode 100644 index 0b68af80..00000000 --- a/tests/1-create-database.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -Create database - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Create database
openadminer/?username=ODBC
clickAndWaitlink=Create database
typenameadminer_test
selectcollationlabel=utf8_general_ci
clickAndWait//input[@value='Save']
verifyTextPresentDatabase has been created.
- - diff --git a/tests/10-clone.html b/tests/10-clone.html deleted file mode 100644 index bf08ca64..00000000 --- a/tests/10-clone.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -Clone - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Clone
openadminer/?username=ODBC&db=adminer_test&select=albums
clickcheck[]
clickAndWaitclone
typefields[title]Black and White
clickAndWait//input[@value='Save']
verifyTextPresentItem 2 has been inserted.
- - diff --git a/tests/11-reference.html b/tests/11-reference.html deleted file mode 100644 index 1c685359..00000000 --- a/tests/11-reference.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - -Reference - - - - - - - - - - - - - - - - - - - - - -
Reference
openadminer/?username=ODBC&db=adminer_test&select=albums
clickAndWaitlink=1
verifyTextPresentMichael Jackson
- - diff --git a/tests/12-update.html b/tests/12-update.html deleted file mode 100644 index e8950bd1..00000000 --- a/tests/12-update.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - -Update - - - - - - - - - - - - - - - - - - - - - - - - - - -
Update
openadminer/?username=ODBC&db=adminer_test&edit=albums&where%5Bid%5D=2
typefields[title]Black or White
clickAndWait//input[@value='Save']
verifyTextPresentItem has been updated.
- - diff --git a/tests/13-delete.html b/tests/13-delete.html deleted file mode 100644 index 74a76249..00000000 --- a/tests/13-delete.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -Delete - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Delete
openadminer/?username=ODBC&db=adminer_test&select=albums
click//input[@name='check[]' and @value='where%5Bid%5D=2']
waitForChecked//input[@name='check[]' and @value='where%5Bid%5D=2']
clickAndWaitdelete
assertConfirmationAre you sure?
verifyTextPresent1 item has been affected.
- - diff --git a/tests/14-truncate.html b/tests/14-truncate.html deleted file mode 100644 index 3d46dbf4..00000000 --- a/tests/14-truncate.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -Truncate - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Truncate
openadminer/?username=ODBC&db=adminer_test&select=albums
clickall
waitForCheckedall
clickAndWaitdelete
assertConfirmationAre you sure?
verifyTextPresentNo rows.
- - diff --git a/tests/15-privileges.html b/tests/15-privileges.html deleted file mode 100644 index 7088dda1..00000000 --- a/tests/15-privileges.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -Privileges - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Privileges
openadminer/?username=ODBC&user=
typeuseradminer_test
typeobjects[0]adminer_test.*
clickgrants[0][ALTER]
clickgrants[0][CREATE]
click//input[@name='grants[0][CREATE VIEW]']
clickgrants[0][DELETE]
clickgrants[0][DROP]
clickgrants[0][INDEX]
clickgrants[0][INSERT]
clickgrants[0][REFERENCES]
clickgrants[0][SELECT]
click//input[@name='grants[0][SHOW VIEW]']
clickgrants[0][UPDATE]
click//input[@name='grants[0][CREATE TEMPORARY TABLES]']
click//input[@name='grants[0][LOCK TABLES]']
click//input[@name='grants[0][CREATE ROUTINE]']
clickAndWait//input[@value='Save']
verifyTextPresentUser has been created.
clickAndWait//div[@id='content']/form/table/tbody/tr[td[1]='adminer_test']/td[3]/a
clickAndWaitdrop
assertConfirmationDrop adminer_test@localhost?
verifyTextPresentUser has been dropped.
- - diff --git a/tests/16-processlist.html b/tests/16-processlist.html deleted file mode 100644 index d7d91df5..00000000 --- a/tests/16-processlist.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -Process list - - - - - - - - - - - - - - - - -
Process list
openadminer/?username=ODBC&processlist=
verifyTextPresentSHOW FULL PROCESSLIST
- - diff --git a/tests/17-export.html b/tests/17-export.html deleted file mode 100644 index 3de2b74b..00000000 --- a/tests/17-export.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -Export - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Export
openadminer/?username=ODBC&db=adminer_test&dump=
clickoutput
clickformat
selecttable_stylelabel=DROP+CREATE
selectdata_stylelabel=INSERT
clickAndWait//input[@value='Export']
verifyTextPresentCREATE TABLE `interprets`
verifyTextPresentCREATE TRIGGER `albums_ai`
verifyTextPresentINSERT INTO `interprets`
verifyTextPresentVIEW `albums_interprets`
- - diff --git a/tests/18-events.html b/tests/18-events.html deleted file mode 100644 index 579982b5..00000000 --- a/tests/18-events.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -Events - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Events
openadminer/?username=ODBC&db=adminer_test&event=
typeEVENT_NAMEno_albums
selectINTERVAL_FIELDlabel=DAY
typeINTERVAL_VALUE1
clickON_COMPLETION
typeEVENT_DEFINITIONDELETE FROM albums WHERE interprets = 0
clickAndWait//input[@value='Save']
verifyTextPresentEvent has been created.
clickAndWaitlink=Alter
clickAndWaitdrop
assertConfirmationDrop no_albums?
verifyTextPresentEvent has been dropped.
- - diff --git a/tests/19-procedures.html b/tests/19-procedures.html deleted file mode 100644 index 4cbe4017..00000000 --- a/tests/19-procedures.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - -Procedures - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Procedures
openadminer/?username=ODBC&db=adminer_test&procedure=
clickAndWaitadd[0]
typefields[1][field]interpret_name
selectfields[1][type]label=varchar
typefields[1][length]50
typefields[1.1][field]album_title
selectfields[1.1][type]label=varchar
typefields[1.1][length]50
typedefinitionBEGIN
SELECT id INTO @interpret FROM interprets WHERE name = interpret_name;
IF @interpret IS NULL THEN
    INSERT INTO interprets (name) VALUES (interpret_name);
    SET @interpret = LAST_INSERT_ID();
END IF;
INSERT INTO albums (interpret, title) VALUES (@interpret, album_title);
END
typenameinsert_album
clickAndWait//input[@value='Save']
verifyTextPresentRoutine has been created.
clickAndWaitlink=insert_album
typefields[interpret_name]Michael Jackson
typefields[album_title]Dangerous
clickAndWait//input[@value='Call']
assertTextPresentRoutine has been called, 1 row affected.
clickAndWaitlink=adminer_test
clickAndWaitlink=Alter
clickAndWaitdrop
assertConfirmationDrop insert_album?
verifyTextPresentRoutine has been dropped.
- - diff --git a/tests/2-create-table.html b/tests/2-create-table.html deleted file mode 100644 index 5578466b..00000000 --- a/tests/2-create-table.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - -Create table - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Create table
openadminer/?username=ODBC&db=adminer_test
clickAndWaitlink=Create table
typenameinterprets
selectEnginelabel=InnoDB
typefields[1][field]id
selectfields[1][type]label=int
click//input[@name='auto_increment_col' and @value='1']
typefields[1.1][field]name
selectfields[1.1][type]label=varchar
typefields[1.1][length]50
clickname=comments
typefields[1.1][comment]Interpret
typeCommentInterprets
clickAndWait//input[@value='Save']
verifyTextPresentTable has been created.
- - diff --git a/tests/20-partitioning.html b/tests/20-partitioning.html deleted file mode 100644 index a6f96514..00000000 --- a/tests/20-partitioning.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -Partitioning - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Partitioning
openadminer/?username=ODBC&db=adminer_test&table=interprets
clickAndWaitlink=Alter table
selectpartition_bylabel=HASH
typepartitionid
typepartitions2
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
clickAndWaitlink=Alter table
selectpartition_bylabel=RANGE
typepartition_values[]10
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
clickAndWaitlink=Alter table
selectpartition_bylabel=
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
- - diff --git a/tests/21-variables.html b/tests/21-variables.html deleted file mode 100644 index 6f47da00..00000000 --- a/tests/21-variables.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -Variables - - - - - - - - - - - - - - - - -
Variables
openadminer/?username=ODBC&variables=
verifyTextPresentbasedir
- - diff --git a/tests/22-history.html b/tests/22-history.html deleted file mode 100644 index 42629907..00000000 --- a/tests/22-history.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -History - - - - - - - - - - - - - - - - -
History
openadminer/?username=ODBC&sql=
verifyTextPresentDROP DATABASE IF EXISTS adminer_test
- - diff --git a/tests/23-editor.html b/tests/23-editor.html deleted file mode 100644 index 8bbb7266..00000000 --- a/tests/23-editor.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - -Editor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Editor
openeditor/example.php?username=admin
selectname=langlabel=English
clickAndWaitcss=#lang > input[type="submit"]
clickAndWaitlink=Interprets
clickAndWaitlink=New item
typefields[name]Michael Jackson
clickAndWait//input[@value='Save']
clickAndWait//div[@id='content']/form[2]/table/tbody/tr[1]/td[3]/a
clickAndWaitlink=New item
typefields[title]Dangerous
clickAndWait//input[@value='Save']
verifyTextPresentItem 4 has been inserted.
clickAndWaitlogout
- - diff --git a/tests/24-explain.html b/tests/24-explain.html deleted file mode 100644 index bb9f98ba..00000000 --- a/tests/24-explain.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - -Explain - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Explain
openadminer/?username=ODBC&db=adminer_test&select=albums
clickAndWaitlink=Edit
clickAndWait//input[@value='Execute']
clicklink=Explain
verifyTextPresentpossible_keys
- - diff --git a/tests/3-create-index.html b/tests/3-create-index.html deleted file mode 100644 index 2ec30659..00000000 --- a/tests/3-create-index.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -Create index - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Create index
openadminer/?username=ODBC&db=adminer_test&table=interprets
clickAndWaitlink=Alter indexes
selectindexes[2][type]label=PRIMARY
selectindexes[2][columns][1]label=name
verifyValuename=indexes[2][name]name
clickAndWait//input[@value='Save']
verifyTextPresentMultiple primary key defined
selectindexes[2][type]label=INDEX
clickAndWait//input[@value='Save']
verifyTextPresentIndexes have been altered.
- - diff --git a/tests/4-create-table-2.html b/tests/4-create-table-2.html deleted file mode 100644 index fcef1d5a..00000000 --- a/tests/4-create-table-2.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - -Create table 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Create table 2
openadminer/?username=ODBC&db=adminer_test&table=interprets&lang=en
clickAndWaitlink=Create table
typenamealbums
typefields[1][field]id
selectfields[1][type]label=int
click//input[@name='auto_increment_col' and @value='1']
typefields[1.1][field]interpret
selectfields[1.1][type]label=int
typefields[1.11][field]title
selectfields[1.11][type]label=varchar
typefields[1.11][length]50
clickname=comments
typefields[1.1][comment]Interpret
typefields[1.11][comment]Album
typeCommentAlbums
clickAndWait//input[@value='Save']
verifyTextPresentTable has been created.
- - diff --git a/tests/5-foreign-key.html b/tests/5-foreign-key.html deleted file mode 100644 index 1108c057..00000000 --- a/tests/5-foreign-key.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - -Foreign key - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Foreign key
openadminer/?username=ODBC&db=adminer_test&table=albums
clickAndWaitlink=Add foreign key
selectAndWaittablelabel=interprets
selectsource[0]label=interpret
clickAndWait//input[@value='Save']
verifyTextPresentForeign key has been created.
- - diff --git a/tests/6-alter-table.html b/tests/6-alter-table.html deleted file mode 100644 index b842d837..00000000 --- a/tests/6-alter-table.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -Alter table - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Alter table
openadminer/?username=ODBC&db=adminer_test&table=interprets
clickAndWaitlink=Alter table
clickadd[2]
typefields[2.1][field]albums
selectfields[2.1][type]label=int
typefields[2.1][length]
clickname=defaults
typename=fields[2.1][default]0
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
- - diff --git a/tests/7-create-trigger.html b/tests/7-create-trigger.html deleted file mode 100644 index ae3fb3e6..00000000 --- a/tests/7-create-trigger.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - -Create trigger - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Create trigger
openadminer/?username=ODBC&db=adminer_test&trigger=albums
selectTiminglabel=AFTER
typeStatementUPDATE interprets SET albums = albums + 1 WHERE id = NEW.interpret
clickAndWait//input[@value='Save']
verifyTextPresentTrigger has been created.
- - diff --git a/tests/8-create-view.html b/tests/8-create-view.html deleted file mode 100644 index fad1cd73..00000000 --- a/tests/8-create-view.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - -Create view - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Create view
openadminer/?username=ODBC&db=adminer_test&view=
typeselectSELECT albums.id, albums.title, interprets.name
FROM albums
LEFT JOIN interprets ON albums.interpret = interprets.id
typenamealbums_interprets
clickAndWait//input[@value='Save']
verifyTextPresentView has been created.
- - diff --git a/tests/9-insert.html b/tests/9-insert.html deleted file mode 100644 index 674295aa..00000000 --- a/tests/9-insert.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - -Insert - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Insert
openadminer/?username=ODBC&db=adminer_test&edit=interprets
typefields[name]Michael Jackson
clickAndWait//input[@value='Save']
verifyTextPresentItem 1 has been inserted.
openadminer/?username=ODBC&db=adminer_test&edit=albums
typefields[interpret]1
typefields[title]Dangerous
clickAndWait//input[@value='Save']
verifyTextPresentItem 1 has been inserted.
- - diff --git a/tests/iexplore.bat b/tests/iexplore.bat deleted file mode 100644 index 99e51d8a..00000000 --- a/tests/iexplore.bat +++ /dev/null @@ -1 +0,0 @@ -java -jar "C:\Program Files\Selenium\selenium-server.jar" -htmlSuite "*iexplore" http://localhost/adminer/ "%CD%\selenium.html" results.html \ No newline at end of file diff --git a/tests/katalon.html b/tests/katalon.html new file mode 100644 index 00000000..61c9547f --- /dev/null +++ b/tests/katalon.html @@ -0,0 +1,1331 @@ + + + + + + katalon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Login
open/coverage.php?coverage=0
open/adminer/?username=ODBC
selectname=langlabel=English
clickAndWaitcss=#lang > input[type="submit"]
verifyTextPresentLogged as
clickAndWaitlink=SQL command
typequeryDROP DATABASE IF EXISTS adminer_test
clickAndWait//input[@value='Execute']
verifyTextPresentQuery executed OK
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create database
open/adminer/?username=ODBC
clickAndWaitlink=Create database
typenameadminer_test
selectcollationlabel=utf8_general_ci
clickAndWait//input[@value='Save']
verifyTextPresentDatabase has been created.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create table
open/adminer/?username=ODBC&db=adminer_test
clickAndWaitlink=Create table
typenameinterprets
selectEnginelabel=InnoDB
typefields[1][field]id
selectfields[1][type]label=int
click//input[@name='auto_increment_col' and @value='1']
typefields[1.1][field]name
selectfields[1.1][type]label=varchar
typefields[1.1][length]50
clickname=comments
typefields[1.1][comment]Interpret
typeCommentInterprets
clickAndWait//input[@value='Save']
verifyTextPresentTable has been created.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create index
open/adminer/?username=ODBC&db=adminer_test&table=interprets
clickAndWaitlink=Alter indexes
selectindexes[2][type]label=PRIMARY
selectindexes[2][columns][1]label=name
verifyValuename=indexes[2][name]name
clickAndWait//input[@value='Save']
verifyTextPresentMultiple primary key defined
selectindexes[2][type]label=INDEX
clickAndWait//input[@value='Save']
verifyTextPresentIndexes have been altered.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Partitioning
open/adminer/?username=ODBC&db=adminer_test&table=interprets
clickAndWaitlink=Alter table
selectpartition_bylabel=HASH
clicklink=Partition by
typepartitionid
typepartitions2
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
clickAndWaitlink=Alter table
selectpartition_bylabel=RANGE
typepartition_values[]10
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
clickAndWaitlink=Alter table
selectpartition_bylabel=
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create table 2
open/adminer/?username=ODBC&db=adminer_test&table=interprets&lang=en
clickAndWaitlink=Create table
typenamealbums
typefields[1][field]id
selectfields[1][type]label=int
click//input[@name='auto_increment_col' and @value='1']
typefields[1.1][field]interpret
selectfields[1.1][type]label=int
typefields[1.11][field]title
selectfields[1.11][type]label=varchar
typefields[1.11][length]50
clickname=comments
typefields[1.1][comment]Interpret
typefields[1.11][comment]Album
typeCommentAlbums
clickAndWait//input[@value='Save']
verifyTextPresentTable has been created.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Foreign key
open/adminer/?username=ODBC&db=adminer_test&table=albums
clickAndWaitlink=Add foreign key
selectAndWaittablelabel=interprets
selectsource[0]label=interpret
clickAndWait//input[@value='Save']
verifyTextPresentForeign key has been created.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Alter table
open/adminer/?username=ODBC&db=adminer_test&table=interprets
clickAndWaitlink=Alter table
clickadd[2]
typefields[2.1][field]albums
selectfields[2.1][type]label=int
typefields[2.1][length]
clickname=defaults
typename=fields[2.1][default]0
clickAndWait//input[@value='Save']
verifyTextPresentTable has been altered.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create trigger
open/adminer/?username=ODBC&db=adminer_test&trigger=albums
selectTiminglabel=AFTER
typeStatementUPDATE interprets SET albums = albums + 1 WHERE id = NEW.interpret
clickAndWait//input[@value='Save']
verifyTextPresentTrigger has been created.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Create view
open/adminer/?username=ODBC&db=adminer_test&view=
typeselectSELECT albums.id, albums.title, interprets.name +FROM albums +LEFT JOIN interprets ON albums.interpret = interprets.id
typenamealbums_interprets
clickAndWait//input[@value='Save']
verifyTextPresentView has been created.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Insert
open/adminer/?username=ODBC&db=adminer_test&edit=interprets
typefields[name]Michael Jackson
clickAndWait//input[@value='Save']
verifyTextPresentItem 1 has been inserted.
open/adminer/?username=ODBC&db=adminer_test&edit=albums
typefields[interpret]1
typefields[title]Dangerous
clickAndWait//input[@value='Save']
verifyTextPresentItem 1 has been inserted.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Clone
open/adminer/?username=ODBC&db=adminer_test&select=albums
clickcheck[]
clickAndWaitclone
typefields[title]Black and White
clickAndWait//input[@value='Save']
verifyTextPresentItem 2 has been inserted.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Explain
open/adminer/?username=ODBC&db=adminer_test&select=albums
clickAndWaitlink=Edit
clickAndWait//input[@value='Execute']
clicklink=Explain
verifyTextPresentpossible_keys
+ + + + + + + + + + + + + + + + + + + + +
Reference
open/adminer/?username=ODBC&db=adminer_test&select=albums
clickAndWaitlink=1
verifyTextPresentMichael Jackson
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Update
open/adminer/?username=ODBC&db=adminer_test&edit=albums&where%5Bid%5D=2
typefields[title]Black or White
clickAndWait//input[@value='Save']
verifyTextPresentItem has been updated.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Delete
open/adminer/?username=ODBC&db=adminer_test&select=albums
click//input[@name='check[]' and @value='where%5Bid%5D=2']
waitForChecked//input[@name='check[]' and @value='where%5Bid%5D=2']
chooseOkOnNextConfirmationAre you sure?
clickdelete
verifyTextPresent1 item has been affected.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Truncate
open/adminer/?username=ODBC&db=adminer_test&select=albums
clickall
waitForCheckedall
chooseOkOnNextConfirmationAre you sure?
clickdelete
verifyTextPresentNo rows.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Privileges
open/adminer/?username=ODBC&user=
typeuseradminer_test
typeobjects[0]adminer_test.*
clickgrants[0][ALTER]
clickgrants[0][CREATE]
click//input[@name='grants[0][CREATE VIEW]']
clickgrants[0][DELETE]
clickgrants[0][DROP]
clickgrants[0][INDEX]
clickgrants[0][INSERT]
clickgrants[0][REFERENCES]
clickgrants[0][SELECT]
click//input[@name='grants[0][SHOW VIEW]']
clickgrants[0][UPDATE]
click//input[@name='grants[0][CREATE TEMPORARY TABLES]']
click//input[@name='grants[0][LOCK TABLES]']
click//input[@name='grants[0][CREATE ROUTINE]']
clickAndWait//input[@value='Save']
verifyTextPresentUser has been created.
clickAndWait//div[@id='content']/form/table/tbody/tr[td[1]='adminer_test']/td[3]/a
chooseOkOnNextConfirmationDrop adminer_test@localhost?
clickdrop
verifyTextPresentUser has been dropped.
+ + + + + + + + + + + + + + + +
Process list
open/adminer/?username=ODBC&processlist=
verifyTextPresentSHOW FULL PROCESSLIST
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Export
open/adminer/?username=ODBC&db=adminer_test&dump=
clickoutput
clickformat
selecttable_stylelabel=DROP+CREATE
selectdata_stylelabel=INSERT
clickAndWait//input[@value='Export']
verifyTextPresentCREATE TABLE `interprets`
verifyTextPresentCREATE TRIGGER `albums_ai`
verifyTextPresentINSERT INTO `interprets`
verifyTextPresentVIEW `albums_interprets`
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Events
open/adminer/?username=ODBC&db=adminer_test&event=
typeEVENT_NAMEno_albums
selectINTERVAL_FIELDlabel=DAY
typeINTERVAL_VALUE1
clickON_COMPLETION
typeEVENT_DEFINITIONDELETE FROM albums WHERE interprets = 0
clickAndWait//input[@value='Save']
verifyTextPresentEvent has been created.
clickAndWaitlink=Alter
chooseOkOnNextConfirmationDrop no_albums?
clickdrop
verifyTextPresentEvent has been dropped.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Procedures
open/adminer/?username=ODBC&db=adminer_test&procedure=
clickAndWaitadd[0]
typefields[1][field]interpret_name
selectfields[1][type]label=varchar
typefields[1][length]50
typefields[1.1][field]album_title
selectfields[1.1][type]label=varchar
typefields[1.1][length]50
typedefinitionBEGIN +SELECT id INTO @interpret FROM interprets WHERE name = interpret_name; +IF @interpret IS NULL THEN + INSERT INTO interprets (name) VALUES (interpret_name); + SET @interpret = LAST_INSERT_ID(); +END IF; +INSERT INTO albums (interpret, title) VALUES (@interpret, album_title); +END
typenameinsert_album
clickAndWait//input[@value='Save']
verifyTextPresentRoutine has been created.
clickAndWaitlink=insert_album
typefields[interpret_name]Michael Jackson
typefields[album_title]Dangerous
clickAndWait//input[@value='Call']
assertTextPresentRoutine has been called, 1 row affected.
clickAndWaitlink=adminer_test
clickAndWaitlink=Alter
chooseOkOnNextConfirmationDrop insert_album?
clickdrop
verifyTextPresentRoutine has been dropped.
+ + + + + + + + + + + + + + + +
Variables
open/adminer/?username=ODBC&variables=
verifyTextPresentbasedir
+ + + + + + + + + + + + + + + +
History
open/adminer/?username=ODBC&sql=
verifyTextPresentDROP DATABASE IF EXISTS adminer_test
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Editor
open/editor/example.php?username=admin
selectname=langlabel=English
clickAndWaitcss=#lang > input[type="submit"]
clickAndWaitlink=Interprets
clickAndWaitlink=New item
typefields[name]Michael Jackson
clickAndWait//input[@value='Save']
clickAndWait//div[@id='content']/form[2]/table/tbody/tr[1]/td[3]/a
clickAndWaitlink=New item
typefields[title]Dangerous
clickAndWait//input[@value='Save']
verifyTextPresentItem 4 has been inserted.
clickAndWaitlogout
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Logout
open/adminer/?username=ODBC
clickAndWaitlogout
verifyTextPresentLogout successful.
selectAndWait//select[@name='lang']label=Čeština
verifyTextPresentPřihlásit se
open/coverage.php
+ + \ No newline at end of file diff --git a/tests/logout.html b/tests/logout.html deleted file mode 100644 index e4623742..00000000 --- a/tests/logout.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -Logout - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Logout
openadminer/?username=ODBC
clickAndWaitlogout
verifyTextPresentLogout successful.
selectAndWait//select[@name='lang']label=Čeština
verifyTextPresentPřihlásit se
opencoverage.php
- - diff --git a/tests/selenium.html b/tests/selenium.html deleted file mode 100644 index 7f625cd3..00000000 --- a/tests/selenium.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - Test Suite - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Test Suite
Login
Create database
Create table
Create index
Create table 2
Partitioning
Foreign key
Alter table
Create trigger
Create view
Insert
Clone
Explain
Reference
Update
Delete
Truncate
Privileges
Process list
Export
Events
Procedures
Variables
History
Editor
Logout
- -