You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/28 04:27:59 UTC
[GitHub] [apisix-dashboard] idbeta opened a new issue #614: proposal: UI autotest
idbeta opened a new issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614
# Background
Automated testing is very important to ensure quality. For apisix-dashboard, we need to add UI automated testing to CI.
# Plan
1. We plan to use xx automated testing framework, which is based on js and puppeteer.
2. We split the corresponding test cases according to different pages.
3. We will add an independent action integrated UI automated test in CI.
# Test cases
1. Login & Logout
- [ ] login: correct and incorrect password/username
- [ ] logout
2. Metrics
- [ ] page jump:
3. Route
- [ ] create: long description and name include common symbols
- [ ] edit:
- [ ] delete:
- [ ] search: full match, partial match, no match
- [ ] big data environment test: routes operation under more than 200 routes
4. SSL
- [ ] enter correct certificate and private key:
- [ ] enter unmatched certificate and private key:
- [ ] upload correct certificate and private key:
- [ ] upload unmatched certificate and private key:
5.Upstream
- [ ] create: long description and name include common symbols
- [ ] edit:
- [ ] delete:
- [ ] search: full match, partial match, no match
- [ ] big data environment test: routes operation under more than 200 upstream
6. Consumer
- [ ] create: not enable authentication plugin, create the same name consumer
- [ ] edit:
- [ ] delete:
7. Setting
- [ ] page jump:
- [ ] set grafana address:
@juzhiyuan @LiteSun
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] moonming commented on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
moonming commented on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-718389460
This proposal looks good to me.
If it is added to github actions, I suggest that each type of test use a separate action, so that it can be processed in parallel
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan edited a comment on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-718382945
3. Route
a. Please adjust those cases' order, it should be: create, get, put, search, delete, get
b. how to generate 200+ records? through Puppeteer or admin API?
4. SSL
a. update case
b. delete case
6. Consumer
a. it should have all cases like Upstream or Route(CRUD)
7. Setting
a. Just set an URL then refresh and check if they are the same.
8. Other
a. Don't need check plugin currently, because the JSONSchema will check if the data is correct, and it's too complicated to check UI currently.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] LiteSun commented on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
LiteSun commented on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-718369685
Any suggestions for this e2e test solution?
@liuxiran @bzp2010
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan commented on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-748745995
I will close this tracking issue, for there have a lot of detailed issues to track.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan commented on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-718382945
3. Route
a. Please adjust those cases' order, it should be: create, get, put, search, delete, get
b. how to generate 200+ records? through Puppeteer or admin API?
4. SSL
a. update case
b. delete case
6. Consumer
a. it should have all cases like Upstream or Route(CRUD)
7. Setting
a. Just set an URL then refresh and check if they are the same.
8. Other
a. Don't need check plugin currently, because the JSONSchema will check if the data is correct, and it's too complicated to check UI currently.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan commented on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-718372805
Just hold on, give us no longer than 3 days to check this issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] idbeta commented on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-720972963
> * b. how to generate 200+ records? through Puppeteer or admin API?
> *
I think it should generate by backend API, but we could lower its priority.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] idbeta edited a comment on issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614#issuecomment-720972963
> * b. how to generate 200+ records? through Puppeteer or admin API?
> *
I think it should generate by backend API, but we could lower its priority.
The primary goal should be to ensure that the workflow of the dashboard is correct under the general situation.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan closed issue #614: proposal: UI autotest
Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #614:
URL: https://github.com/apache/apisix-dashboard/issues/614
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org