Add test coverage for webp upload and preview functionality#10739
Add test coverage for webp upload and preview functionality#10739stnguyen90 merged 7 commits intofix-webp-libraryfrom
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Note Free review on us!CodeRabbit is offering free reviews until Thu Nov 06 2025 to showcase some of the refinements we've made. Comment |
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
tests/resources/logo.webp
Outdated
| /** | ||
| * @depends testCreateBucketFile | ||
| */ | ||
| public function testUploadWebpImage(): array |
There was a problem hiding this comment.
@copilot Rename this to testFilePreview and move it right after testCreateBucketFile
There was a problem hiding this comment.
Renamed to testFilePreview and simplified in commit d1511d5. The function now depends on testCreateBucketFile and tests previewing PNG as webp output format.
Co-authored-by: stnguyen90 <[email protected]>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
✨ Benchmark results
⚡ Benchmark Comparison
|
stnguyen90
left a comment
There was a problem hiding this comment.
@copilot investigate why the tests are failing and fix them.
Co-authored-by: stnguyen90 <[email protected]>
The tests were failing because adding the webp file upload to testCreateBucketFile increased the file count in the bucket from 1 to 2. The test at line 451 was asserting that Fixed in commit df8fb23 by updating the assertion to expect 1 file instead of 0. |
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Since you cant download the right file, use any simple webp |
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
|
Parent PR: |
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.