aaf51d43916063392430190c1a7915776a3494a1
[kivitendo-erp.git] / t / demolx / testscripts / 002CreateTestUser.t
1
2 ### Create new user
3 diag("Create test user '$lxtest->{testuserlogin}'");
4 $sel->open_ok($lxtest->{lxadmin});
5 $sel->title_is("Lx-Office ERP Administration -");
6 $sel->click_ok("action");
7 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
8 $sel->title_is("Lx-Office ERP Administration / Benutzer erfassen -");
9 $sel->type_ok("login", $lxtest->{testuserlogin});
10 $sel->type_ok("password", $lxtest->{testuserpasswd});
11 $sel->type_ok("name", "Selenium");
12 $sel->type_ok("email", "selenium\@lx-office.org");
13 $sel->type_ok("signature", "Selenium Testuser");
14 $sel->type_ok("tel", "0000");
15 $sel->type_ok("fax", "1111");
16 $sel->type_ok("company", "Sel-enium");
17 $sel->type_ok("signature", "Selenium Testuser\nTestfirma");
18 $sel->type_ok("address", "Testfirma");
19 $sel->type_ok("steuernummer", "111-222-333-444");
20 $sel->type_ok("co_ustid", "1234567");
21 $sel->type_ok("duns", "0987654321");
22 $sel->click_ok("dbdriver");
23 $sel->type_ok("newtemplates", "seleniumtestuser");
24 $sel->click_ok("menustyle");
25 $sel->type_ok("Pg_dbhost", $lxtest->{dbhost});
26 $sel->type_ok("Pg_dbname", $lxtest->{db});
27 $sel->type_ok("Pg_dbport", $lxtest->{dbport});
28 $sel->type_ok("Pg_dbuser", $lxtest->{dbuser});
29 $sel->type_ok("Pg_dbpasswd", $lxtest->{dbpasswd});
30 $sel->click_ok("action");
31 $sel->wait_for_page_to_load_ok($lxtest->{timeout});
32 $sel->title_is("Lx-Office ERP Administration -");