Skip to content

Commit 92b7463

Browse files
dannymkscottwalters
authored andcommittedSep 20, 2012
added install parameter
1 parent d0d5298 commit 92b7463

File tree

1 file changed

+52
-4
lines changed

1 file changed

+52
-4
lines changed
 

‎selenium/test.pl

+52-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/perl
2-
use Test::More tests => 159;
2+
use Test::More tests => 355;
33
use Test::WWW::Selenium;
44
use Test::WWW::Selenium::HTML;
55
use WebGUI::Paths -inc;
@@ -42,9 +42,17 @@
4242
$selh->diag_body_text_on_failure(0);
4343

4444
#------------------------- Run All Tests here -----------------------
45+
if ( $ARGV[0] eq 'install' ){
46+
ok(1, "Setup initial WebGUI test site.");
47+
$selh->run(path => "webguiInitialSetup.html");
48+
49+
}else{
50+
ok(1, "Login test");
51+
$selh->run(path => "login.html");
52+
53+
}
54+
4555
# Test basic interface links
46-
ok(1, "Login test");
47-
$selh->run(path => "login.html");
4856
ok(1, "Turn On Admin test");
4957
$selh->run(path => "turnOnAdmin.html");
5058
ok(1, "Admin Console tests");
@@ -68,7 +76,7 @@
6876
ok(1, "New Content->Utilities tests");
6977
$selh->run(path => "newContentUtilities.html");
7078

71-
#
79+
# Frameless admin functions
7280
ok(1, "FRAMELESS->Active Sessions");
7381
$selh->run(path => "frameless/activeSessions.html");
7482
ok(1, "FRAMELESS->Addons");
@@ -81,3 +89,43 @@
8189
$selh->run(path => "frameless/cache.html");
8290
ok(1, "FRAMELESS->Clipboard");
8391
$selh->run(path => "frameless/clipboard.html");
92+
ok(1, "FRAMELESS->Content Filters");
93+
$selh->run(path => "frameless/contentFilters.html");
94+
ok(1, "FRAMELESS->Content Profiling");
95+
$selh->run(path => "frameless/contentProfiling.html");
96+
ok(1, "FRAMELESS->Databases");
97+
$selh->run(path => "frameless/databases.html");
98+
ok(1, "FRAMELESS->File Pump");
99+
$selh->run(path => "frameless/filePump.html");
100+
ok(1, "FRAMELESS->Graphics");
101+
$selh->run(path => "frameless/graphics.html");
102+
ok(1, "FRAMELESS->Groups");
103+
$selh->run(path => "frameless/groups.html");
104+
ok(1, "FRAMELESS->Inbox");
105+
$selh->run(path => "frameless/inbox.html");
106+
ok(1, "FRAMELESS->LDAP Connections");
107+
$selh->run(path => "frameless/ldapLinks.html");
108+
ok(1, "FRAMELESS->Login History");
109+
$selh->run(path => "frameless/loginHistory.html");
110+
ok(1, "FRAMELESS->Passive Analytics");
111+
$selh->run(path => "frameless/passiveAnalytics.html");
112+
ok(1, "FRAMELESS->Scheduler");
113+
$selh->run(path => "frameless/scheduler.html");
114+
ok(1, "FRAMELESS->Settings");
115+
$selh->run(path => "frameless/settings.html");
116+
ok(1, "FRAMELESS->Shop");
117+
$selh->run(path => "frameless/shop.html");
118+
ok(1, "FRAMELESS->Spectre");
119+
$selh->run(path => "frameless/spectre.html");
120+
ok(1, "FRAMELESS->Template Help");
121+
$selh->run(path => "frameless/templateHelp.html");
122+
ok(1, "FRAMELESS->Trash");
123+
$selh->run(path => "frameless/trash.html");
124+
ok(1, "FRAMELESS->User Profiling");
125+
$selh->run(path => "frameless/userProfiling.html");
126+
ok(1, "FRAMELESS->Users");
127+
$selh->run(path => "frameless/users.html");
128+
ok(1, "FRAMELESS->Version Tags");
129+
$selh->run(path => "frameless/versionTags.html");
130+
ok(1, "FRAMELESS->Workflow");
131+
$selh->run(path => "frameless/workflow.html");

0 commit comments

Comments
 (0)
Please sign in to comment.