]> wagnertech.de Git - kivitendo-erp.git/blobdiff - t/selenium/testscripts/system/begin/S005AddPaymentConditions.t
Aufbau der "neuen" Testumgebung und Neustrukturierung der TestUnterverzeichnisse...
[kivitendo-erp.git] / 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 (file)
index 0000000..7bf3506
--- /dev/null
@@ -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});