diff options
Diffstat (limited to 'qa/t/test_security.t')
-rw-r--r-- | qa/t/test_security.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/t/test_security.t b/qa/t/test_security.t index 757c33d06..97089cdac 100644 --- a/qa/t/test_security.t +++ b/qa/t/test_security.t @@ -24,8 +24,8 @@ file_bug_in_product($sel, "TestProduct"); my $bug_summary = "Security checks"; $sel->type_ok("short_desc", $bug_summary); $sel->type_ok("comment", "This bug will be used to test security fixes."); -$sel->attach_file("data", $config->{attachment_file}); -$sel->type_ok("description", "simple patch, v1"); +$sel->attach_file('//input[@name="data"]', $config->{attachment_file}); +$sel->type_ok('//input[@name="description"]', "simple patch, v1"); my $bug1_id = create_bug($sel, $bug_summary); |