X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/6c8a96c23a56f8db29948f265d895541369ac36b..b90f03e45d33ac76d0d5ec34132831bfbf55e15d:/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t diff --git a/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t b/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t index 0910598bd..7f20e4b41 100644 --- a/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t +++ b/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t @@ -1,14 +1,22 @@ +if(!defined $sel) { + require "t/selenium/AllTests.t"; + init_server("singlefileonly",$0); + exit(0); +} diag("Add payment conditions"); - -$sel->select_frame_ok("relative=up"); -$sel->click_ok("link=Zahlungskonditionen hinzufügen"); -$sel->wait_for_page_to_load($lxtest->{timeout}); -$sel->select_frame_ok("main_window"); -$sel->type_ok("description", "Schnellzahler/Skonto"); -$sel->type_ok("description_long", "Schnellzahler bekommen sofort ein Skonto von 3% gewährleistet"); -$sel->type_ok("description_long_" . $lxtest->{lang_id}, "This is a test in elbisch"); -$sel->type_ok("terms_netto", "100"); -$sel->type_ok("percent_skonto", "3"); -$sel->type_ok("terms_skonto", "97"); -$sel->click_ok("action"); -$sel->wait_for_page_to_load($lxtest->{timeout}); +SKIP: { + start_login(); + + $sel->click_ok("link=Zahlungskonditionen hinzufügen"); + $sel->wait_for_page_to_load($lxtest->{timeout}); + $sel->select_frame_ok("main_window"); + $sel->type_ok("description", "Schnellzahler/Skonto"); + $sel->type_ok("description_long", "Schnellzahler bekommen sofort ein Skonto von 3% gewährleistet"); + $sel->type_ok("description_long_" . $lxtest->{lang_id}, "This is a test in elbisch"); + $sel->type_ok("terms_netto", "100"); + $sel->type_ok("percent_skonto", "3"); + $sel->type_ok("terms_skonto", "97"); + $sel->click_ok("action"); + $sel->wait_for_page_to_load($lxtest->{timeout}); +}; +1; \ No newline at end of file