Commit Graph

51 Commits

Author SHA1 Message Date
Jingwei.Zhang
36a69b0a1f feat: update the cirros version
Update the default cirros version used by e2e according to the devstack

Change-Id: I0bb35d350f21dbae3fd66922b21522a579eb8967
2023-05-25 09:30:48 +08:00
Jingwei.Zhang
a9370ef261 feat: update zh-cn to zh-hans
Update zh-cn to zh-hans, and update the icon when switch language

Change-Id: I3e6d3e8aebec4584f863282082a11b36d7cee193
2023-03-28 10:15:57 +08:00
xusongfu
5f5b8c3cd5 feature: support some new params and fix some issues of zun ui
1. add health check
2. add exposed ports
3. add auto remove
4. add entrypoint
5. add validator to some key-inputs
6. fix the image resource by glance or docker
7. fix step name from miscellaneous to others

Change-Id: I40180a44657ace3419c009f73ab527c99fb483d3
2023-01-10 09:50:16 +08:00
Jingwei.Zhang
3026f4fca4 feat: update id/name column display
1. only show the first 8 characters of the id in table
2. can copy the id
3. bold the name to make it stand out
4. update cypress command clickLinkInColumn, click link with the left
position, to avoid clicking the copy button on the right

Change-Id: I91046cac9631bd8d2da5dfd236a8e1f14196e6f9
2022-10-10 16:35:19 +08:00
Jingwei.Zhang
6354d67d9d feat: use the port list page to instead of the virutal adapter
1. Add port list page, the old virtual adapter list page only show the
compute:nova bouned ports and unbouned ports
2. Update actions's allowed check: detach fip
3. Update port store: from virtualAdatperStore to portStore
4. Adjust file/folder path: from virtualAdapter to port

Change-Id: Iceec96731a9fd17de429b4e6061490a26e562162
2022-08-16 13:48:08 +08:00
Jingwei.Zhang
ddde1b9e8e feat: Support create port forwarding with internal/external port range
1. Update create port forwarding: support internal/external port range,
provides error hints for more explicit port usage
2. Update the port forwarding display in the floating ip list page: add pages to show large amounts of data
3. Update the port forwarding display in the port forwarding tab in the floating ip detail page: add id/description, support external port range filter,
support sort by api
4. Change `DNAT`, 'port forwarding rule' to 'port forwarding'

Change-Id: I40f6ccfb56949430b7c5f0256cc952d7ea5305aa
2022-08-15 16:27:29 +08:00
Jingwei.Zhang
dda85bbf26 feat: update volume action menu
1. Update the volume action menu: classified as 'data protection', 'instance related', 'capacity & type'
2. Update the volume action menu in the volume tab in the  instance detail page
3. Update the volume/snapshot e2e cases according the new action menu

Change-Id: Ib479efcdcd0f72789b1278716c7b9f06f9d87d3b
2022-08-05 08:40:43 +08:00
Jingwei.Zhang
28846810e2 fix: fix the size quota check when create volume
1. Disable to click submit button when the remaining size/type size quota is 0.
2. Add image check to the volume e2e after the volume created image successfully

Change-Id: I6d8c0491647abc8329fa089665194da278decf46
2022-08-03 12:10:18 +08:00
Jingwei.Zhang
3f9ca389b8 fix: fix the plural form of the menu words && tab title words
1. Fix the plural form of the menu words
2. Fix the plural form of the tab title
3. Fix the related e2e case

Change-Id: Id37115d9efac341413b401d12049cf0d621e0385
2022-08-01 13:01:15 +08:00
Jingwei.Zhang
fb83a57550 fix: update volume snaphost/backup display
1. Update 'snaphost' to 'volume snaphost', 'backup' to 'volume backup'
2. Update e2e case

Change-Id: I74dee2e2da7cbaac4ba7607c83848b28cfb81cde
2022-07-28 15:48:16 +08:00
Jingwei.Zhang
14381f0e59 test: add share type e2e case
1. Add share type e2e case
2. Update e2e test config for manila codes: only run the other e2e zuul task when the manila related codes change

