Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294537 Details for
Bug 406321
3.22: security-response-team@redhat.com Cc for new security bugs.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
selenium test
addSecurityBug.t (text/plain), 4.41 KB, created by
Noura El hawary
on 2008-02-11 04:58:36 UTC
(
hide
)
Description:
selenium test
Filename:
MIME Type:
Creator:
Noura El hawary
Created:
2008-02-11 04:58:36 UTC
Size:
4.41 KB
patch
obsolete
>use strict; >use warnings; >use Time::HiRes qw(sleep); >use Test::WWW::Selenium; >use Test::More "no_plan"; >use Test::Exception; > >my $sel = Test::WWW::Selenium->new( host => "localhost", > browser => "*firefox", > browser_url => "http://localhost" ); > >$sel->open_ok("/rh_bugzilla_3/index.cgi"); >$sel->type_ok("Bugzilla_password", "password"); >$sel->type_ok("Bugzilla_login", "admin\@redhat.com"); >$sel->click_ok("log_in"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Administration"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Groups"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Add Group"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->type_ok("name", "security"); >$sel->type_ok("desc", "Security Sensitive Bug (Check if this needs to be kept confidential)"); >$sel->click_ok("insertnew"); >$sel->click_ok("create"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Administration"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Keywords"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Add a new keyword"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->type_ok("name", "Security"); >$sel->type_ok("description", "Bugs with the \\\"Security\\\" keyword are those that relate to a security vulnerability with a Red Hat product or service. For further information on how to report a security vulnerability to Red Hat please see the \\\"Security Contacts and Procedures\\\" page at http://www.redhat.com/security/team/contact/"); >$sel->click_ok("create"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Administration"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=Users"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=add a new user"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->type_ok("login", "security-response-team\@redhat.com"); >$sel->type_ok("name", "security-response-team"); >$sel->type_ok("password", "password"); >$sel->click_ok("add"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("group_14"); >$sel->click_ok("update"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("link=New"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->type_ok("short_desc", "this a test bug to test security bugs"); >$sel->click_ok("bit-14"); >$sel->click_ok("commit"); >$sel->wait_for_page_to_load_ok("30000"); >$sel->click_ok("cc_edit_area_showhide"); >$sel->add_selection_ok("cc", "label=security-response-team\@redhat.com"); >$sel->is_text_present_ok("security-response-team\@redhat.com"); >$sel->add_selection_ok("bug-keyword-list", "label=Security"); >$sel->is_text_present_ok("Security"); > >__END__ > >=head1 Test Name > >addSecurityBug - Test that If group security is selected when adding new bug, > then add security-response-team@redhat.com to the > cclist and only allow cc's in the groups assigned. > and add the Security keyword to the bug. > >=head1 Test Type > >Function Testing > >=head1 Test Objective > >When group security is selected when a new bug is created then 3 things >should happen: > >1- security-response-team@redhat.com is added to the cclist of the bug. >2- The cclist should only contain accounts that are members of the groups > selected when the bug was created. >3- Keyword Security is added to the bug's Keywords > >=head1 Technique > >=head2 Input > >security group, Security Keyword, user security-response-team@redhat.com, >and new bug created with security group selected. > >=head2 Processing > >1- Create security group. >2- Create Security keyword. >3- Create User security-response-team@redhat.com >4- Create new bug with Security Group Selected. > >=head2 Output > >New Security bug is created. > >=head1 Completion Criteria > >1- The cclist of the newly created bug has security-response-team@redhat.com user. >2- The cclist of the newly create bug has only users who are members of the groups > assigned to the bug. >3- Keywords of the bug contains the Security keyword. > >=head2 Warnings/Errors > >=head1 Special Considerations > >This test must run on a freshly installed bugzilla, right after checksetup.pl has run >and created the database tables and the initial data. > >Selenium server must be up and running. > >In Bugzilla/Bug.pm "line 366" where the checking of the group id happens please note that >for live bugzilla the security group will have the id "71" but in a freshly installed >bugzilla it will have the id of "14" > >=cut
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 406321
:
294536
| 294537 |
294615