30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-05-30 04:50:50 +00:00
weblinks/tests/_data/scenarios/acceptance/Administrator_Categories.administrator_Create_Category_Without_Title_Fails.txt
2015-11-01 12:05:35 +01:00

16 lines
750 B
Plaintext

I WANT TO TEST CATEGORY CREATION IN /ADMINISTRATOR/ WITHOUT TITLE FAILS
I am "Administrator"
I do administrator login ""
I am going to "Navigate to Categories page in /administrator/"
I am on page "administrator/index.php?option=com_categories&extension=com_weblinks"
I wait for text "Weblinks: Categories"," '60"," ['css' => 'h1']"
I expect to "see categories page"
I am going to "try to save a category with empty title and it should fail"
I click toolbar button "new"
I wait for text "Category Manager: Add A New Weblinks Category"," '60"," ['css' => 'h1']"
I click toolbar button "save"
I expect to "see an error when trying to save a category without title"
I see "Invalid field: Title"," ['id' => 'system-message-container']"