test_group_set
open http://localhost
clickAndWait link=login
type p_un juliet
type p_pw j123uliet
clickAndWait action
clickAndWait link=Your groups
clickAndWait create_group
type group_name my_friends
type group_description all my friends
select join_policy label=Visible but new members need approval
clickAndWait create_button
clickAndWait link=logout
clickAndWait link=login here
type p_un romeo
type p_pw r123omeo
clickAndWait action
clickAndWait link=Your groups
clickAndWait join_group
type group_name my_friends
clickAndWait join_button
select document.forms[0].elements[4] label=my_friends
clickAndWait join_button
clickAndWait link=logout
clickAndWait link=login here
type p_un juliet
type p_pw j123uliet
clickAndWait action
clickAndWait link=Your groups
clickAndWait link=Your messages
clickAndWait link=Group my_friends: New membership request
clickAndWait link=accept or reject
select pending_member_id label=romeo
clickAndWait add_member
clickAndWait link=Your groups
clickAndWait //small
clickAndWait delete
clickAndWait delete
clickAndWait link=logout
clickAndWait link=login here
type p_un romeo
type p_pw r123omeo
clickAndWait action
clickAndWait link=Your messages
clickAndWait //input[@name='del_all' and @value='Delete All']
click //input[@value='Yes']
clickAndWait link=logout