From 37bac7ea1661464624b21f24940cbad625ef056b Mon Sep 17 00:00:00 2001 From: Fateh Sandhu Date: Mon, 1 Jan 2018 19:37:23 -0500 Subject: Bug 1426507 - Upgrade BMO to HTML5 --- qa/t/test_bmo_enter_new_bug.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qa/t') diff --git a/qa/t/test_bmo_enter_new_bug.t b/qa/t/test_bmo_enter_new_bug.t index 375a59fcb..5f015ab64 100644 --- a/qa/t/test_bmo_enter_new_bug.t +++ b/qa/t/test_bmo_enter_new_bug.t @@ -289,7 +289,7 @@ sub _check_component { $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Edit components for which product?"); - $sel->click_ok("//div[\@id='bugzilla-body']//a[normalize-space(text())='$product']"); + $sel->click_ok("//*[\@id='bugzilla-body']//a[normalize-space(text())='$product']"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Select component of product '$product'"); @@ -311,7 +311,7 @@ sub _check_component { $sel->click_ok("link=components"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Edit components for which product?"); - $sel->click_ok("//div[\@id='bugzilla-body']//a[normalize-space(text())='$product']"); + $sel->click_ok("//*[\@id='bugzilla-body']//a[normalize-space(text())='$product']"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Select component of product '$product'"); $sel->click_ok("link=Add"); @@ -372,7 +372,7 @@ sub _check_version { $sel->click_ok("link=versions"); $sel->wait_for_page_to_load(WAIT_TIME); $sel->title_is("Edit versions for which product?"); - $sel->click_ok("//div[\@id='bugzilla-body']//a[normalize-space(text())='$product']"); + $sel->click_ok("//*[\@id='bugzilla-body']//a[normalize-space(text())='$product']"); $sel->wait_for_page_to_load(WAIT_TIME); my $text = trim($sel->get_text("bugzilla-body")); -- cgit v1.2.3-24-g4f1b