d3f41a0001f7667fe9f77d0866583034a1ce53dd
[kivitendo-erp.git] / t / selenium / testscripts / masterdata / end / M998DeleteProduct.t
1 if(!defined $sel) {
2   require "t/selenium/AllTests.t";
3   init_server("singlefileonly",$0);
4   exit(0);
5 }
6 diag("Delete product");
7 SKIP: {
8   start_login();
9   
10   $sel->click_ok("link=Waren");
11   $sel->wait_for_page_to_load_ok($lxtest->{timeout});
12   $sel->select_frame_ok("main_window");
13   $sel->click_ok("action");
14   $sel->wait_for_page_to_load_ok($lxtest->{timeout});
15   $sel->text_is("link=TestWare1", "TestWare1");
16   $sel->text_is("link=TestWareSelenium2", "TestWareSelenium2");
17   $sel->text_is("link=1", "1");
18   $sel->text_is("link=2", "2");
19   TODO: {
20     local $TODO = "Waren in Rechnungen können nicht gelöscht werden!";
21 #     $sel->click_ok("link=1");
22 #     $sel->wait_for_page_to_load_ok($lxtest->{timeout});
23 #     $sel->click_ok("document.ic.action[3]");
24 #     $sel->wait_for_page_to_load_ok($lxtest->{timeout});
25 #     $sel->click_ok("link=TestWareSelenium2");
26 #     $sel->wait_for_page_to_load_ok($lxtest->{timeout});
27 #     $sel->click_ok("document.ic.action[3]");
28 #     $sel->wait_for_page_to_load_ok($lxtest->{timeout});
29   }
30 };
31 1;