---
# System prepended metadata

title: 班尼戈 RD Test scenario
tags: [班尼戈]

---

# 班尼戈 RD Test scenario
---
###### tags: `班尼戈`
## 2022/1/12
### Tingwei
#### [Add] Add loginPageUrl to the cookies when login successfully. And other features.

**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] Dashboard path uses process.env.dashboardPath in backend/const.js
5. [Change] `npm ci --production` in K8S project
6. [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 contain TimeStamp
    - [x]  https://portal-custom-develop-eks002.hz.wise-paas.com.cn -> login with an account that has no default dashboard path -> redirect to https://dashboard-develop-eks002.hz.wise-paas.com.cn/frame/Water%20South?orgId=24&language=en-US&theme=dark in which /frame/Water%20South?orgId=24&language=en-US&theme=dark was set up in dashboardPath of