From cc542982f13b1a4dcb6fe4fe6ae997e14049f8e5 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 12 Mar 2010 17:19:35 +0100 Subject: [PATCH] regress: update bweb test --- regress/tests/bweb-test.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/regress/tests/bweb-test.pl b/regress/tests/bweb-test.pl index 1ad4f11cd9..d34399f6f1 100755 --- a/regress/tests/bweb-test.pl +++ b/regress/tests/bweb-test.pl @@ -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"); } -- 2.39.5