From b5b8f96bac25b98d924f17c8e191a921850bff5b Mon Sep 17 00:00:00 2001 From: Daniel Maldonado Date: Tue, 3 Jul 2012 10:33:02 -0400 Subject: [PATCH] Adding frameless tests to get around WebGUI/Selenium frame issue (may be a temporary solution) --- selenium/.DS_Store | Bin 6148 -> 0 bytes selenium/frameless/activeSessions.html | 27 +++++++++++++++ selenium/frameless/addons.html | 37 ++++++++++++++++++++ selenium/frameless/advertising.html | 27 +++++++++++++++ selenium/frameless/assetHistory.html | 27 +++++++++++++++ selenium/frameless/cache.html | 32 +++++++++++++++++ selenium/frameless/clipboard.html | 42 +++++++++++++++++++++++ selenium/frameless/showAdminConsole.html | 26 ++++++++++++++ selenium/frameless/suite.html | 25 ++++++++++++++ 9 files changed, 243 insertions(+) delete mode 100644 selenium/.DS_Store create mode 100644 selenium/frameless/activeSessions.html create mode 100644 selenium/frameless/addons.html create mode 100644 selenium/frameless/advertising.html create mode 100644 selenium/frameless/assetHistory.html create mode 100644 selenium/frameless/cache.html create mode 100644 selenium/frameless/clipboard.html create mode 100644 selenium/frameless/showAdminConsole.html create mode 100644 selenium/frameless/suite.html diff --git a/selenium/.DS_Store b/selenium/.DS_Store deleted file mode 100644 index b37d64588abaf6a91bd5f5f61762700422f31030..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%SyvQ6g^Xm6bo8WPb@B{phdhVS; z(loObk-6p0Ni#Y3&YXEA08D!_*acbu8g#+>5{n9xdht1{xjQRFqcL7EM34T=U$CG+ zP~fjCAZvFG*SNtL35x4CL5306@eb}-_ki>$&2IW>)+a-@iv#*L-Atz}ffYs>@VSJn z9wx*wcLE>#gN*H|nzC2PmR(~=)*;Ijk1U`3`OR4=!ZQ1iGV3GyZ22|017CLYS>i5{ znc-I3?rCxDvczdRPR72DeVJ-sCDuCC8R8ZDs;($BBD<}7^PaZ3$`cGxg#j2mnWW#f@u^+VG(EOVhn#i6I%>rP#`EUtH6T&+miFY>;L|rC53-MfuO*@Qoz(Zy-u55a%byY=j5!7 s=vQ + + + + + +Active Sessions + + + + + + + + + + + + + + + + + +
Active Sessions
open/?op=viewActiveSessions
assertElementPresentcss=img[alt="Delete"]
+ + diff --git a/selenium/frameless/addons.html b/selenium/frameless/addons.html new file mode 100644 index 000000000..219b3f938 --- /dev/null +++ b/selenium/frameless/addons.html @@ -0,0 +1,37 @@ + + + + + + +Addons + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Addons
clicklink=Show admin console.
clickAndWaitcss=img[alt="Addons"]
assertLocationhttp://www.webgui.org/addons
open/
+ + diff --git a/selenium/frameless/advertising.html b/selenium/frameless/advertising.html new file mode 100644 index 000000000..ced1fc0d7 --- /dev/null +++ b/selenium/frameless/advertising.html @@ -0,0 +1,27 @@ + + + + + + +Advertising + + + + + + + + + + + + + + + + + +
Advertising
clickAndWaitcss=img[alt="Advertising"]
assertTextid=application_titleAdvertising
+ + diff --git a/selenium/frameless/assetHistory.html b/selenium/frameless/assetHistory.html new file mode 100644 index 000000000..1429e3cec --- /dev/null +++ b/selenium/frameless/assetHistory.html @@ -0,0 +1,27 @@ + + + + + + +Asset History + + + + + + + + + + + + + + + + + +
Asset History
clickAndWaitcss=img[alt="Asset History"]
assertTextid=application_titleAsset History
+ + diff --git a/selenium/frameless/cache.html b/selenium/frameless/cache.html new file mode 100644 index 000000000..331eda879 --- /dev/null +++ b/selenium/frameless/cache.html @@ -0,0 +1,32 @@ + + + + + + +Cache + + + + + + + + + + + + + + + + + + + + + + +
Cache
clickAndWaitcss=img[alt="Cache"]
assertTextid=application_titleCache
clickAndWaitcss=input[type="button"]
+ + diff --git a/selenium/frameless/clipboard.html b/selenium/frameless/clipboard.html new file mode 100644 index 000000000..9cd955e55 --- /dev/null +++ b/selenium/frameless/clipboard.html @@ -0,0 +1,42 @@ + + + + + + +Clipboard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Clipboard
open/?op=viewActiveSessions#
clickAndWaitcss=img[alt="Clipboard"]
assertTextid=application_titleClipboard
assertElementPresent//input[@value='Restore']
assertElementPresent//input[@value='Delete']
+ + diff --git a/selenium/frameless/showAdminConsole.html b/selenium/frameless/showAdminConsole.html new file mode 100644 index 000000000..3e926fd0c --- /dev/null +++ b/selenium/frameless/showAdminConsole.html @@ -0,0 +1,26 @@ + + + + + + +showAdminConsole + + + + + + + + + + + + + + + + +
showAdminConsole
open/?op=viewActiveSessions
clicklink=Show admin console.
+ + diff --git a/selenium/frameless/suite.html b/selenium/frameless/suite.html new file mode 100644 index 000000000..b7555dc7f --- /dev/null +++ b/selenium/frameless/suite.html @@ -0,0 +1,25 @@ + + + + + + Test Suite + + + + + + + + + + + + + + + + +
Test Suite
Active Sessions
showAdminConsole
Addons
showAdminConsole
Advertising
showAdminConsole
Asset History
showAdminConsole
Cache
showAdminConsole
Clipboard
showAdminConsole
+ +