---
# System prepended metadata

title: DeviceOn/BI Portal RD Test scenario 2022/07~2022/12
tags: [DeviceOnBI]

---

# 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
![螢幕錄影 2022-12-13 下午5.36.08.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1664/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E5%BD%B1%202022-12-13%20%E4%B8%8B%E5%8D%885.36.08.gif) 
2. test for wechat send test
![螢幕錄影 2022-12-13 下午5.40.41.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1664/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E5%BD%B1%202022-12-13%20%E4%B8%8B%E5%8D%885.40.41.gif) 

## 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
![螢幕錄影 2022-11-18 下午6.27.04.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1426/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E5%BD%B1%202022-11-18%20%E4%B8%8B%E5%8D%886.27.04.gif) 
2. test for bi
![螢幕錄影 2022-11-18 下午6.32.48.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1426/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E5%BD%B1%202022-11-18%20%E4%B8%8B%E5%8D%886.32.48.gif) 
3. test for pure iframe page
![螢幕錄影 2022-11-18 下午6.33.36.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1426/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E5%BD%B1%202022-11-18%20%E4%B8%8B%E5%8D%886.33.36.gif) 

## 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-16 下午2.10.37.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1401/attachments/%E6%88%AA%E5%9C%96%202022-11-16%20%E4%B8%8B%E5%8D%882.10.37.png) 

![截圖 2022-11-16 下午2.09.04.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/1401/attachments/%E6%88%AA%E5%9C%96%202022-11-16%20%E4%B8%8B%E5%8D%882.09.04.png) 

## 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-18 下午1.49.59.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/1126/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-10-18%20%E4%B8%8B%E5%8D%881.49.59.gif) 

## 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-10-14 下午6.47.14.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/1124/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-10-14%20%E4%B8%8B%E5%8D%886.47.14.gif) 


## 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-09-23 下午3.35.03.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/945/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-09-23%20%E4%B8%8B%E5%8D%883.35.03.gif) 

## 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-09-14 上午11.09.44.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/874/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-09-14%20%E4%B8%8A%E5%8D%8811.09.44.gif) 

## 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
![history-2.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/783/attachments/history-2.png) 
- [x] index & lastNDay query
![history-1.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/783/attachments/history-1.png) 
2. test for AllTaskList
- [x] default query
![alllist-2.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/783/attachments/alllist-2.png) 
- [x] index & lastNDay query
![alllist-1.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/783/attachments/alllist-1.png) 
3. test for IssueList
- [x] default query
![issueList-2.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/783/attachments/issueList-2.png) 
- [x] index & lastNDay query
![issueList-1.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/783/attachments/issueList-1.png) 

#### 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
![schedule.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/787/attachments/schedule.png) 

## 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
![image.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/773/attachments/image.png) 
2. test for AllTaskList
- [x] check theme changed
![image (2).png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/773/attachments/image%20%282%29.png) 


#### 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
![image.png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/774/attachments/image.png) 
2. test for InspectionResult
- [x] check replace string changed
![image (2).png](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/9e020ded-3b16-468e-89ac-fefb11bd5e2e/pullRequests/774/attachments/image%20%282%29.png) 


## 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
![螢幕錄製 2022-08-23 下午5.03.21.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/718/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-23%20%E4%B8%8B%E5%8D%885.03.21.gif) 
2. test for profile management
- [x] upload excel
![螢幕錄製 2022-08-23 下午5.23.11.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/718/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-23%20%E4%B8%8B%E5%8D%885.23.11.gif) 
- [x] create new profile and add constant & primitive & calculation, save and edit
![螢幕錄製 2022-08-23 下午6.11.44.gif](https://dev.azure.com/AdvantechAII/60722add-04e3-4129-be53-275ffc365957/_apis/git/repositories/bec61b57-59fc-406e-a40d-8bef82a4cb37/pullRequests/718/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-23%20%E4%B8%8B%E5%8D%886.11.44.gif) 

## 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
![截圖 2022-08-18 下午4.25.35.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/685/attachments/%E6%88%AA%E5%9C%96%202022-08-18%20%E4%B8%8B%E5%8D%884.25.35.png) 
- [x] action change
![截圖 2022-08-18 下午4.51.33.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/685/attachments/%E6%88%AA%E5%9C%96%202022-08-18%20%E4%B8%8B%E5%8D%884.51.33.png) 
![截圖 2022-08-18 下午4.54.32.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/685/attachments/%E6%88%AA%E5%9C%96%202022-08-18%20%E4%B8%8B%E5%8D%884.54.32.png) 
![截圖 2022-08-18 下午4.56.33.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/685/attachments/%E6%88%AA%E5%9C%96%202022-08-18%20%E4%B8%8B%E5%8D%884.56.33.png) 
2. test for group user list
- [x] check avatar show
![截圖 2022-08-18 下午4.26.00.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/685/attachments/%E6%88%AA%E5%9C%96%202022-08-18%20%E4%B8%8B%E5%8D%884.26.00.png) 

## 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
![螢幕錄製 2022-08-12 上午11.45.10.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/674/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-12%20%E4%B8%8A%E5%8D%8811.45.10.gif) 
- [x] scroll bar
![螢幕錄製 2022-08-12 上午11.51.05.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/674/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-12%20%E4%B8%8A%E5%8D%8811.51.05.gif) 

2. test for group permission add and edit

- [x] add
![螢幕錄製 2022-08-16 上午11.43.22.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/674/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-16%20%E4%B8%8A%E5%8D%8811.43.22.gif) 
- [x] edit
![螢幕錄製 2022-08-12 下午3.07.13.gif](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/674/attachments/%E8%9E%A2%E5%B9%95%E9%8C%84%E8%A3%BD%202022-08-12%20%E4%B8%8B%E5%8D%883.07.13.gif) 

## 2022/8/11
### Alice

#### feature/user-list-title-fix

**Purpose**
1. normal tenant translation fix

**Test**
1. login normal tenant -> check user translation
![截圖 2022-08-11 下午5.20.23.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/652/attachments/%E6%88%AA%E5%9C%96%202022-08-11%20%E4%B8%8B%E5%8D%885.20.23.png) 

## 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
![截圖 2022-08-08 上午11.16.00.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/621/attachments/%E6%88%AA%E5%9C%96%202022-08-08%20%E4%B8%8A%E5%8D%8811.16.00.png) 
2. test for tenant user list -> click status -> check the message
![截圖 2022-08-08 上午11.15.43.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/621/attachments/%E6%88%AA%E5%9C%96%202022-08-08%20%E4%B8%8A%E5%8D%8811.15.43.png) 
![截圖 2022-08-08 上午11.15.53.png](https://dev.azure.com/AdvantechAII/a8cfb14f-c304-4554-afea-b7d6d16737c0/_apis/git/repositories/c4431dde-2fad-43d6-a9bd-57e14232caaa/pullRequests/621/attachments/%E6%88%AA%E5%9C%96%202022-08-08%20%E4%B8%8A%E5%8D%8811.15.53.png) 

## 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