]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: update bweb test
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 12 Mar 2010 16:19:35 +0000 (17:19 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:40 +0000 (16:49 +0200)
regress/tests/bweb-test.pl

index 1ad4f11cd9f354cdafd5b4d489ff318c99dc76c8..d34399f6f1358a9cc6f812cf9f67c6d5b909b912 100755 (executable)
@@ -234,7 +234,7 @@ if ($part{missingjob}) {
     $sel->click_ok("link=Missing Jobs");
     $sel->wait_for_page_to_load_ok("30000");
 
-    $sel->is_text_present_ok("backup");
+    $sel->is_text_present_ok("BackupClient1");
     $sel->is_text_present_ok("BackupCatalog");
     $sel->click_ok("job");
     $sel->click_ok("//input[\@name='job' and \@value='BackupCatalog']");
@@ -253,8 +253,8 @@ if ($part{run}) {
     $sel->click_ok("link=Defined Jobs");
     $sel->wait_for_page_to_load_ok("30000");
 
-    $sel->select_ok("job", "label=backup");
-    $sel->is_text_present_ok("backup");
+    $sel->select_ok("job", "label=BackupClient1");
+    $sel->is_text_present_ok("BackupClient1");
     $sel->click_ok("//button[\@name='action' and \@value='run_job_mod']");
     $sel->wait_for_page_to_load_ok("30000");
 
@@ -271,7 +271,7 @@ if ($part{run}) {
       }
     fail("timeout");
     }
-    $sel->is_text_present_ok("Log: backup on");
+    $sel->is_text_present_ok("Log: BackupClient1 on");
     $sel->click_ok("//button[\@name='action']");
     $sel->wait_for_page_to_load_ok("30000");
 
@@ -311,7 +311,7 @@ if ($part{run}) {
     $sel->is_element_present_ok("level");
     $sel->selected_value_is("name=level", "Full");
     $sel->selected_label_is("name=fileset", "Full Set");
-    $sel->selected_label_is("name=job", "backup");
+    $sel->selected_label_is("name=job", "BackupClient1");
     $sel->click_ok("//button[\@name='action' and \@value='fileset_view']");
     $sel->wait_for_page_to_load_ok("30000");
 
@@ -557,7 +557,7 @@ if ($part{overview}) {
     $sel->click_ok("link=$client");
     $sel->wait_for_page_to_load_ok("30000");
 
-    $sel->is_text_present_ok("backup");
+    $sel->is_text_present_ok("BackupClient1");
     $sel->is_text_present_ok("Full Set");
 }