-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature Description
We should have E2E tests for this external virtual workspace. E2E tests should cover the following cases:
- Creating FilteredAPIExportEndpointSlice and checking its status
- Ensuring it is possible to access the Virtual Workspace
- Basic operations with objects (create/update/edit/delete)
- Some forbidden operations (e.g. trying to create an object with the wrong label)
Proposed Solution
The test should start a kcp instance to be used for testing using a public release. We have such setup in the api-syncagent (e.g. https://github.com/kcp-dev/api-syncagent/blob/b0179347c7f275714ee9bbc49f46309ebb93dd6a/.prow.yaml#L91-L146).
We have similar tests for the APIExport Virtual Workspace in the core kcp. I believe those tests can be reused to the large extent with some modifications (mainly to handle creation of FilteredAPIExportEndpointSlices). Some examples can be found in https://github.com/kcp-dev/kcp/tree/main/test/e2e/virtual/apiexport
At this time, the test can use a single shard setup.
Alternative Solutions
No response
Want to contribute?
- I would like to work on this issue.
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels