mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-25 17:51:07 +00:00
Update com_categories new title
This commit is contained in:
parent
e3bb16c086
commit
9b9603b089
@ -37,7 +37,7 @@ class AdministratorCategoriesCest
|
||||
|
||||
$I->amGoingTo('try to save a category with empty title and it should fail');
|
||||
$I->clickToolbarButton('new');
|
||||
$I->waitForText('Category Manager: Add A New Weblinks Category', '60', ['css' => 'h1']);
|
||||
$I->waitForText('Weblinks: New Category', '60', ['css' => 'h1']);
|
||||
$I->clickToolbarButton('save');
|
||||
$I->expectTo('see an error when trying to save a category without title');
|
||||
$I->see('Invalid field: Title', ['id' => 'system-message-container']);
|
||||
@ -58,7 +58,7 @@ class AdministratorCategoriesCest
|
||||
|
||||
$I->amGoingTo('try to save a category with a filled title');
|
||||
$I->clickToolbarButton('New');
|
||||
$I->waitForText('Category Manager: Add A New Weblinks Category', '60', ['css' => 'h1']);
|
||||
$I->waitForText('Weblinks: New Category', '60', ['css' => 'h1']);
|
||||
$I->fillField(['id' => 'jform_title'], $this->categoryTitle);
|
||||
$I->clickToolbarButton('Save & Close');
|
||||
$I->expectTo('see a success message after saving the category');
|
||||
@ -183,7 +183,7 @@ class AdministratorCategoriesCest
|
||||
$I->amGoingTo('Navigate to Categories page in /administrator/ and verify the Tabs');
|
||||
$I->amOnPage('administrator/index.php?option=com_categories&extension=com_weblinks');
|
||||
$I->clickToolbarButton('New');
|
||||
$I->waitForText('Category Manager: Add A New Weblinks Category', '30', ['css' => 'h1']);
|
||||
$I->waitForText('Weblinks: New Category', '30', ['css' => 'h1']);
|
||||
$I->verifyAvailableTabs(['Category', 'Publishing', 'Permissions', 'Options']);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user