Skip to content

LG-8553: Don't submit without nickname for security keys#7867

Merged
mdiarra3 merged 8 commits intomainfrom
LG-8553-dont-submit-with-nickname-blank
Mar 2, 2023
Merged

LG-8553: Don't submit without nickname for security keys#7867
mdiarra3 merged 8 commits intomainfrom
LG-8553-dont-submit-with-nickname-blank

Conversation

@mdiarra3
Copy link
Contributor

🎫 Ticket

LG-8553

👀 Screenshots

Screen Shot 2023-02-22 at 10 09 29 AM

@mdiarra3 mdiarra3 requested a review from a team February 22, 2023 15:13
Copy link
Contributor

@jmdembe jmdembe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏾

@mdiarra3 mdiarra3 marked this pull request as ready for review February 24, 2023 21:24
button = first('#continue-button')
if javascript_enabled?
button.execute_script('this.click()')
page.evaluate_script('document.querySelector("form").submit()')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we have to skip over the browser prompt, to properly bypass that we need to just submit the form via javascript instead of through the UI when javascript is enabled.

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mdiarra3 mdiarra3 merged commit ce5387a into main Mar 2, 2023
@mdiarra3 mdiarra3 deleted the LG-8553-dont-submit-with-nickname-blank branch March 2, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants