Angepasst an Einzelfalltests und einfügen von TODO Blocks, damit bei der nächsten...
[kivitendo-erp.git] / t / selenium / testscripts / system / end / S994DeleteAccount.t
1 if(!defined $sel) {
2   require "t/selenium/AllTests.t";
3   init_server("singlefileonly",$0);
4   exit(0);
5 }
6 diag("Delete Account");
7
8 $sel->select_frame_ok("relative=up");
9 $sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db});
10 $sel->click_ok("link=Konten anzeigen");
11 $sel->wait_for_page_to_load($lxtest->{timeout});
12 $sel->select_frame_ok("main_window");
13 $sel->click_ok("link=000000000001");
14 $sel->wait_for_page_to_load_ok("30000");
15 $sel->click_ok("document.EditAccount.action[1]");
16 $sel->wait_for_page_to_load_ok("30000");
17 isnt($sel->is_element_present("link=000000000001"),1,"Tests whether link for created acc is present");
18 isnt($sel->is_text_present("TestSeleniumKonto"),1,"Tests wheter text of created acc is present");
19 1;