From 05641ee8566b2c603593288f5ba505442e1b2310 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 21 Oct 2008 16:35:01 +0000 Subject: [PATCH] ebl update doc and add test for group stats git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7868 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/script/regress.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gui/bweb/script/regress.pl b/gui/bweb/script/regress.pl index 963f972294..1b9828da43 100755 --- a/gui/bweb/script/regress.pl +++ b/gui/bweb/script/regress.pl @@ -41,7 +41,8 @@ use strict; * add catalog = all, !skipped, !saved into Messages Standard (scripts/bacula-dir.conf) * add exit 0 to scripts/cleanup * run bacula-backup-test - * charger bweb-(mysql|postgresql).sql + * uncomment job schedule in bacula-dir.conf + * load bweb-(mysql|postgresql).sql * ./bin/bacula start * configure bweb to point to bconsole and the catalog @@ -272,6 +273,11 @@ ok($agent->follow_link(text_regex=>qr/Jobs overview/), "Go to Job overview"); ok($agent->success(), "Get it"); $c=$agent->content; like($c, qr/"$grp"/, "check if $grp is here"); +# get group stats +ok($agent->follow_link(url_regex=>qr/action=group_stats/), "Go to groups stats"); +ok($agent->success(), "Get it"); $c=$agent->content; +like($c, qr/"$grp"/, "check if $grp is here"); + # view next jobs ok($agent->follow_link(text_regex=>qr/Next Jobs/), "Go to Next jobs"); ok($agent->success(), "Get it"); $c=$agent->content; -- 2.39.5