ListTests.js revision 89092dc10fe08b037266c0b4efb94b221f6fffb3
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
1879N/A executeAll: function () {
1879N/A QUnit.equal($('#gridToolbar', ApplicationsListView.$el).find('.btn:first-of-type').text().trim(),
1879N/A QUnit.equal($('#deleteRecords', ApplicationsListView.$el).length, 1, 'Delete Selected button is present');
1879N/A QUnit.equal($('#importPolicies', ApplicationsListView.$el).length, 1, 'Import Policies button is present');
1879N/A QUnit.equal($('#exportPolicies', ApplicationsListView.$el).length, 1, 'Export Policies button is present');
0N/A QUnit.ok($('#deleteRecords', ApplicationsListView.$el).hasClass('disabled'), 'Delete Selected button is disabled');
524N/A QUnit.ok($('#paginationContainer', ApplicationsListView.$el).html() !== '', 'Pagination is present');
0N/A QUnit.equal($('.page-header', PolicyListView.$el).find('.btn').length, 1, "Back button is available");
4012N/A QUnit.equal($('#deleteRecords', PolicyListView.$el).length, 1, 'Delete Selected button is present');
4012N/A QUnit.ok($('#deleteRecords', PolicyListView.$el).hasClass('disabled'), 'Delete Selected button is disabled');
4012N/A QUnit.ok($('#paginationContainer', PolicyListView.$el).html() !== '', 'Pagination is present');
0N/A QUnit.equal($('#gridToolbar', ResourceTypesListView.$el).find('.btn:first-of-type').text().trim(),
0N/A QUnit.equal($('#deleteRecords', ResourceTypesListView.$el).length, 1, 'Delete Selected button is present');
0N/A QUnit.ok($('#deleteRecords', ResourceTypesListView.$el).hasClass('disabled'), 'Delete Selected button is disabled');