Change-Id: Ia6d0e232ade38e7f4123a11e7cb4c677a53c961f
2022-07-26 10:35:38 +08:00
Jingwei.Zhang
26df0cefe1 feat: support quota info when clone volume
1. Update clone volume form: add volume info, size input, type select
2. Support quota info when clone volume
3. Disable click submit button when left quota is not enough to clone
4. Update clone volume e2e

Change-Id: I3cc1d85fad75b18b88bc49a20e8feaae14d4111a
2022-06-30 16:16:19 +08:00
Zuul
d133705f6f Merge "refactor: Refactor user" 2022-06-09 04:00:57 +00:00
Zuul
f191787999 Merge "test: Add zun e2e test" 2022-06-09 03:42:00 +00:00
xusongfu
3b2144c39d test: Add zun e2e test
1. create zun container test
2. start zun container test
3. pause zun container test
4. unpause zun container test
5. reboot zun container test
6. stop zun container test
7. delete zun container test
8. create zun capsule test
9. delete zun capsule test

Change-Id: If291bbfd1dde4a73b5e14c171e3bb885d687f480
2022-06-08 18:48:07 +08:00
Jingwei.Zhang
c88cc53580 feat: Add volume quota when create instance
1. Add volume quota when create instance
2. Quota info support line/ring/table display
3. Remove agent add router e2e check, because sometimes the interface removes the router from one agent successfully, but in fact the route is still in the agent

Change-Id: I161fec1bcd7b8704666c66e3a11168d806c57744
2022-06-08 17:20:27 +08:00
Jingwei.Zhang
e47fa9e742 refactor: Refactor user
1. Refactor user store
2. Refactor user list
3. Refactor edit user system role
4. Update system-admin role check in rootStore
5. Refactor user detail page
6. Update forbidden user action to danger style
7. Refactor create user: add domain select && support multi role select for projects
8. Update project manager user e2e
9. Update create user e2e
10. Update user edit system role e2e
11. Remove create user in domain detail page

Closes-Bug: #1942285
Change-Id: Ieba70b002420e20ad7c3f04f5e4f6fb4b6fb1e76
2022-06-08 15:30:21 +08:00
Jingwei.Zhang
5a8ec658d5 feat: Support domain actions
1. Support create/edit/delete/enable/disable domain actions
2. Set enableColumn to deal with enable column for domain/user/project
3. Update domain detail e2e
4. Update domain store for better fetch user/project data

Change-Id: I37bf708bca9c819f0d5a63d59dafef1959ec8503
2022-06-06 17:47:47 +08:00
Jingwei.Zhang
083e44a401 feat: Support role actions
Support create/edit/delete role

Change-Id: Ib8c71b2bb193b061ad6db397727fef0129f3bc44
2022-06-06 16:47:44 +08:00
xusongfu
55841fa520 fix: Fix database in user & e2e
1. Fix the associated database of user in trove instance detail
2. Add waitting time to delete router of l3 agent

Change-Id: Ibdea651d968eaf128d273acca7a347e6a9d09453
2022-06-06 09:54:48 +08:00
Jingwei.Zhang
3fd5c14d5f refactor: Refactor danger from buttonType to isDanger
1. Add isDanger prop to support danger style button, remove danger value from buttonType
2. Update docs according to isDanger
3. Add waiting time when close e2e success notice

Change-Id: I87a72ce05f519ce6717f072dc7397f646dfb4ab1
2022-06-02 14:06:44 +08:00
Jingwei.Zhang
2fd46f588c fix: Fix create/delete certificate && menu
1. Fix delete server/ca certificate
2. Update cert display in detail page
3. Add default type when create cert
4. Display the cert list page based on the barbican endpoint
5. Temporarily remove network topology e2e because of cypress crashes

Change-Id: Ie0f01bd7c818b4c553351cc1cd8549e79a301c29
2022-06-01 17:48:51 +08:00
Jingwei.Zhang
276f554ed6 fix: Fix topology e2e
1. Add waittime to topology e2e
2. set e2e check config in zuul.yaml

