Testing environment: tips & tricks - kamilmadejek/kpt-backstage-plugins GitHub Wiki

Nephio Web UI testing enviroment can be used for testing of resource viewing and editing.

Problem: relevant package/resource does not exist in mgmt-staging repository.

Solution 1: Package cloning

Go to External blueprints repository where relevant package/resource is present. Go to the package page and click Clone button in the page's header. Click through the cloning process, select Team blueprints > mgmt-staging repository as a target.

If the process completes successfully, you should see new package in draft revision inside mgmt-staging repository.

Solution 2: Edit mode hack

If you do not want to clone the package or the cloning fails, you can trigger edit mode for a package from within External blueprints. Go to the package page and add /edit to the URL in the address bar of the browser. Package page will be opened in a faux edit mode, where you can test editors but will be unable to save any changes.