Skip to content

Conversation

@DSingh0304
Copy link

What this PR does / why we need it:

Implements comprehensive E2E tests for the Plugin Metadata resource as requested in issue #3089.

Which issue(s) this PR fixes:

Closes #3089

Test checklist:

  • Can navigate to the list (index) page and display the relevant fields
  • Search functionality works normally
  • CRUD operations with required fields only work correctly
  • CRUD operations with all available fields work correctly

Test results:

All 4 tests passing:

  • plugin_metadata.list.spec.ts - 2 tests (navigation, search)
  • plugin_metadata.crud-required-fields.spec.ts - 1 test (simple metadata)
  • plugin_metadata.crud-all-fields.spec.ts - 1 test (comprehensive metadata)

Files added:

  • e2e/pom/plugin_metadata.ts - Page Object Model
  • e2e/tests/plugin_metadata.list.spec.ts
  • e2e/tests/plugin_metadata.crud-required-fields.spec.ts
  • e2e/tests/plugin_metadata.crud-all-fields.spec.ts

- Add POM (Page Object Model) for plugin metadata pages
- Implement list page tests for navigation and search functionality
- Implement CRUD tests with required fields only (simple metadata)
- Implement CRUD tests with all fields (comprehensive metadata)
- Tests verify add, edit, and delete operations
- All 4 tests passing

Closes apache#3089
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): plugin metadata

1 participant