X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/9b057fb953934c00c255acc2aaf2f1254beb6860..ce2e13e64bf9de995020cf18fd7ef36f199f018d:/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t?ds=sidebyside diff --git a/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t b/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t index 7bf3506f0..7f20e4b41 100644 --- a/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t +++ b/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t @@ -1,18 +1,22 @@ -diag("Add payment conditions"); - -if(!$sel->get_title("Lx-Office Version 2.4.3 - Selenium - " . $lxtest->{db})){ - require_ok("../../begin/B004Login.t"); +if(!defined $sel) { + require "t/selenium/AllTests.t"; + init_server("singlefileonly",$0); + exit(0); } - -$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}); +diag("Add payment conditions"); +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