-
Notifications
You must be signed in to change notification settings - Fork 72
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
Change confirm IDP login webdriver command to click dialog button #510
Conversation
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.
Hmm as far as I can tell, the error API is not part of the spec yet. As such, we should probably not reference the error API-specific codes yet here (for example, [=error dialog=] does not go anywhere -- did you get a warning about that when you ran make
?)
Can we split the error API parts into a different PR? and land those when the error API is part of the spec? It's a bit difficult to describe ErrorGotIt and ErrorMoreDetails without referencing them. Also the error codes refer to https://w3c.github.io/webdriver/#dfn-error-code. (Nope no warning on make but [=error dialog=] shows up as regular text without a hyperlink on the index.html) |
Sorry yes, that's what I meant -- remove those parts from this PR and land them together with or after the general error API PR. (I shouldn't have said "codes", I meant ErrorGotIt and ErrorMoreDetails, but I think we're on the same page) Weird that the [=error dialog=] thing did not show a warning but I think it's best to remove that for now. |
I've made the changes, thanks Christian! |
Requesting Mozilla to take a look @bvandersloot-mozilla @martinthomson @cboozar. |
ConfirmIdpLogin is a webdriver command to click on the "Continue" button on the FedCM mismatch dialog. To make it more extensible to other buttons on the FedCM dialog, this patch 1. Renames ConfirmIdpLogin into ClickDialogButton 2. Passes DialogButton as a parameter to ClickDialogButton In a follow-up patch, we will add support for buttons on the FedCM error dialog. Spec PR w3c-fedid/FedCM#510 WPT PR web-platform-tests/wpt#43002 Bug: 1499341 Change-Id: Iba12a1581dbe4236525a7d84b5f7ce11b95711f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003255 Reviewed-by: Christian Biesinger <[email protected]> Reviewed-by: Ken Buchanan <[email protected]> Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Dmitry Gozman <[email protected]> Reviewed-by: David Trainor <[email protected]> Cr-Commit-Position: refs/heads/main@{#1221852}
ConfirmIdpLogin is a webdriver command to click on the "Continue" button on the FedCM mismatch dialog. To make it more extensible to other buttons on the FedCM dialog, this patch 1. Renames ConfirmIdpLogin into ClickDialogButton 2. Passes DialogButton as a parameter to ClickDialogButton In a follow-up patch, we will add support for buttons on the FedCM error dialog. Spec PR w3c-fedid/FedCM#510 WPT PR web-platform-tests/wpt#43002 Bug: 1499341 Change-Id: Iba12a1581dbe4236525a7d84b5f7ce11b95711f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003255 Reviewed-by: Christian Biesinger <[email protected]> Reviewed-by: Ken Buchanan <[email protected]> Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Dmitry Gozman <[email protected]> Reviewed-by: David Trainor <[email protected]> Cr-Commit-Position: refs/heads/main@{#1221852}
This seems reasonable to me! |
This patch makes the error dialog clickable in WPT tests through the ClickFedCmDialogButton webdriver command. Spec PR w3c-fedid/FedCM#510 WPT PR web-platform-tests/wpt#43002 Validate-Test-Flakiness: skip Bug: 1499341 Change-Id: If9289e2ba6b6acb300cc50da74870adc0a3ab612 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5018218 Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Vladimir Nechaev <[email protected]> Reviewed-by: Christian Biesinger <[email protected]> Reviewed-by: danakj <[email protected]> Cr-Commit-Position: refs/heads/main@{#1230449}
This patch makes the error dialog clickable in WPT tests through the ClickFedCmDialogButton webdriver command. Spec PR w3c-fedid/FedCM#510 WPT PR web-platform-tests/wpt#43002 Validate-Test-Flakiness: skip Bug: 1499341 Change-Id: If9289e2ba6b6acb300cc50da74870adc0a3ab612 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5018218 Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Vladimir Nechaev <[email protected]> Reviewed-by: Christian Biesinger <[email protected]> Reviewed-by: danakj <[email protected]> Cr-Commit-Position: refs/heads/main@{#1230449}
SHA: 75a6d4a Reason: push, by npm1 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…c-fedid#510) SHA: 75a6d4a Reason: push, by pull[bot] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Approved spec PR w3c-fedid/FedCM#510 Bug: 1499341 Change-Id: Ie5287e999f5ae45bb91a296754f18a68f64522e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5092527 Reviewed-by: Vladimir Nechaev <[email protected]> Reviewed-by: Christian Biesinger <[email protected]> Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Mathias Bynens <[email protected]> Cr-Commit-Position: refs/heads/main@{#1233995}
Approved spec PR w3c-fedid/FedCM#510 Bug: 1499341 Change-Id: Ie5287e999f5ae45bb91a296754f18a68f64522e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5092527 Reviewed-by: Vladimir Nechaev <[email protected]> Reviewed-by: Christian Biesinger <[email protected]> Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Mathias Bynens <[email protected]> Cr-Commit-Position: refs/heads/main@{#1233995}
Approved spec PR w3c-fedid/FedCM#510 (cherry picked from commit 11feba4) Bug: 1499341 Change-Id: Ie5287e999f5ae45bb91a296754f18a68f64522e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5092527 Reviewed-by: Vladimir Nechaev <[email protected]> Reviewed-by: Christian Biesinger <[email protected]> Commit-Queue: Zachary Tan <[email protected]> Reviewed-by: Mathias Bynens <[email protected]> Cr-Original-Commit-Position: refs/heads/main@{#1233995} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5102371 Auto-Submit: Zachary Tan <[email protected]> Cr-Commit-Position: refs/branch-heads/6167@{#105} Cr-Branched-From: 222e786-refs/heads/main@{#1233107}
Updating the spec to repurpose confirm IDP login into click dialog button. Please take a close look, this is my first edit to the spec.
Preview | Diff