X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/004280c137305d00ede218b40930882f5b765886..ab12ee09c32ae03eaf902876b09dbfb296da62fc:/t/selenium/testscripts/masterdata/begin/M004AddService.t?ds=inline diff --git a/t/selenium/testscripts/masterdata/begin/M004AddService.t b/t/selenium/testscripts/masterdata/begin/M004AddService.t index 5dad1f6ae..5a0dd19fc 100644 --- a/t/selenium/testscripts/masterdata/begin/M004AddService.t +++ b/t/selenium/testscripts/masterdata/begin/M004AddService.t @@ -4,44 +4,41 @@ if(!defined $sel) { exit(0); } diag("Add service"); - -if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ - require_ok("../../begin/B004Login.t"); -} - -$sel->select_frame_ok("relative=up"); -$sel->title_is("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db}); -$sel->click_ok("link=Dienstleistung erfassen"); -$sel->wait_for_page_to_load_ok($lxtest->{timeout}); -$sel->select_frame_ok("main_window"); -$sel->type_ok("partnumber", "999"); -$sel->type_ok("description", "Programmierstunde"); -$sel->select_ok("partsgroup", "label=TestSeleniumWarengruppe3"); -$sel->select_ok("buchungsgruppen_id", "label=Standard 16%/19%"); -$sel->type_ok("notes", "Eine Programmierstunde wird immer besser bezahlt"); -$sel->type_ok("listprice", "50,00"); -$sel->type_ok("sellprice", "100"); -$sel->type_ok("lastcost", "45"); -$sel->select_ok("unit", "label=Std"); -$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); -$sel->type_ok("price_1", "100"); -$sel->click_ok("action"); -$sel->wait_for_page_to_load_ok($lxtest->{timeout}); -$sel->click_ok("document.ic.action[1]"); -$sel->wait_for_page_to_load_ok($lxtest->{timeout}); -$sel->type_ok("partnumber", "998"); -$sel->type_ok("description", "Telefonstunde"); -$sel->select_ok("partsgroup", "label=TestSeleniumWarengruppe3"); -$sel->select_ok("buchungsgruppen_id", "label=Standard 16%/19%"); -$sel->type_ok("notes", "gibt's beim Telekomunikator"); -$sel->type_ok("listprice", "0,05"); -$sel->type_ok("sellprice", "0,10"); -$sel->type_ok("lastcost", "0,02"); -$sel->select_ok("unit", "label=psch"); -$sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); -$sel->type_ok("price_1", "0,02"); -$sel->type_ok("price_2", "0,1"); -$sel->type_ok("price_1", "0,1"); -$sel->click_ok("document.ic.action[1]"); -$sel->wait_for_page_to_load_ok($lxtest->{timeout}); +SKIP: { + start_login(); + + $sel->click_ok("link=Dienstleistung erfassen"); + $sel->wait_for_page_to_load_ok($lxtest->{timeout}); + $sel->select_frame_ok("main_window"); + $sel->type_ok("partnumber", "999"); + $sel->type_ok("description", "Programmierstunde"); + $sel->select_ok("partsgroup", "label=TestSeleniumWarengruppe3"); + $sel->select_ok("buchungsgruppen_id", "label=Standard 16%/19%"); + $sel->type_ok("notes", "Eine Programmierstunde wird immer besser bezahlt"); + $sel->type_ok("listprice", "50,00"); + $sel->type_ok("sellprice", "100"); + $sel->type_ok("lastcost", "45"); + $sel->select_ok("unit", "label=Std"); + $sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); + $sel->type_ok("price_1", "100"); + $sel->click_ok("action"); + $sel->wait_for_page_to_load_ok($lxtest->{timeout}); + $sel->click_ok("document.ic.action[1]"); + $sel->wait_for_page_to_load_ok($lxtest->{timeout}); + $sel->type_ok("partnumber", "998"); + $sel->type_ok("description", "Telefonstunde"); + $sel->select_ok("partsgroup", "label=TestSeleniumWarengruppe3"); + $sel->select_ok("buchungsgruppen_id", "label=Standard 16%/19%"); + $sel->type_ok("notes", "gibt's beim Telekomunikator"); + $sel->type_ok("listprice", "0,05"); + $sel->type_ok("sellprice", "0,10"); + $sel->type_ok("lastcost", "0,02"); + $sel->select_ok("unit", "label=psch"); + $sel->select_ok("payment_id", "label=Schnellzahler/Skonto"); + $sel->type_ok("price_1", "0,02"); + $sel->type_ok("price_2", "0,1"); + $sel->type_ok("price_1", "0,1"); + $sel->click_ok("document.ic.action[1]"); + $sel->wait_for_page_to_load_ok($lxtest->{timeout}); +}; 1; \ No newline at end of file