From 212f76823f93adc87b25ce1b7e444af2585aa97c Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 7 Feb 2017 14:45:13 +0000 Subject: - Update qa/t/test_create_user_accounts.t for Bug 1321592 - Update Bugzilla Etiquette and add Abuse Policy --- qa/t/test_create_user_accounts.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qa') diff --git a/qa/t/test_create_user_accounts.t b/qa/t/test_create_user_accounts.t index 050191a19..be813c844 100644 --- a/qa/t/test_create_user_accounts.t +++ b/qa/t/test_create_user_accounts.t @@ -30,6 +30,7 @@ $sel->click_ok("link=Open a 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); +$sel->check_ok("etiquette", "Agree to abide by code of conduct"); $sel->click_ok('//input[@value="Create Account"]'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Request for new user account '$valid_account' submitted"); @@ -44,6 +45,7 @@ $sel->click_ok("link=Open a 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); +$sel->check_ok("etiquette", "Agree to abide by code of conduct"); $sel->click_ok('//input[@value="Create Account"]'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Too Soon For New Token"); @@ -57,6 +59,7 @@ foreach my $account (@accounts) { $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create a new Bugzilla account"); $sel->type_ok("login", $account); + $sel->check_ok("etiquette", "Agree to abide by code of conduct"); $sel->click_ok('//input[@value="Create Account"]'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Account Creation Restricted"); @@ -78,6 +81,7 @@ foreach my $account (@accounts) { $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create a new Bugzilla account"); $sel->type_ok("login", $account); + $sel->check_ok("etiquette", "Agree to abide by code of conduct"); $sel->click_ok('//input[@value="Create Account"]'); ok($sel->get_alert() =~ /The e-mail address doesn't pass our syntax checking for a legal email address/, 'Invalid email address detected'); @@ -92,6 +96,7 @@ foreach my $account (@accounts) { $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Create a new Bugzilla account"); $sel->type_ok("login", $account); + $sel->check_ok("etiquette", "Agree to abide by code of conduct"); $sel->click_ok('//input[@value="Create Account"]'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Invalid Email Address"); @@ -104,6 +109,7 @@ $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", $config->{admin_user_login}); +$sel->check_ok("etiquette", "Agree to abide by code of conduct"); $sel->click_ok('//input[@value="Create Account"]'); $sel->wait_for_page_to_load_ok(WAIT_TIME); $sel->title_is("Account Already Exists"); -- cgit v1.2.3-24-g4f1b