[py][tests]: check for .txt file in remote download test#15758
[py][tests]: check for .txt file in remote download test#15758diemol merged 2 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
The |
|
@navin772 thanks for this PR.. this was much needed fix.. |
diemol
left a comment
There was a problem hiding this comment.
Thanks for the fix! I wonder why it started failing.
I'd love to see a review from @cgoldberg as well.
|
@diemol I think the |
cgoldberg
left a comment
There was a problem hiding this comment.
LGTM .. thanks for fixing this
User description
🔗 Related Issues
💥 What does this PR do?
Fixes the failing remote download tests in the CI
🔧 Implementation Notes
Currently the assertion doesn't checks if it is asserting against a txt file or the jpg file. This change asserts against the .txt file only which contains the
Hello, World!content.💡 Additional Considerations
🔄 Types of changes
PR Type
Tests
Description
Refines remote download test to target .txt files
Ensures test asserts only on .txt file content
Improves reliability of download file test
Changes walkthrough 📝
remote_downloads_tests.py
Update remote download test to target .txt filespy/test/selenium/webdriver/remote/remote_downloads_tests.py