diff options
Diffstat (limited to 'qa')
-rw-r--r-- | qa/t/test_create_user_accounts.t | 10 | ||||
-rw-r--r-- | qa/t/webservice_bug_get.t | 4 | ||||
-rw-r--r-- | qa/t/webservice_bug_update.t | 4 | ||||
-rw-r--r-- | qa/t/webservice_bug_update_see_also.t | 2 |
4 files changed, 10 insertions, 10 deletions
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")); diff --git a/qa/t/webservice_bug_get.t b/qa/t/webservice_bug_get.t index 91de410c1..cad5c3893 100644 --- a/qa/t/webservice_bug_get.t +++ b/qa/t/webservice_bug_get.t @@ -38,7 +38,7 @@ $xmlrpc->bz_call_success('Bug.update', { is_creator_accessible => 0, keywords => { set => ['test-keyword-1', 'test-keyword-2'] }, see_also => { add => ["${base_url}show_bug.cgi?id=$public_id", - "https://landfill.bugzilla.org/show_bug.cgi?id=123456"] }, + "https://bugzilla-dev.allizom.org/show_bug.cgi?id=123456"] }, cf_qa_status => ['in progress', 'verified'], cf_single_select => 'two', }, 'Update the private bug'); @@ -53,7 +53,7 @@ $private_bug->{is_creator_accessible} = 0; $private_bug->{is_cc_accessible} = 1; $private_bug->{keywords} = ['test-keyword-1', 'test-keyword-2']; $private_bug->{see_also} = ["${base_url}show_bug.cgi?id=$public_id", - "https://landfill.bugzilla.org/show_bug.cgi?id=123456"]; + "https://bugzilla-dev.allizom.org/show_bug.cgi?id=123456"]; $private_bug->{cf_qa_status} = ['in progress', 'verified']; $private_bug->{cf_single_select} = 'two'; diff --git a/qa/t/webservice_bug_update.t b/qa/t/webservice_bug_update.t index 4e3b9985b..95af809e0 100644 --- a/qa/t/webservice_bug_update.t +++ b/qa/t/webservice_bug_update.t @@ -222,7 +222,7 @@ sub valid_values { { value => { remove => [$bug_uri . $second_id] }, removed => $bug_uri . $second_id, added => '', test => 'remove local bug URI' }, - { value => { remove => ['http://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=1'] }, + { value => { remove => ['https://bugzilla-dev.allizom.org/show_bug.cgi?id=1'] }, no_changes => 1, test => 'removing non-existent URI works' }, { value => { add => [''] }, @@ -524,7 +524,7 @@ sub invalid_values { { value => { add => [random_string(20)] }, error => 'It does not seem like bug number nor an alias to a bug.', test => 'random string fails in see_also' }, - { value => { add => ['http://landfill.bugzilla.org/'] }, + { value => { add => ['https://bugzilla-dev.allizom.org/'] }, error => 'See Also URLs should point to one of', test => 'no show_bug.cgi in see_also URI' }, ], diff --git a/qa/t/webservice_bug_update_see_also.t b/qa/t/webservice_bug_update_see_also.t index 460cb13e1..0af0e78d5 100644 --- a/qa/t/webservice_bug_update_see_also.t +++ b/qa/t/webservice_bug_update_see_also.t @@ -17,7 +17,7 @@ use QA::Tests qw(PRIVATE_BUG_USER STANDARD_BUG_TESTS); use Test::More tests => 117; my ($config, $xmlrpc, $jsonrpc, $jsonrpc_get) = get_rpc_clients(); -my $bug_url = 'http://landfill.bugzilla.org/bugzilla-tip/show_bug.cgi?id=100'; +my $bug_url = 'https://bugzilla-dev.allizom.org/show_bug.cgi?id=100'; # update_see_also doesn't support logged-out users. my @tests = grep { $_->{user} } @{ STANDARD_BUG_TESTS() }; |