Commit Graph

65 Commits

Author SHA1 Message Date
zhangjingwei
a28eedf973 feat: update login form
1. Change the domain option to input, requiring the user to enter <username>@<domain name>
2. update e2e case to support new login form

Change-Id: I55611abfc4d58278bddab24a958a1ec2de57e442
2024-07-12 09:53:46 +08:00
zhangjingwei
2d8d8a76d9 test: add firewall e2e
add e2e cases for firwall/firewall-policy/firewall-rule

Change-Id: I983b9ca2729ba8e762d67d42186a481b7224e18b
2024-05-09 10:57:27 +08:00
resitdemir
ff9191e02b Fix: Updating the constant in the Zun test.
Change-Id: I2280de59332ab76b93d2aa46ae0e6a959f36eda0
2024-04-26 08:36:57 +00:00
zhangjingwei
80e1d1275d feat: support non-root users to log in
Support vm password login for non-root users when creating vm/ironic

Change-Id: Iaf692e333686d2563013c0ea41777da8c772ce35
2024-03-25 15:49:12 +08:00
zhangjingwei
4edda72f53 fix: fix e2e table command
fix clickHeaderActionButtonInMoreByTitle command

Change-Id: I28f7cc9b8aa89af56d38a9515bd39a1f7027624d
2023-11-20 09:41:19 +08:00
zhangjingwei
91c5b7933b feat: udpate table header
1. update table header's buttons postion
2. update e2e command to adjust the change

Change-Id: I50379428eaad9ba3b4571987b2478e6f05d25caa
2023-11-17 17:22:35 +08:00
zhangjingwei
968e2cf577 feat: support user's default project
1. support set user's default project
2. display user's default project in the user list page/user detail page
3. support remove user's default project
4. update user e2e to adapt default project column

Change-Id: I4664429c0c01d195bed3701087e92776b068c69d
2023-11-17 09:09:59 +08:00
zhangjingwei
e25560d3a6 fix: fix instance stop e2e case
Fix the stop e2e case of the instance, which always gets a failed result.

Change-Id: I04be0a63157d6fb7493062e872170db17ff5043f
2023-10-31 11:25:47 +08:00
zhangjingwei
521b965a23 fix: remove volume create image case
remove the volume create image e2e case, the case remains in the uploading status, causing subsequent e2e cases to fail

Change-Id: I5e2333fa84a7bc988c8efc80c7f48511cb988e5e
2023-10-26 08:58:13 +08:00
xusongfu
ec21bd17ab fix: show project id and filter data by it
Show project id and filter data by it when create nework,subnet,fip,qos in management platform

Closes-Bug: #2037275
Change-Id: I4e12b423be7662ba83f8efbf55e1b6aa0e31105d
2023-09-26 17:59:58 +08:00
Jingwei.Zhang
e1893756d6 fix: remove reboot e2e case
remove reboot and soft reboot e2e cases, for the devstack reboot instance always get error instance

Change-Id: I046cb196688c245cd7a3a4071e9bf2905c923ad3
2023-09-04 14:22:57 +08:00
Jingwei.Zhang
be82085d0f fix: remove useless config in e2e config
remove useless config in e2e config file

Change-Id: I5290ad119f7c535b3e8068a51f97bedda8198336
2023-07-14 11:13:15 +08:00
Jingwei.Zhang
b0101e8a6f fix: fix cirros version in e2e config
Remove cirros version in the e2e config file, the cirros version relies on the devstack, when devstack changes the default cirros version, the e2e will be failed. The image select table which is used to create instance support fuzzy search image name, use cirros will be ok.

Change-Id: I4d9446313dca44040522356ca7551884332434ce
2023-07-13 16:41:28 +08:00
Jingwei.Zhang
d07227822f feat: add jwt expire check
1. Check jwt expire by the time_expired value in the cookie, if current time is bigger than the time_expired value, the request's header will not has the X-Auth-Token, then the skyline-api will return 401.
2. update cypress command to use time_expired cookie

Change-Id: I4a33649d3dbf630e36bcdee71462b4796e17f714
2023-06-15 10:44:27 +08:00
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