summaryrefslogtreecommitdiffstats
path: root/qa/t/test_enter_new_bug.t
diff options
context:
space:
mode:
Diffstat (limited to 'qa/t/test_enter_new_bug.t')
-rw-r--r--qa/t/test_enter_new_bug.t22
1 files changed, 12 insertions, 10 deletions
diff --git a/qa/t/test_enter_new_bug.t b/qa/t/test_enter_new_bug.t
index ae527b32a..0c67f65c9 100644
--- a/qa/t/test_enter_new_bug.t
+++ b/qa/t/test_enter_new_bug.t
@@ -22,14 +22,16 @@ my ($sel, $config) = get_selenium();
# one could not be improved a bit.
foreach my $user (qw(admin unprivileged canconfirm)) {
- log_in($sel, $config, $user);
- file_bug_in_product($sel, "TestProduct");
- $sel->type_ok("short_desc", "Bug created by Selenium",
- "Enter bug summary");
- $sel->type_ok("comment", "--- Bug created by Selenium ---",
- "Enter bug description");
- $sel->click_ok("commit", undef, "Submit bug data to post_bug.cgi");
- $sel->wait_for_page_to_load_ok(WAIT_TIME);
- $sel->is_text_present_ok('has been added to the database', 'Bug created');
- logout($sel);
+ log_in($sel, $config, $user);
+ file_bug_in_product($sel, "TestProduct");
+ $sel->type_ok("short_desc", "Bug created by Selenium", "Enter bug summary");
+ $sel->type_ok(
+ "comment",
+ "--- Bug created by Selenium ---",
+ "Enter bug description"
+ );
+ $sel->click_ok("commit", undef, "Submit bug data to post_bug.cgi");
+ $sel->wait_for_page_to_load_ok(WAIT_TIME);
+ $sel->is_text_present_ok('has been added to the database', 'Bug created');
+ logout($sel);
}