Change-Id: I651a418093324adc3e1f078fc5a7c79fad042f01
2022-05-31 12:58:27 +08:00
xusongfu
93043a2218 feat: Update certificate
1. Remove certificate in administrator platform
2. Add prefix barbican to the policy
3. Allowed delete lb if provisioning_status is PENDING_UPDATE
4. Allowed change certificate when edit listener

Change-Id: I9c754b78fbd19645e11659d06ec6b9ee85ec9714
2022-05-31 09:34:31 +08:00
Jingwei.Zhang
12adfbf380 refactor: update error handle in request
Make a separate function for request error reporting to better handle various error conditions

Change-Id: I08c44bd9af3258a3338902dcd49c78b954e06c49
2022-04-19 10:29:58 +08:00
xusongfu
f91454fdcb fix: Fix role list and monitor data and others
1. Fix the role list fetch in user manger and system role
2. Fix the state to get the right data of up and down
3. Add rest attribute for better extension functionality in select component
4. Fix create rule error

A recent git update broke our jobs, diskimage-builder was updated to fix

1. This issue but the grenade job doesn't use dib from master (our other
jobs do)
2. This commit ensure that our grenade job pulls dib from the git repo

Change-Id: I2de592a337e769d1604d72b117fd8a44d5777f58
2022-04-15 20:20:02 +08:00
xusongfu
981e653148 fix: Refresh data when database change in monitor
1. Refresh the node list when database change
2. Reset the current selected node when database change

Change-Id: Id12ebb729b44bd01893d20d2f2f91d7450fb3186
2022-03-29 09:27:14 +08:00
xusongfu
81c037de41 feat: Add tags to nova service and so on
1.Lists tags, creates, replaces tags for a server
2.Fix input autocomplete in Chrome browser
3.Fix some e2e test bugs

Change-Id: I6236da8670d36c88978317d34a50cde3974b83d9
2022-03-26 20:11:15 +08:00
xusongfu
7ac40b2650 fix: Support no-cinder
1. Update base client to support service disable
2. Remove volume in create instance if no-cinder
3. Remove cinder services in overview page if no-cinder
4. Remove some storage services if no-cinder
5. Remove volume in monitor centers if no-cinder

Change-Id: Ib6f8f3ed86098b4097b0428b48f0b136bf5ee349
Closes-Bug: #1939984
2022-03-25 12:57:28 +08:00
xusongfu
757047a1cb fix: Fix the encryption provider format
The encryption provider format is wrong, fix it to luks

Change-Id: I264640173e9fb07bf2a11cc8e29d2beeccf8ebae
2022-02-25 14:41:43 +08:00
Jingwei.Zhang
f81ac5651a fix: Fix word spell
1. Add eslint plugin spellcheck to check word spell
2. Fix word spell

Change-Id: I73d39cf797ef5bdf993b0154816134a1e93f2ed4
2022-01-18 11:25:58 +08:00
Jingwei.Zhang
7c44ee1c2a fix: Fix e2e i18n
Fix e2e i18n: fix zh.json path

Change-Id: If486e8e9fc19d20c86ef10729a7e04963664a05c
2021-12-10 10:54:17 +08:00
Jingwei.Zhang
be17f40d2c test: Fix flavor case
Merge set flavor families and check flavor tab case into one case, to avoid check tab failed after setting failed.

Change-Id: I0bceba62605ed0d97a4670c2532827f4950fd1a2
2021-12-07 12:13:28 +08:00
Jingwei.Zhang
0295af7bbf test: Add swift e2e
Add swift e2e:
1. create/delete container, update access
2. upload/edit/rename/delete/copy/paste/cut file
3. create/delete folder

Change-Id: Iced51cc04d672a85f6180dac7c96296bb9af316d
2021-12-06 14:27:08 +08:00
zhuyue
98cf22128f feat: Make phone number input international & change library related
1. make phone number input international
2. change phone number library to libphonenumber

Change-Id: I25bb8006646d8f54b5e4bd0f84f713823f45ec5f
2021-11-11 18:54:48 +08:00
Jingwei.Zhang
0caa31dd77 test: Fix waiting time after delete instance
1. Fix waiting time after delete instance
2. Todo: delete volume type created for volume case

