-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
testIssues related to tests, test coverage, or test infrastructureIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLITest case related to the CLI
Description
Description
Verifies that the bundle validation step correctly rejects a malformed or incomplete bundle before uploading it to the server, and that the existing active bundle is not affected.
Steps
- Ensure you are logged in as an admin user: run
synk login - Prepare an invalid bundle ZIP and deliberately remove
index.htmlor theforms/directory from an otherwise valid bundle - Run
synk app-bundle versionsand note the current version list - Run
synk app-bundle upload invalid.zip - Read the validation output carefully
- Run
synk app-bundle versionsagain after the command completes - Verify the version list is unchanged from step 3
Expected Result
Validation fails before any upload occurs. The error message is specific and names exactly what is missing or invalid (e.g. "Missing required file: index.html"). The bundle is NOT uploaded - the version list is identical before and after. The command exits with a non-zero exit code.
Actual Result
(To be filled during testing)
Priority
High
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testIssues related to tests, test coverage, or test infrastructureIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLITest case related to the CLI