7 use SGN::Test::WWW::WebDriver;
9 my $d = SGN::Test::WWW::WebDriver->new();
11 $d->while_logged_in_as("submitter", sub {
14 $d->get_ok("/about/index.pl", "get root url test");
17 my $out = $d->find_element_ok("lists_link", "name", "find lists_link")->click();
21 $d->find_element_ok("list_select_checkbox_808", "id", "checkbox select list")->click();
25 $d->find_element_ok("list_select_checkbox_810", "id", "checkbox select list")->click();
29 $d->find_element_ok("make_public_selected_list_group", "id", "make public selected list group")->click();
33 $d->accept_alert_ok();
37 $d->find_element_ok("view_public_lists_button", "id", "view public lists")->click();
41 $d->find_element_ok("view_public_list_johndoe_1_private", "id", "check view public lists");
45 $d->find_element_ok("close_public_list_item_dialog", "id", "close public lists")->click();
49 $d->find_element_ok("list_select_checkbox_808", "id", "checkbox select list")->click();
53 $d->find_element_ok("list_select_checkbox_810", "id", "checkbox select list")->click();
57 $d->find_element_ok("make_private_selected_list_group", "id", "make private selected list group")->click();
61 $d->accept_alert_ok();
65 $d->find_element_ok("list_select_checkbox_808", "id", "checkbox select list")->click();
69 $d->find_element_ok("list_select_checkbox_810", "id", "checkbox select list")->click();
73 $d->find_element_ok("new_combined_list_name", "id", "combine selected list group")->send_keys("combined_list");
75 $d->find_element_ok("combine_selected_list_group", "id", "combine selected list group")->click();
79 $d->accept_alert_ok();
83 $d->find_element_ok("view_list_combined_list", "id", "check view combined list");
87 $d->find_element_ok("list_select_checkbox_808", "id", "checkbox select list")->click();
91 $d->find_element_ok("list_select_checkbox_810", "id", "checkbox select list")->click();
95 $d->find_element_ok("delete_selected_list_group", "id", "delete selected list group")->click();
99 $d->accept_alert_ok();
104 $d->find_element_ok("close_list_dialog_button", "id", "find close dialog button")->click();