X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/34211d2356367e21aa8f624caa7b17ee4b8ec4ac..1d91e75c53e7da5bf2c1b334f5aeecf241dc5ec4:/t/old/selenium/testscripts/system/begin/S005AddPaymentConditions.t diff --git a/t/old/selenium/testscripts/system/begin/S005AddPaymentConditions.t b/t/old/selenium/testscripts/system/begin/S005AddPaymentConditions.t new file mode 100644 index 000000000..7f20e4b41 --- /dev/null +++ b/t/old/selenium/testscripts/system/begin/S005AddPaymentConditions.t @@ -0,0 +1,22 @@ +if(!defined $sel) { + require "t/selenium/AllTests.t"; + init_server("singlefileonly",$0); + exit(0); +} +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