X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tool/dataprivacy/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tool
/
dataprivacy
/
tests
/
behat
/
📁
..
📄
behat_tool_dataprivacy.php
(14.07 KB)
📄
contact_privacy_officer.feature
(1.17 KB)
📄
datadelete.feature
(12 KB)
📄
dataexport.feature
(7.34 KB)
📄
index.php
(1.78 KB)
📄
manage_categories.feature
(1.68 KB)
📄
manage_data_requests.feature
(6.78 KB)
📄
manage_defaults.feature
(18.48 KB)
📄
manage_purposes.feature
(3.51 KB)
📄
my_data_requests.feature
(1.13 KB)
📄
protecteddelete.feature
(3.49 KB)
📄
siteadmin_privacy_breadcrumbs.feature
(1.65 KB)
Editing: manage_categories.feature
@tool @tool_dataprivacy @javascript Feature: Manage data categories As the privacy officer In order to manage the data registry I need to be able to manage the data categories for the data registry Background: Given I log in as "admin" And I navigate to "Users > Privacy and policies > Data registry" in site administration And I open the action menu in "region-main" "region" And I choose "Categories" in the open action menu And 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 category Given I open the action menu in "Category 1" "table_row" And I choose "Edit" in the open action menu And 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 category Given I open the action menu in "Category 1" "table_row" And I choose "Delete" in the open action menu And 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"
Upload File
Create Folder