/**
  * @depends administratorTrashCategory
  */
 public function administratorDeleteCategory(\Step\Acceptance\category $I)
 {
     $I->am('Administrator');
     $I->wantToTest('Deleting a Category in /administrator/');
     $I->doAdministratorLogin();
     $I->amGoingTo('Navigate to Categories page in /administrator/');
     $I->amOnPage('administrator/index.php?option=com_categories&extension=com_weblinks');
     $I->waitForText('Weblinks: Categories', '60', ['css' => 'h1']);
     $I->setFilter('Select Status', 'Trashed');
     $I->searchForItem($this->categoryTitle);
     $I->checkAllResults();
     $I->amGoingTo('try to delete a Weblinks Category');
     $I->clickToolbarButton('Empty trash');
     $I->acceptPopup();
     $I->waitForElement(['id' => 'system-message-container'], '60');
     $I->expectTo('see a success message after Deleting the category');
     $I->see('1 category successfully deleted.', ['id' => 'system-message-container']);
 }