From 5c240db09cef1095ed53855160e9f3928f652ace Mon Sep 17 00:00:00 2001 From: Daniel Maldonado Date: Fri, 6 Jul 2012 16:48:44 -0400 Subject: [PATCH] Added tests for content filters/profiling/database and filepump --- selenium/frameless/contentFilters.html | 60 +++++++++++++++++++++ selenium/frameless/contentProfiling.html | 67 ++++++++++++++++++++++++ selenium/frameless/databases.html | 67 ++++++++++++++++++++++++ selenium/frameless/filePump.html | 42 +++++++++++++++ 4 files changed, 236 insertions(+) create mode 100644 selenium/frameless/contentFilters.html create mode 100644 selenium/frameless/contentProfiling.html create mode 100644 selenium/frameless/databases.html create mode 100644 selenium/frameless/filePump.html diff --git a/selenium/frameless/contentFilters.html b/selenium/frameless/contentFilters.html new file mode 100644 index 000000000..cf3684411 --- /dev/null +++ b/selenium/frameless/contentFilters.html @@ -0,0 +1,60 @@ + + + + + + +New Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
New Test
open/?op=listReplacements
assertTextid=application_titleContent Filters
clickAndWaitlink=Add a content filter.
typeid=searchFor_formIdtestBadWord
typeid=replaceWith_formIdtestGoodWord
clickAndWaitxpath=(//input[@value='save'])[2]
verifyTextPresenttestBadWord
+ + diff --git a/selenium/frameless/contentProfiling.html b/selenium/frameless/contentProfiling.html new file mode 100644 index 000000000..e4edf87fc --- /dev/null +++ b/selenium/frameless/contentProfiling.html @@ -0,0 +1,67 @@ + + + + + + +Content Profiling + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Content Profiling
open/?func=manageMetaData
clickAndWaitlink=Add new metadata property
typeid=fieldName_formIdseleniumTestMetadata
typeid=description_formIdjust a test metadata value
addSelectionid=classes_formIdlabel=Article
clickAndWaitid=send_formId
verifyTextPresentseleniumTestMetadata
clickcss=img[alt="Delete"]
assertConfirmationAre you certain you want to delete this Metadata property ?
assertTextNotPresentseleniumTestMetadata
+ + diff --git a/selenium/frameless/databases.html b/selenium/frameless/databases.html new file mode 100644 index 000000000..66ed8b773 --- /dev/null +++ b/selenium/frameless/databases.html @@ -0,0 +1,67 @@ + + + + + + +Databases + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Databases
open/?op=listDatabaseLinks
clickAndWaitlink=Add a database link.
typeid=title_formIdtestDatabaseLink
typeid=DSN_formIddbi:mysql:webgui:localhost:3306
typeid=dbusername_formIdwww
typeid=dbidentifier_formId123qwe
clickAndWaitxpath=(//input[@value='save'])[2]
verifyTextPresenttestDatabaseLink
clickcss=img[alt="Delete"]
assertConfirmationAre you certain you wish to delete this database link?
+ + diff --git a/selenium/frameless/filePump.html b/selenium/frameless/filePump.html new file mode 100644 index 000000000..70c271716 --- /dev/null +++ b/selenium/frameless/filePump.html @@ -0,0 +1,42 @@ + + + + + + +File Pump + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File Pump
open/?op=filePump
clickAndWaitlink=Add a Bundle
clickAndWaitcss=input[type="submit"]
assertTextlink=New bundleNew bundle
clickAndWaitcss=img[alt="Delete"]
+ +