-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[java] Fix FedCM command definition #14070
base: trunk
Are you sure you want to change the base?
Conversation
This lets us re-enable the FedCM tests, which this change does we well. In addition, newer versions of Chrome look for a "login_url" field instead of "signin_url", so this updates the fedcm.json file accordingly. This test failure was pointed out here: SeleniumHQ#12096 (comment)
PR Review 🔍
|
PR Code Suggestions ✨
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the tests are failing in Windows for being too long, and I think we're skipping them in our RBE. Can you check if we need to remove them from the skip test file in root?
@titusfortner while I couldn't follow your comment (if they fail on Windows shouldn't they be in the skipped tests file?), I have pushed an update that removes the test from there |
RBE runs on Linux, so I want to see if they pass. As for the Windows failures, if these are the affected tests it's an issue of a bazel failure not a JUnit failure. Let's see what the test results show. |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
In commit 7ad44ee the session ID prefix was removed from the FedCM commands.
This change restores it.
This lets us re-enable the FedCM tests, which this change does as well.
Motivation and Context
This test failure was pointed out here:
#12096 (comment)
Types of changes
Checklist
PR Type
Bug fix, Tests
Description
AbstractHttpCommandCodec.java
.@NotYetImplemented
annotation inFederatedCredentialManagementTest.java
.login_url
field infedcm.json
.Changes walkthrough 📝
AbstractHttpCommandCodec.java
Restore session ID prefix in FedCM command definitions.
java/src/org/openqa/selenium/remote/codec/AbstractHttpCommandCodec.java
fedcm.json
Update FedCM configuration to include `login_url`.
common/src/web/fedcm/fedcm.json
login_url
field to FedCM configuration.FederatedCredentialManagementTest.java
Re-enable FedCM tests by removing `@NotYetImplemented` annotation.
java/test/org/openqa/selenium/federatedcredentialmanagement/FederatedCredentialManagementTest.java
@NotYetImplemented
annotation from FedCM tests.testDismissDialog
andtestSelectAccount
tests.