AutorÃa | Ultima modificación | Ver Log |
@tool @tool_dataprivacy @javascriptFeature: Manage data categoriesAs the privacy officerIn order to manage the data registryI need to be able to manage the data categories for the data registryBackground:Given I log in as "admin"And I navigate to "Users > Privacy and policies > Data registry" in site administrationAnd I open the action menu in "region-main" "region"And I choose "Categories" in the open action menuAnd I press "Add category"And I set the field "Name" to "Category 1"And I set the field "Description" to "Category 1 description"When I click on "Save" "button" in the "Add category" "dialogue"Then I should see "Category 1" in the "List of data categories" "table"And I should see "Category 1 description" in the "Category 1" "table_row"Scenario: Update a data categoryGiven I open the action menu in "Category 1" "table_row"And I choose "Edit" in the open action menuAnd I set the field "Name" to "Category 1 edited"And I set the field "Description" to "Category 1 description edited"When I press "Save changes"Then I should see "Category 1 edited" in the "List of data categories" "table"And I should see "Category 1 description edited" in the "List of data categories" "table"Scenario: Delete a data categoryGiven I open the action menu in "Category 1" "table_row"And I choose "Delete" in the open action menuAnd I should see "Delete category"And I should see "Are you sure you want to delete the category 'Category 1'?"When I click on "Delete" "button" in the "Delete category" "dialogue"Then I should not see "Category 1" in the "List of data categories" "table"