# 鑫宝能 RD Test scenario
---
###### tags: `鑫宝能`
[Add] Add loginPageUrl to the cookies when login successfully
## 2022/1/12
### Tingwei
#### [Add] Add loginPageUrl to the cookies when login successfully
**Purpose**
1. [Add] Add loginPageUrl to the cookies when login successfully
2. [Update] If logoutType of query string === 'timeout', show "Session Timeout" in the error message.
3. [Add] Production js add Timestamp.
4. [Change] `npm ci --production` in K8S project
5. [Update] Add watch script in package.json
**Test**
1. test in https://portal-custom-develop-eks002.hz.wise-paas.com.cn/#/admin
- [x] login to BI -> check whether loginPageUrl in the cookies
- [x] https://portal-custom-develop-eks002.hz.wise-paas.com.cn/#/admin?logoutType=timeout -> show Session Timeout
- [x] js and css cantain Timestamp
## 2021/08/04
### Tingwei
#### [Change] Update bg and title.
**Purpose**
1. Refer to the title
**Test**
1. test in local server
- [x] check bg and title
## 2021/07/22
### Tingwei
#### [Change] The proxy onError() response 502 & 'Proxy Error' so that the user does no need to wait for the request timeout.
**Purpose**
1. Refer to the title
**Test**
1. test in local server
- [x] Log in with network disconnecting -> check Error
- [x] Log in with network connecting -> success
## 2021/07/20
### Tingwei
#### [Add] Get user dashboard URL when SSO validated successfully & Update Readme
**Purpose**
1. [Add] get user dashboard URL when sso validated successfully.
2. Update Readme
**Test**
1. test in local server with develop space
- [x] Log in with the account has dashboard URL.
- [x] Log in with the account doesn't have dashboard URL
- [x] Log in with the account doesn't in BI
- [x] Log in with an invalid account
- [x] Log in with an invalid password
- [x] Log in with an invalid account until the account is locked