From 7e6845e954da409b07d9e8ccb8c1e1ea6df6cfde Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 1 Oct 2018 11:46:40 -0400 Subject: Bug 1418378 - Use Material Icons on Bugzilla home page instead of low-res images --- qa/t/test_create_user_accounts.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qa/t/test_create_user_accounts.t') diff --git a/qa/t/test_create_user_accounts.t b/qa/t/test_create_user_accounts.t index 99792367e..ba0f39671 100644 --- a/qa/t/test_create_user_accounts.t +++ b/qa/t/test_create_user_accounts.t @@ -25,8 +25,8 @@ logout($sel); # expires after 3 days only and this test can be executed several times per day. my $valid_account = 'selenium-' . random_string(10) . '@bugzilla.test'; -$sel->is_text_present_ok("Open a New Account"); -$sel->click_ok("link=Open a New Account"); +$sel->is_text_present_ok("New Account"); +$sel->click_ok("link=New Account"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create a new Bugzilla account"); $sel->type_ok("login", $valid_account); @@ -40,8 +40,8 @@ $sel->is_text_present_ok("A confirmation email has been sent"); $sel->click_ok('//*[@id="header-title"]//a'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Bugzilla Main Page"); -$sel->is_text_present_ok("Open a New Account"); -$sel->click_ok("link=Open a New Account"); +$sel->is_text_present_ok("New Account"); +$sel->click_ok("link=New Account"); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create a new Bugzilla account"); $sel->type_ok("login", $valid_account); @@ -128,7 +128,7 @@ $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->refresh; $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Bugzilla Main Page"); -ok(!$sel->is_text_present("Open a New Account"), "No link named 'Open a New Account'"); +ok(!$sel->is_text_present("New Account"), "No link named 'New Account'"); $sel->open_ok("/$config->{bugzilla_installation}/createaccount.cgi"); $sel->title_is("Account Creation Disabled"); $error_msg = trim($sel->get_text("error_msg")); -- cgit v1.2.3-24-g4f1b