Skip to content

Conversation

@DSingh0304
Copy link

@DSingh0304 DSingh0304 commented Nov 15, 2025

Why submit this pull request?

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What changes will this PR take into?

This PR adds comprehensive E2E test coverage for Stream Routes, which was previously missing from the test suite.

Changes:

  • Add stream_routes.crud-required-fields.spec.ts for minimal CRUD operations testing
  • Add stream_routes.crud-all-fields.spec.ts for extended CRUD with optional fields (server_addr, remote_addr, SNI, labels)
  • Add stream_routes.list.spec.ts for pagination testing
  • Create e2e/utils/ui/stream_routes.ts helper module for stream route form interactions
  • Update stream_routes POM with isIndexPage, isAddPage, isDetailPage assertions and navigation helpers

Test Flow:
All CRUD operations now use the detail page for edit/delete workflows instead of relying on non-existent list-page Edit buttons. Tests verify:

  • Creation automatically lands on detail page (read-only view)
  • Editing works via detail page Edit button
  • Deletion happens through detail page dialog with proper list verification
  • Pagination and list view functionality works correctly

Related issues

fix #3084

Checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

- Add stream_routes.crud-required-fields.spec.ts for minimal CRUD
- Add stream_routes.crud-all-fields.spec.ts for extended CRUD with optional fields
- Add stream_routes.list.spec.ts for pagination testing
- Create e2e/utils/ui/stream_routes.ts helper for form interactions
- Update stream_routes POM with isIndexPage, isAddPage, isDetailPage assertions

All CRUD operations now use detail page for edit/delete workflows instead of
relying on non-existent list-page Edit buttons. Tests verify creation lands on
detail page, editing works via detail toolbar, and deletion happens through
detail dialog with proper list verification.

Fixes apache#3085
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test(resource): stream routes

2 participants