Skip to content

proposal: UI autotest #614

Description

@idbeta

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 the e2e test solution recommended by antd, which is base on Jest 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
  1. Metrics
  • page jump:
  1. Route
  • create: long description and name include common symbols
  • edit:
  • delete:
  • search: full match, partial match, no match
  • big data environment test: route operation under more than 200 routes
  1. 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: upstream operation under more than 200 upstreams
  1. Consumer
  • create: not enable authentication plugin, create the same name consumer
  • edit:
  • delete:
  1. Setting
  • page jump:
  • set grafana address:

related issue #44
@juzhiyuan @LiteSun

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions