Automatisierte Syntaxtests, Framework für spätere Modultests.
[kivitendo-erp.git] / t / old / selenium / testscripts / system / begin / S002CreatePriceBrackets.t
1 if(!defined $sel) {
2   require "t/selenium/AllTests.t";
3   init_server("singlefileonly",$0);
4   exit(0);
5 }
6 diag("Create price brackets");
7 SKIP: {
8   start_login();
9   
10   $sel->click_ok("link=Preisgruppe erfassen");
11   $sel->wait_for_page_to_load($lxtest->{timeout});
12   
13   $sel->select_frame_ok("main_window");
14   $sel->type_ok("pricegroup", "SeleniumTestPreisgruppe1");
15   $sel->click_ok("action","value=Speichern");
16   $sel->wait_for_page_to_load_ok($lxtest->{timeout});
17   $sel->type_ok("pricegroup", "SeleniumTestPreisgruppe2");
18   $sel->click_ok("action","value=Speichern");
19   $sel->wait_for_page_to_load_ok($lxtest->{timeout});
20 };
21 1;