|
1 | 1 | #!/usr/bin/perl
|
2 |
| -use Test::More tests => 159; |
| 2 | +use Test::More tests => 355; |
3 | 3 | use Test::WWW::Selenium;
|
4 | 4 | use Test::WWW::Selenium::HTML;
|
5 | 5 | use WebGUI::Paths -inc;
|
|
42 | 42 | $selh->diag_body_text_on_failure(0);
|
43 | 43 |
|
44 | 44 | #------------------------- 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 | + |
45 | 55 | # Test basic interface links
|
46 |
| -ok(1, "Login test"); |
47 |
| -$selh->run(path => "login.html"); |
48 | 56 | ok(1, "Turn On Admin test");
|
49 | 57 | $selh->run(path => "turnOnAdmin.html");
|
50 | 58 | ok(1, "Admin Console tests");
|
|
68 | 76 | ok(1, "New Content->Utilities tests");
|
69 | 77 | $selh->run(path => "newContentUtilities.html");
|
70 | 78 |
|
71 |
| -# |
| 79 | +# Frameless admin functions |
72 | 80 | ok(1, "FRAMELESS->Active Sessions");
|
73 | 81 | $selh->run(path => "frameless/activeSessions.html");
|
74 | 82 | ok(1, "FRAMELESS->Addons");
|
|
81 | 89 | $selh->run(path => "frameless/cache.html");
|
82 | 90 | ok(1, "FRAMELESS->Clipboard");
|
83 | 91 | $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