DSingh0304 opened a new pull request, #3249:
URL: https://github.com/apache/apisix-dashboard/pull/3249

   **Why submit this pull request?**
   
   - [x] New feature provided
   
   **What changes will this PR take into?**
   
   This PR adds comprehensive E2E tests for the SSL resource, covering CRUD 
operations, list page functionality, and pagination.
   
   ### Changes included:
   
   1. **e2e/tests/ssls.crud-required-fields.spec.ts** - Tests SSL CRUD 
operations with required fields only (cert, key, snis)
   2. **e2e/tests/ssls.crud-all-fields.spec.ts** - Tests SSL CRUD operations 
with all available fields (status, ssl_protocols, labels)
   3. **e2e/tests/ssls.list.spec.ts** - Tests SSL list page navigation and 
pagination functionality
   
   ### Test Coverage:
   - ✅ SSL creation with required and optional fields
   - ✅ SSL detail page navigation and field verification
   - ✅ SSL edit mode (enter/cancel)
   - ✅ SSL deletion
   - ✅ List page pagination (table switching and URL params)
   - ✅ All 6 tests passing
   
   ### Implementation Notes:
   - Tests follow existing patterns from routes and upstreams E2E tests
   - Use Page Object Model (POM) with sslsPom from e2e/pom/ssls.ts
   - Utilize helper functions: uiFillSSLRequiredFields(), uiCheckLabels(), 
genTLS()
   - Tests should be run with --workers=1 to avoid parallel execution conflicts 
(similar to other resource tests)
   
   **Related issues**
   
   resolve #3087
   
   **Checklist:**
   
   - [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   - [x] Have you added corresponding test cases?
   - [ ] Have you modified the corresponding document?
   - [x] Is this PR backward compatible? If it is not backward compatible, 
please discuss on the mailing list first


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to