X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/111276a18a6edd391c7d653f77003fe24ae00d8f..9b057fb953934c00c255acc2aaf2f1254beb6860:/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 new file mode 100644 index 000000000..7bf3506f0 --- /dev/null +++ b/t/selenium/testscripts/system/begin/S005AddPaymentConditions.t @@ -0,0 +1,18 @@ +diag("Add payment conditions"); + +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->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});