src/cm/scripts/test-suite/tests/tests.js
changeset 617 73d293d9cf76
parent 613 a0b695aace0a
child 621 f60680601d52
equal deleted inserted replaced
616:03dc7baf73af 617:73d293d9cf76
   180 		}));
   180 		}));
   181 		test_default_tabs ();
   181 		test_default_tabs ();
   182 		test_count	('table.dash_table', 5);
   182 		test_count	('table.dash_table', 5);
   183 		test_text	('table.dash_table th:eq(0)', 'Actions');
   183 		test_text	('table.dash_table th:eq(0)', 'Actions');
   184 		test_match	('table.dash_table:eq(0) a:eq(0)[href="/create/content/"]', /\sCreate a text/);
   184 		test_match	('table.dash_table:eq(0) a:eq(0)[href="/create/content/"]', /\sCreate a text/);
   185 		test_text	('table.dash_table:eq(0) a:eq(1).tip[href="#"]', ' ');
   185 		test_text	('table.dash_table:eq(0) a:eq(1).tip[href="#"]', '\xa0');
   186 		test_match	('table.dash_table:eq(0) a:eq(2)[href="/create/upload/"]', /\sUpload a text/);
   186 		test_match	('table.dash_table:eq(0) a:eq(2)[href="/create/upload/"]', /\sUpload a text/);
   187 		test_text	('table.dash_table:eq(0) a:eq(3).tip[href="#"]', ' ');
   187 		test_text	('table.dash_table:eq(0) a:eq(3).tip[href="#"]', '\xa0');
   188 		test_match	('table.dash_table:eq(0) a:eq(4)[href="/create/import/"]', /\sImport a co-mented text/);
   188 		test_match	('table.dash_table:eq(0) a:eq(4)[href="/create/import/"]', /\sImport a co-mented text/);
   189 		test_text	('table.dash_table:eq(0) a:eq(5).tip[href="#"]', ' ');
   189 		test_text	('table.dash_table:eq(0) a:eq(5).tip[href="#"]', '\xa0');
   190 		test_match	('table.dash_table:eq(0) a:eq(6)[href="/user/add/"]', /\sInvite user/);
   190 		test_match	('table.dash_table:eq(0) a:eq(6)[href="/user/add/"]', /\sInvite user/);
   191 		test_match	('table.dash_table:eq(0) a:eq(7)[href="/profile/"]', /\sEdit your profile/);
   191 		test_match	('table.dash_table:eq(0) a:eq(7)[href="/profile/"]', /\sEdit your profile/);
   192 		test_match	('table.dash_table:eq(0) a:eq(8)[href="/text/"]', /\sView text list/);
   192 		test_match	('table.dash_table:eq(0) a:eq(8)[href="/text/"]', /\sView text list/);
   193 		test_match	('table.dash_table:eq(0) a:eq(9)[href="/settings/"]', /\sConfigure workspace/);
   193 		test_match	('table.dash_table:eq(0) a:eq(9)[href="/settings/"]', /\sConfigure workspace/);
   194 		test_text	('table.dash_table th:eq(1)', 'Recent texts (all)');
   194 		test_text	('table.dash_table th:eq(1)', 'Recent texts (all)');