Skip to content
Browse files

added install parameter

  • Loading branch information...
1 parent d0d5298 commit 92b7463a9db2fbf9bebaf18ad731e659983958b0 @dannymk dannymk committed with scrottie Jul 18, 2012
Showing with 52 additions and 4 deletions.
  1. +52 −4 selenium/test.pl
View
56 selenium/test.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-use Test::More tests => 159;
+use Test::More tests => 355;
use Test::WWW::Selenium;
use Test::WWW::Selenium::HTML;
use WebGUI::Paths -inc;
@@ -42,9 +42,17 @@
$selh->diag_body_text_on_failure(0);
#------------------------- Run All Tests here -----------------------
+if ( $ARGV[0] eq 'install' ){
+ ok(1, "Setup initial WebGUI test site.");
+ $selh->run(path => "webguiInitialSetup.html");
+
+}else{
+ ok(1, "Login test");
+ $selh->run(path => "login.html");
+
+}
+
# Test basic interface links
-ok(1, "Login test");
-$selh->run(path => "login.html");
ok(1, "Turn On Admin test");
$selh->run(path => "turnOnAdmin.html");
ok(1, "Admin Console tests");
@@ -68,7 +76,7 @@
ok(1, "New Content->Utilities tests");
$selh->run(path => "newContentUtilities.html");
-#
+# Frameless admin functions
ok(1, "FRAMELESS->Active Sessions");
$selh->run(path => "frameless/activeSessions.html");
ok(1, "FRAMELESS->Addons");
@@ -81,3 +89,43 @@
$selh->run(path => "frameless/cache.html");
ok(1, "FRAMELESS->Clipboard");
$selh->run(path => "frameless/clipboard.html");
+ok(1, "FRAMELESS->Content Filters");
+$selh->run(path => "frameless/contentFilters.html");
+ok(1, "FRAMELESS->Content Profiling");
+$selh->run(path => "frameless/contentProfiling.html");
+ok(1, "FRAMELESS->Databases");
+$selh->run(path => "frameless/databases.html");
+ok(1, "FRAMELESS->File Pump");
+$selh->run(path => "frameless/filePump.html");
+ok(1, "FRAMELESS->Graphics");
+$selh->run(path => "frameless/graphics.html");
+ok(1, "FRAMELESS->Groups");
+$selh->run(path => "frameless/groups.html");
+ok(1, "FRAMELESS->Inbox");
+$selh->run(path => "frameless/inbox.html");
+ok(1, "FRAMELESS->LDAP Connections");
+$selh->run(path => "frameless/ldapLinks.html");
+ok(1, "FRAMELESS->Login History");
+$selh->run(path => "frameless/loginHistory.html");
+ok(1, "FRAMELESS->Passive Analytics");
+$selh->run(path => "frameless/passiveAnalytics.html");
+ok(1, "FRAMELESS->Scheduler");
+$selh->run(path => "frameless/scheduler.html");
+ok(1, "FRAMELESS->Settings");
+$selh->run(path => "frameless/settings.html");
+ok(1, "FRAMELESS->Shop");
+$selh->run(path => "frameless/shop.html");
+ok(1, "FRAMELESS->Spectre");
+$selh->run(path => "frameless/spectre.html");
+ok(1, "FRAMELESS->Template Help");
+$selh->run(path => "frameless/templateHelp.html");
+ok(1, "FRAMELESS->Trash");
+$selh->run(path => "frameless/trash.html");
+ok(1, "FRAMELESS->User Profiling");
+$selh->run(path => "frameless/userProfiling.html");
+ok(1, "FRAMELESS->Users");
+$selh->run(path => "frameless/users.html");
+ok(1, "FRAMELESS->Version Tags");
+$selh->run(path => "frameless/versionTags.html");
+ok(1, "FRAMELESS->Workflow");
+$selh->run(path => "frameless/workflow.html");

0 comments on commit 92b7463

Please sign in to comment.
Something went wrong with that request. Please try again.