summaryrefslogtreecommitdiffstats
path: root/qa/t
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-09-09 17:44:47 +0200
committerByron Jones <glob@mozilla.com>2015-09-09 17:44:47 +0200
commit377b019b6e7822aa566b54def1f2b902a0b0e6db (patch)
treed6fcbf9167edfc66b902c74546126f8ee39db51b /qa/t
parent54b1008f41859c506a59f13925bdd9be26983619 (diff)
downloadbugzilla-377b019b6e7822aa566b54def1f2b902a0b0e6db.tar.gz
bugzilla-377b019b6e7822aa566b54def1f2b902a0b0e6db.tar.xz
Bug 1202461: further test script updates
Diffstat (limited to 'qa/t')
-rw-r--r--qa/t/test_create_user_accounts.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/qa/t/test_create_user_accounts.t b/qa/t/test_create_user_accounts.t
index e1da8bbec..92145f18c 100644
--- a/qa/t/test_create_user_accounts.t
+++ b/qa/t/test_create_user_accounts.t
@@ -71,8 +71,10 @@ foreach my $account (@accounts) {
$sel->title_is("Create a new Bugzilla account");
$sel->type_ok("login", $account);
$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');
+ $sel->wait_for_page_to_load_ok(WAIT_TIME);
+ $sel->title_is("Invalid Email Address");
+ my $error_msg = trim($sel->get_text("error_msg"));
+ ok($error_msg =~ /^The e-mail address you entered (\S+) didn't pass our syntax checking/, "Invalid email address detected");
}
# This account already exists.