---
# System prepended metadata

title: Patrol Inspection Web RD Test scenario 2022/01~2022/06
tags: [Patrol Inspection Web]

---

# Patrol Inspection Web RD Test scenario 2022/01~2022/06
---
###### tags: `Patrol Inspection Web`
## 2022/5/10

## 2022/1/25
### Tingwei
#### [Update][Account & Profile] Length validation.

**Purpose**
1. [Update][Account & Profile] Length validation.
2. [Update][Account & Profile & Password & Reset Password] Show error messages by different rules.

**Test** on 841
1. test adding account
    - account name
        - [x] required
        - [x] length 6-100
        - [x] .@-_ only
    - first name
        - [x] required
        - [x] length 1-32
        - [x] en and chinese only
    - last name
        - [x] required
        - [x] length 1-32
        - [x] en and chinese only
    - email
        - [x] max length 128
        - [x] email rule
    - phone
        - [x] length 0-16
    - mobile
        - [x] length 0-16
2. test editing account
    - first name
        - [x] required
        - [x] length 1-32
        - [x] en and chinese only
    - last name
        - [x] required
        - [x] length 1-32
        - [x] en and chinese only
    - email
        - [x] max length 128
        - [x] email rule
    - phone
        - [x] length 0-16
    - mobile
        - [x] length 0-16
3. test editing my profile
    - first name
        - [x] required
        - [x] length 1-32
        - [x] en and chinese only
    - last name
        - [x] required
        - [x] length 1-32
        - [x] en and chinese only
    - email
        - [x] max length 128
        - [x] email rule
    - phone
        - [x] length 0-16
    - mobile
        - [x] length 0-16
4. test Reset Password
    - [x] length 8-20
    - [x] number
    - [x] lowercase
    - [x] uppercase
    - [x] special char
    - [x] no space \ "
    - [x] confirm password
5. test Profile -> Change Password
    - [x] length 8-20
    - [x] number
    - [x] lowercase
    - [x] uppercase
    - [x] special char
    - [x] no space \ "
    - [x] confirm password
6. new error message language test
    - en
        - [x] account name format - Alphanumeric characters, Period(.), Hyphen(-), Underscore(_) and @ only.
        - [x] length within {min} to {max} (first name) - Must be within 1 to 32 characters.
        - [x] max length (phone) - Up to 16 characters.
        - [x] en chinese only (last name) - English Alphabet and Chinese only.
    - tw
        - [x] account name format - 僅限英文字母、數字、句點 (.)、連字符 (-)、下劃線 (_) 和 @。
        - [x] length within {min} to {max} (first name) - 至少 1 個字元，最多 32 個字元。
        - [x] max length (phone) - 最多 16 個字元。
        - [x] en chinese only (last name) - 僅限中英文字母。
    - cn
        - [x] account name format - 仅限英文字母、数字、句点 (.)、连字符 (-)、下划线 (_) 和 @。
        - [x] length within {min} to {max} (first name) - 至少 1 个字符，最多 32 个字符。
        - [x] max length (last name) - 最多 16 个字符。
        - [x] en chinese only (last name) - 仅限中英文字母。

## 2021/1/24
### Tingwei
#### [Update] Add isShowPowerByLogo to handle "POWER BY WISE-PaaS" Logo visibility.

**Purpose**
1. [Update] Add isShowPowerByLogo to handle "POWER BY WISE-PaaS" Logo visibility.

**Test** on 841
1. test in inspection 841
   - [x] no 'isShowPowerByLogo' name and value in yaml -> show POWERBY WISE-PaaS
   - [x] `- name: isShowPowerByLogo
          value: "true"` show POWERBY WISE-PaaS
   - [x] `- name: isShowPowerByLogo
          value: "false"` hide POWERBY WISE-PaaS