-diag("Create price brackets");
-
-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=Preisgruppe erfassen");
-$sel->wait_for_page_to_load($lxtest->{timeout});
-
-$sel->select_frame_ok("main_window");
-$sel->type_ok("pricegroup", "SeleniumTestPreisgruppe1");
-$sel->click_ok("action","value=Speichern");
-$sel->wait_for_page_to_load_ok($lxtest->{timeout});
-$sel->type_ok("pricegroup", "SeleniumTestPreisgruppe2");
-$sel->click_ok("action","value=Speichern");
-$sel->wait_for_page_to_load_ok($lxtest->{timeout});
-
+diag("Create price brackets");
+SKIP: {
+ start_login();
+
+ $sel->click_ok("link=Preisgruppe erfassen");
+ $sel->wait_for_page_to_load($lxtest->{timeout});
+
+ $sel->select_frame_ok("main_window");
+ $sel->type_ok("pricegroup", "SeleniumTestPreisgruppe1");
+ $sel->click_ok("action","value=Speichern");
+ $sel->wait_for_page_to_load_ok($lxtest->{timeout});
+ $sel->type_ok("pricegroup", "SeleniumTestPreisgruppe2");
+ $sel->click_ok("action","value=Speichern");
+ $sel->wait_for_page_to_load_ok($lxtest->{timeout});
+};
+1;
\ No newline at end of file