test-suite/tests/013_comt-admin-user-list.js
changeset 650 2a07f8bda874
parent 649 fcf5309284df
equal deleted inserted replaced
649:fcf5309284df 650:2a07f8bda874
     1 
     1 
     2 suite ('comt logged admin user list', function () {
     2 suite ('comt logged admin user list', function () {
     3 
     3 
     4 	this.timeout(20000);
     4 	this.timeout(100000);
     5 
     5 
     6 	suite ('people list page conformity', function () {
     6 	suite ('people list page conformity', function () {
     7 		test_page_loading	('/user/', 'People\' list\n - '+C['#id_workspace_name']);
     7 		test_page_loading	('/user/', 'People\' list\n - '+C['#id_workspace_name']);
     8 		test_comt_logged_header (C.W.USER_ADMIN);
     8 		test_comt_logged_header (C.W.USER_ADMIN);
     9 		test_comt_default_tabs	(test_comt.text_nb, test_comt.user_nb);
     9 		test_comt_default_tabs	(test_comt.text_nb, test_comt.user_nb);
    87 	});
    87 	});
    88 
    88 
    89 	suite_check_user_nb (2);
    89 	suite_check_user_nb (2);
    90 
    90 
    91 	suite ('Add users in bulk', function () {
    91 	suite ('Add users in bulk', function () {
    92 		this.timeout(100000);
       
    93 		test_page_loading ('/user/mass-add/', 'Add users in bulk\n - '+C['#id_workspace_name']);
    92 		test_page_loading ('/user/mass-add/', 'Add users in bulk\n - '+C['#id_workspace_name']);
    94 	    test ('fill emails', dsl(function (){
    93 	    test ('fill emails', dsl(function (){
    95 	        elt ('#id_email').val ('uc2@t.co,uc3@t.co,uc4@t.co,uc5@t.co,uc6@t.co,uc7@t.co');
    94 	        elt ('#id_email').val ('uc2@t.co,uc3@t.co,uc4@t.co,uc5@t.co,uc6@t.co,uc7@t.co');
    96 	    }));
    95 	    }));
    97 		test_fill_field	('#id_tags', {'#id_tags': 'tag_ucs, other_tag' });
    96 		test_fill_field	('#id_tags', {'#id_tags': 'tag_ucs, other_tag' });