-
Notifications
You must be signed in to change notification settings - Fork 561
Open
Labels
Description
Objective
resource
refers to the page corresponding to the resources provided by the APISIX Admin API.
For the testing of these resource pages, it is necessary to ensure that the relevant resources can be CRUDed normally.
Steps
Here are just some of the most basic test steps that MUST be covered, and you are welcome to add more precise and comprehensive test steps.
As of the creation of this issue, please make sure to be divided into at least the following files:
*.list.spec.ts
-
Can navigate to the list (index) page and display the relevant fields in the list normally.
-
page
,page_size
and other filtering methods all work normally
*.crud-required-fields.spec.ts
Only CRUD required fields.
*.crud-all-fields.spec.ts
CRUD all fields.
Reference resources
Note
- Please refer to the latest test files with similar names to understand what you need to do.
- If you encounter problems with the pages or components during testing, separate one or more PRs that fix these issues.
- If you need to modify content that affects other tests, such as
e2e/server
, please make sure you provide sufficient instructions or initiate a discussion. - Existing tests are not the best way to write them, and better test steps or methods are welcome.