Jingwei.Zhang
b3d0e1f83f
test: Fix e2e case
1. Fix flavor case: require flavor types 2. Fix keypaire case: delete keypair created by file 3. Fix security group case: fix delete 4. Fix instance case: fix delete volume twice, wait longer for attaching volume 5. Fix virtual adapter case: fix disassociate floating IP in detail page 6. Fix fip case: remove edit case until front-end fix fip edit with qos service enabled 7. Fix volume case: wait longer for delete instance 8. Fix image case: fix disk format select value when create image 9. Fix server group case: wait longer after delete instance when delete server group 10. Update image config: support image file when download failed to run image case successfully Change-Id: I8321f31086ad660d1fe950bedf144af7f008f6b1
Instructions
简体中文| English
Prerequisites
node
: lts/erbium (v12.*)yarn
: 1.22.4 +
Local Environment
Take CentOS as an example
-
Install nvm ( version control system for nodejs )
wget -P /root/ --tries=10 --retry-connrefused --waitretry=60 --no-dns-cache --no-cache https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh bash /root/install.sh . /root/.nvm/nvm.sh
-
Install nodejs
NODE_VERSION=erbium nvm install --lts=$NODE_VERSION nvm alias default lts/$NODE_VERSION nvm use default
-
Verify nodejs and npm versions
node -v # v12.*.* npm -v # 6.*.*
-
Install yarn
npm install -g yarn
-
Install the project dependency under the root directory, with
package.json
in the same place.yarn install
After those steps, please just wait until the installation is complete.
Usage
Under the root directory, with package.json
in the same place.
yarn run mock
: Use the mock interface of rap2yarn run dev
: To use the actual interface,please change the "http://pre.xxx.com" in line 47 into the real address in filewebpack.dev.js
.yarn run build
: Build packages and then you can hand over the contents of the generated dist directory to the back end.
Docs
How to develop
- Preparation before development
- Directory structure
- Develop a new resource page
- BaseList introduction
- BaseTabList introduction
- BaseDetail introduction
- BaseDetailInfo introduction
- BaseStore introduction
- FormAction introduction
- ModalAction introduction
- ConfirmAction introduction
- StepAction introduction
- FormItem introduction
- Action introduction
- Menu introduction
- Route introduction
- I18n introduction
How to test
Description
Languages
JavaScript
99.2%
Less
0.7%