-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py][bidi]: enable download event tests for firefox #16587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[py][bidi]: enable download event tests for firefox #16587
Conversation
PR Compliance Guide 🔍(Compliance updated until commit 5ca7c96)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit 56e98cd
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
🔗 Related Issues
💥 What does this PR do?
Enables
test_add_event_handler_download_endandtest_add_event_handler_download_will_begintests for Firefox.From Firefox 145, these events are supported.
Also, makes the assertion generalized in case of existing downloads.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Tests
Description
Remove xfail markers for Firefox download event tests
Generalize filename assertion to handle existing downloads
Support Firefox 145+ download event functionality
Diagram Walkthrough
File Walkthrough
bidi_browsing_context_tests.py
Enable Firefox download event tests with generalized assertionspy/test/selenium/webdriver/common/bidi_browsing_context_tests.py
@pytest.mark.xfail_firefoxdecorator fromtest_add_event_handler_download_will_begintest@pytest.mark.xfail_firefoxdecorator fromtest_add_event_handler_download_endtestequality