# DeviceOn/BI Portal RD Test scenario 2022/07~2022/12
---
###### tags: `DeviceOnBI`
## 2022/12/13
### Alice
#### feature/2072-fix-password
**Purpose**
1. feat 2072 fix channel setting wechat & mail password, decode & encode
**Test**
1. test for channel setting save

2. test for wechat send test

## 2022/11/18
### Alice
#### feature/1854-notification-orgid-filter
**Purpose**
1. feat 1854 notification select variable org tree filter by orgId
**Test**
1. test for edge365

2. test for bi

3. test for pure iframe page

## 2022/11/16
### Alice
#### feature/1800-fix-cmdc-menu-null
**Purpose**
feat 1800 fix iframe cmdc menu data null (didn't go to get the list)
**Test**
1. test for cmdc
- [x] test for menu
- [x] test for dashboard


## 2022/11/09
### Alice
#### feature/1512-event-and-actions
**Purpose**
1. feat 1530 iframe alarm group (pageEvent)
2. feat 1531, 1532 iframe user group, notification (pageActions)
3. feat 1533 iframe channel setting (group notification edit)
4. feat 1575 postBiStatus control (alarm group dialog, user group dialog, notification group dialog)
5. feat 1609 language renew when iframe tab is changed
6. feat 1674 fix orgName disappear when delete (alarm group, user group, notification)
**Test**
1. for iframe pages (https://localhost.isghpc.wise-paas.com:8081/#/iframePage/)
- alarm group (event?orgId=353)
- [x] create
- [x] edit
- [x] delete
- user group (actions?orgId=353&actionType=3)
- [x] create
- [x] edit
- [x] delete
- notification group (actions?orgId=353&actionType=6)
- [x] create
- [x] edit
- [x] delete
- channel setting (channelSettings?orgId=353)
- [x] save
## 2022/10/18
### Alice
#### feature/1494-tenant-users-network-onlyf
**Purpose**
1. feat 1494 clear group user list data cache after change to tenant user
**Test**
1. test for tenant user list & group user list change

## 2022/10/14
### Alice
#### feature/1406-object-type-delete
**Purpose**
1. 1406 open object type delete, association is successful after object type name is changed
2. feat 1406 tips for accidentally deleting associated type & category
3. feat 1406 close after submit
**Test**
1. test for object type
- [x] remove & tips

## 2022/9/30
### Alice
#### feature/1400-drawer-object-type-fix
**Purpose**
1. feat 1400 fix object drawer loading failure
**Test**
1. test for object laod & drawer open
- [x] loaded successfully
- [x] object type show on drawer
## 2022/9/23
### Alice
#### feature/1266-drawer-tab-change
**Purpose**
1. feat 1266 drawer tab component & style change
2. feat 1266 add inBgColor enum & use keyof typeof for tab color style
**Test**
1. test for inbound list & drawer
- [x] drawer tab

## 2022/9/21
### Alice
#### feature/1267-drawer-open
**Purpose**
1. feat 1267 add clickable row style, prevent event bubbling, fix typescript error
2. feat 1267 drawer open with type
3. feat 1267 DcTable add new props for clickable style, hide name hyperlink
4. feat 1267 pointer except table head & align header
**Test**
1. test for inbound list & drawer
- [x] header no hover
- [x] rows hover
- [x] click row open drawer
## 2022/9/14
### Alice
#### feature/1177-bi-device-drawer
**Purpose**
1. feat 1177 drawer support scada
**Test**
1. test for inbound drawer

## 2022/8/31
### Alice
#### feature/1126-default-and-url-query
**Purpose**
1. feat 1126 add default 7 days query, lastNDay value query
2. feat 1128 support index query option & feat 1126 add AllTaskList & IssueList default query
**Test**
1. test for InspectionHistory
- [x] default query

- [x] index & lastNDay query

2. test for AllTaskList
- [x] default query

- [x] index & lastNDay query

3. test for IssueList
- [x] default query

- [x] index & lastNDay query

#### feature/1163-schedule-bug-fix
**Purpose**
1. feat 1163 fix schedule date selection background position
**Test**
1. test for inspection -> edit -> schedule
- [x] check background position correct

## 2022/8/30
### Alice
#### feature/1124-dark-theme
**Purpose**
1. feat 1124 dark theme AllTaskList & History
**Test**
1. test for InspectionHistory
- [x] check theme changed

2. test for AllTaskList
- [x] check theme changed

#### feature/1125-replace-inspection-str
**Purpose**
1. feat 1125 InspectionHistory replace Inspection string
2. feat 1127 InspectionResult replace Inspection string
3. feat 1127 carry rStr value from InspectionHistory to result
**Test**
1. test for InspectionHistory
- [x] check replace string changed

2. test for InspectionResult
- [x] check replace string changed

## 2022/8/23
### Alice
#### feature/profile-negative-mode
**Purpose**
1. feat 679 enable Profile management negative mode checkbox & style change
2. feat 679 profile calculation negativeMode save and load
3. feat 679 add constant and primitive negativeMode value
4. feat 679 negativeMode position tweak
5. feat 680 save as profile add negativeMode key
6. feat 681 excel profile upload support negativeMode column
**Test**
1. test for object
- [x] save as profile

2. test for profile management
- [x] upload excel

- [x] create new profile and add constant & primitive & calculation, save and edit

## 2022/8/18
### Alice
#### feature/965-user-list-feature
**Purpose**
1. feat 965 user list avatar
2. feat 965 avatar for group user list
3. feat 1008 orgAcls graphql query
4. feat 1008 hide tenant user list actions, when userAcls mode is not 'Manage'
5. feat 1008 tenant user list add mode 'Viewer' & 'None' handle
6. feat 1008 tenant user list get orgAcls {scope, mode} api change
7. feat 1008 remove extra code
**Test**
1. test for tenant user list
- [x] check avatar show

- [x] action change



2. test for group user list
- [x] check avatar show

## 2022/8/16
### Alice
#### group permission
**Purpose**
1. feat [CheckboxSelectHandler] setRoles (header checkbox status)
2. feat [GroupTree] tree data structure change
3. feat [CheckboxSelectHandler] add the data interface, use rows value as checked
4. feat 839 Table Body Checkbox Select
5. feat 840 count the number of roles
6. feat 606 props roles, used to make the roles headers
7. feat 607 get tenant user groups & user's each group roles
8. feat 861, 864 flat group data to tree & permission data load
9. feat 842 header checked change by nodes
10. feat 841 click header check box change all nodes checked
11. feat 925 load group permission fix
12. feat 604 correct reference timing
13. feat 604 ref, flat the tree, promise all api request
14. feat 968 hide actions, users cannot delete themselves or managers (tenant)
15. feat 962 permission scroll bar fix
16. feat 963, 964 children nodes changed in tandem
17. feat 969 hide the step 2 group permission page, when not in the case of a normal tenant
18. feat 1009 data flat & api data send
19. feat 1009 fix TypeScript error, return value
**Test**
1. test for group permission ui control
- [x] check box control

- [x] scroll bar

2. test for group permission add and edit
- [x] add

- [x] edit

## 2022/8/11
### Alice
#### feature/user-list-title-fix
**Purpose**
1. normal tenant translation fix
**Test**
1. login normal tenant -> check user translation

## 2022/8/08
### Alice
#### feature/966-user-translate-fix
**Purpose**
1. feat 966 user translate fix
2. feat 967 status confirm
**Test**
1. test for root tenant -> check the page user title & list item translation has changed

2. test for tenant user list -> click status -> check the message


## 2022/8/03
### Alice
#### feature/extra-tsx-delete
**Purpose**
1. delete extra GroupPage.tsx
2. remove extra code
**Test**
1. npm run build
2. npm run start-https and check page & dialog
## 2022/7/12
### Alice
#### feat 786, 793, 800, 801, 802, 804
**Purpose**
1. feat [CommonSwitch] add common switch component
1. feat 786 common switch
1. feat 793 updateUser api only used when current tenant is root
1. feat 800 tenant user delete feature
1. feat 800 hide the root tenant users delete button
1. feat 801 when adding a group user, if the user isn't in the current tenant, add the user to the current tenant
1. feat 802 group role translation fix
1. feat 804 clear user list router query
1. feat 804 fixed the problem of logging out of the organization page, and choosing the root tenant after logging, query was cache
**Test**
1. test for common switch (1 & 2)
- [x] status change
2. test for group user, tenant user, root tenant user(3)
- [x] check api
3. test for tenant user(4&5)
- [x] check tenant user no delete
- [x] check delete api works
4. test for group user & tenant user(6)
- [x] check tenant user has been added after group user build
5. test for edit group user
- [x] translation fix
6. test for login redirect and user list, group list page chage
- [x] checking the groupId query is clear
## 2022/7/4
### Alice
#### feature/673-tenant-user-disabled
**Purpose**
1. feat [TenantUserDisabled] add activity state change event, hide the tenant user edit & disabled option when the tenant owner is current user
2. feat [TenantDisabled] add loading and support disable user in tenant list
**Test**
1. test for tenant user
- [x] disabled the user -> loading -> state changed
## 2022/7/1
### Alice
#### feature/fix-soe-bug
**Purpose**
1. [fix][SOE] fix the problem that group is not found at child org when edit the soe parameters
**Test**
1. test for SOE
- [x] add child org -> change to object tab -> add object -> add primitive parameter with alarm -> change to event tab -> add alarm group -> change to actions tab -> add alarm user group -> add notification groups -> add soe rule -> select parameters -> save -> edit -> check select parameters dialog is worked