Change-Id: I522507cacf72df7745db5451effdb5ecaf689b8c
2021-10-12 15:53:38 +08:00
Jingwei.Zhang
e42756e47e test: Fix instance attach interface && delete instance
1. Fix instance attach select network by name
2. Wait longer time for delete instance before delete volume type

Change-Id: I5fd33305204480cbe51a6741f57edf3abe58bb5e
2021-10-12 11:51:59 +08:00
Jingwei.Zhang
ddefcd7e6c test: Fix click select input in table
Fix click select input in table in form

Change-Id: Ia1f2f25e657c2786d1ad3b8e1f2067e41efd8ed8
2021-10-11 16:25:43 +08:00
Zuul
fcae54e1c7 Merge "fix: Change vpn tunnel to ipsec site connection" 2021-10-11 03:29:18 +00:00
zhuyue
fff9d8ee02 fix: Change vpn tunnel to ipsec site connection
change vpn tunnel to ipsec site connection

Change-Id: Ia59bc87d4e61879b063719c114a02133b7044805
2021-10-11 11:04:55 +08:00
Jingwei.Zhang
60ae7c6175 test: Fix click table select input force
Fix click table select input force

Change-Id: I979cd45ac5e807a8ff50a8b7dc2116c920345063
2021-10-09 17:49:32 +08:00
Jingwei.Zhang
700c208bc8 test: Update e2e case
1. Update flavor e2e order
2. Fix create shared image
3. Update waiting for attach volume finished
4. Add instance resize case
5. Update edit setting wait time
6. Update wait time for topologo page
7. Update waiting for volume attached finished

Change-Id: Idca457b794aedd6e414e1f5486fae8ef75ebeb1e
2021-10-09 13:22:39 +08:00
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
2021-10-01 00:09:49 +08:00
Jingwei.Zhang
69bae6f166 test: Update e2e test according to service enabled
1. Add extenstions in config.yaml to support skip e2e case when service is disabled
2. Support compute, storage, network, other(identity, heat, configuration) config files to runthe corresponding cases

Change-Id: I310f4481d083319221045708cf5b311d51802b8c
2021-09-30 13:51:29 +08:00
Jingwei.Zhang
e5d85114a2 test: Update instance e2e
1. Remove useless case: expand root volume
2. Update wait status text by fresh
3. Skip change password according to config
4. Todo: remove resize until support confirm/rollback resize

Change-Id: I28d044816949a5f6773e85f857817f40a193aed6
2021-09-29 18:04:18 +08:00
Zuul
e8bc10a511 Merge "test: Update image e2e case" 2021-09-29 04:33:31 +00:00
Jingwei.Zhang
505e31418e test: Update image e2e case
1. Add cypress download file
2. Create image by downloaded file

Change-Id: Id14ac0e360197f6cb52d39527dec977206f411f5
2021-09-29 11:12:50 +08:00
Jingwei.Zhang
513d2cb526 test: Update e2e case
1. Add setting case
2. Update ironic case: repaire flavor by ironic create
3. Update flavor case: remove given name by custom flavor
4. Update virutal adapater case: assocate fip in detail page

Change-Id: If5c23b6c69bf4fd19506d3b68e69a4a8ae0ac056
2021-09-28 15:50:29 +08:00
Jingwei.Zhang
c549b50538 fix: Update e2e
1. Update password value to fit value check
2. Remove cases in backup e2e: remove backup by volume which is used by instance
3. Update waittime for fip list page to ensure create form can be opened
4. Update image select when create instance
5. Add volume case:create backup and backup inc
6. Update force delete instance command

Change-Id: I45e4bba0b670171860d85e4e5cb402962a41becd
2021-09-28 11:36:20 +08:00
xusongfu
a5e03f36cb fix: Fix the user's real name field to real_name
For better readability, change the user's real name field to real_name

Change-Id: I509e854102f4e6f90f59b78dbe75953f5c17b4c1
2021-08-23 14:09:10 +08:00